Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Documenting the build of an Ethereum dev vm. First attempt.
- Virtualbox:
- 32 bit, 4 cpus, 4096 MB ram, 128 MB video memory, 42 GB disk dynamic
- Kubuntu 32 bit:
- DISTRIB_ID=Ubuntu
- DISTRIB_RELEASE=13.10
- DISTRIB_CODENAME=saucy
- DISTRIB_DESCRIPTION="Ubuntu 13.10"
- Install Go verison manager:
- $ sudo apt-get install curl
- $ sudo apt-get install git
- $ sudo apt-get install mercurial
- $ sudo apt-get install make
- $ sudo apt-get install binutils
- $ sudo apt-get install bison
- $ sudo apt-get install gcc
- $ sudo apt-get install build-essential
- $ bash < <(curl -s https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer)
- $ gvm install go1.2
- $ gvm use go1.2
- Install go-ethereum following wiki instructions + Qt:
- $ sudo apt-get install libgmp3-dev
- $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
- $ sudo apt-get update
- $ sudo apt-get install ubuntu-sdk qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev
- Checking Go variables:
- $ echo $GOROOT
- /home/jm/.gvm/gos/go1.2
- $ echo $PATH
- /home/jm/.gvm/pkgsets/go1.2/global/bin:/home/jm/.gvm/gos/go1.2/bin:/home/jm/.gvm/pkgsets/go1.2/global/overlay/bin:/home/jm/.gvm/bin:/home/jm/.gvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
- (/home/jm/.gvm/gos/go1.2/bin should be where installed binaries end up)
- Build and run Ethereum:
- $ go get -u github.com/ethereum/go-ethereum/ethereum
- Success! Ethereum runs and mines from ~ with:
- $ ethereum -m
- ----------------------------------------- PART 2 ------------------------------------------------
- Build and run Ethereal:
- $ go install && ethereal
- 2014/04/08 13:58:52 [CHAIN] Last known block height #1
- 2014/04/08 13:58:52 Last block: ab6b9a5613970faa771b12d449b2e9bb925ab7a369f0a4b86b286e9d540099cf
- 2014/04/08 13:58:52 Starting Ethereum GUI v0.3.1
- 2
- 2014/04/08 13:58:52 [GUI] Starting GUI
- 2
- 2014/04/08 13:58:52 FATAL: asset not found: you can set an alternative asset path on on the command line using option 'asset_path'
- panic: file:////home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/assets/qml/wallet.qml:5 module "QtQuick.Window" version 2.1 is not installed
- goroutine 1 [running]:
- runtime.panic(0x833c920, 0x94bea0c8)
- /home/jm/.gvm/gos/go1.2/src/pkg/runtime/panic.c:266 +0x9a
- github.com/ethereum/go-ethereum/ethereal/ui.(*Gui).Start(0x942dcb40, 0x8381328, 0x0)
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ui/gui.go:100 +0x3d7
- main.main()
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ethereum.go:109 +0x558
- $ go install && ethereal
- 2014/04/08 13:58:52 [CHAIN] Last known block height #1
- 2014/04/08 13:58:52 Last block: ab6b9a5613970faa771b12d449b2e9bb925ab7a369f0a4b86b286e9d540099cf
- 2014/04/08 13:58:52 Starting Ethereum GUI v0.3.1
- 2
- 2014/04/08 13:58:52 [GUI] Starting GUI
- 2
- 2014/04/08 13:58:52 FATAL: asset not found: you can set an alternative asset path on on the command line using option 'asset_path'
- panic: file:////home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/assets/qml/wallet.qml:5 module "QtQuick.Window" version 2.1 is not installed
- goroutine 1 [running]:
- runtime.panic(0x833c920, 0x94bea0c8)
- /home/jm/.gvm/gos/go1.2/src/pkg/runtime/panic.c:266 +0x9a
- github.com/ethereum/go-ethereum/ethereal/ui.(*Gui).Start(0x942dcb40, 0x8381328, 0x0)
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ui/gui.go:100 +0x3d7
- main.main()
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ethereum.go:109 +0x558
- goroutine 3 [syscall]:
- os/signal.loop()
- /home/jm/.gvm/gos/go1.2/src/pkg/os/signal/signal_unix.go:21 +0x1e
- created by os/signal.init·1
- /home/jm/.gvm/gos/go1.2/src/pkg/os/signal/signal_unix.go:27 +0x31
- goroutine 4 [syscall]:
- runtime.goexit()
- /home/jm/.gvm/gos/go1.2/src/pkg/runtime/proc.c:1394
- goroutine 5 [syscall]:
- github.com/niemeyer/qml._Cfunc_applicationExec(0x870c680)
- github.com/niemeyer/qml/_obj/_cgo_defun.c:57 +0x31
- github.com/niemeyer/qml.guiLoop()
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/niemeyer/qml/bridge.go:33 +0x52
- created by github.com/niemeyer/qml.Init
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/niemeyer/qml/qml.go:44 +0x8a
- goroutine 6 [select]:
- github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x94292c40)
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:115 +0x18c
- created by github.com/syndtr/goleveldb/leveldb.openDB
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db.go:114 +0x38b
- goroutine 7 [select]:
- github.com/syndtr/goleveldb/leveldb.(*DB).compaction(0x94292c40)
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:437 +0x571
- created by github.com/syndtr/goleveldb/leveldb.openDB
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db.go:117 +0x3c5
- goroutine 8 [select]:
- github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0x94292c40)
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db_write.go:36 +0x10e
- created by github.com/syndtr/goleveldb/leveldb.openDB
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db.go:118 +0x3da
- goroutine 9 [select]:
- github.com/ethereum/eth-go/ethchain.(*TxPool).queueHandler(0x942dc1e0)
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:175 +0x20b
- created by github.com/ethereum/eth-go/ethchain.(*TxPool).Start
- /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:232 +0x2f
- jm@block32:~/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement