Advertisement
Guest User

Untitled

a guest
Apr 8th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.85 KB | None | 0 0
  1. Documenting the build of an Ethereum dev vm. First attempt.
  2.  
  3. Virtualbox:
  4. 32 bit, 4 cpus, 4096 MB ram, 128 MB video memory, 42 GB disk dynamic
  5.  
  6. Kubuntu 32 bit:
  7. DISTRIB_ID=Ubuntu
  8. DISTRIB_RELEASE=13.10
  9. DISTRIB_CODENAME=saucy
  10. DISTRIB_DESCRIPTION="Ubuntu 13.10"
  11.  
  12.  
  13. Install Go verison manager:
  14. $ sudo apt-get install curl
  15. $ sudo apt-get install git
  16. $ sudo apt-get install mercurial
  17. $ sudo apt-get install make
  18. $ sudo apt-get install binutils
  19. $ sudo apt-get install bison
  20. $ sudo apt-get install gcc
  21. $ sudo apt-get install build-essential
  22. $ bash < <(curl -s https://raw.github.com/moovweb/gvm/master/binscripts/gvm-installer)
  23. $ gvm install go1.2
  24. $ gvm use go1.2
  25.  
  26.  
  27. Install go-ethereum following wiki instructions + Qt:
  28. $ sudo apt-get install libgmp3-dev
  29.  
  30. $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
  31. $ sudo apt-get update
  32. $ sudo apt-get install ubuntu-sdk qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev
  33.  
  34.  
  35. Checking Go variables:
  36. $ echo $GOROOT
  37. /home/jm/.gvm/gos/go1.2
  38. $ echo $PATH
  39. /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
  40. (/home/jm/.gvm/gos/go1.2/bin should be where installed binaries end up)
  41.  
  42. Build and run Ethereum:
  43. $ go get -u github.com/ethereum/go-ethereum/ethereum
  44. Success! Ethereum runs and mines from ~ with:
  45. $ ethereum -m
  46.  
  47. ----------------------------------------- PART 2 ------------------------------------------------
  48.  
  49. Build and run Ethereal:
  50. $ go install && ethereal
  51. 2014/04/08 13:58:52 [CHAIN] Last known block height #1
  52. 2014/04/08 13:58:52 Last block: ab6b9a5613970faa771b12d449b2e9bb925ab7a369f0a4b86b286e9d540099cf
  53. 2014/04/08 13:58:52 Starting Ethereum GUI v0.3.1
  54. 2
  55. 2014/04/08 13:58:52 [GUI] Starting GUI
  56. 2
  57. 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'
  58. 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
  59.  
  60. goroutine 1 [running]:
  61. runtime.panic(0x833c920, 0x94bea0c8)
  62. /home/jm/.gvm/gos/go1.2/src/pkg/runtime/panic.c:266 +0x9a
  63. github.com/ethereum/go-ethereum/ethereal/ui.(*Gui).Start(0x942dcb40, 0x8381328, 0x0)
  64. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ui/gui.go:100 +0x3d7
  65. main.main()
  66. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ethereum.go:109 +0x558
  67. $ go install && ethereal
  68. 2014/04/08 13:58:52 [CHAIN] Last known block height #1
  69. 2014/04/08 13:58:52 Last block: ab6b9a5613970faa771b12d449b2e9bb925ab7a369f0a4b86b286e9d540099cf
  70. 2014/04/08 13:58:52 Starting Ethereum GUI v0.3.1
  71. 2
  72. 2014/04/08 13:58:52 [GUI] Starting GUI
  73. 2
  74. 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'
  75. 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
  76.  
  77. goroutine 1 [running]:
  78. runtime.panic(0x833c920, 0x94bea0c8)
  79. /home/jm/.gvm/gos/go1.2/src/pkg/runtime/panic.c:266 +0x9a
  80. github.com/ethereum/go-ethereum/ethereal/ui.(*Gui).Start(0x942dcb40, 0x8381328, 0x0)
  81. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ui/gui.go:100 +0x3d7
  82. main.main()
  83. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal/ethereum.go:109 +0x558
  84.  
  85. goroutine 3 [syscall]:
  86. os/signal.loop()
  87. /home/jm/.gvm/gos/go1.2/src/pkg/os/signal/signal_unix.go:21 +0x1e
  88. created by os/signal.init·1
  89. /home/jm/.gvm/gos/go1.2/src/pkg/os/signal/signal_unix.go:27 +0x31
  90.  
  91. goroutine 4 [syscall]:
  92. runtime.goexit()
  93. /home/jm/.gvm/gos/go1.2/src/pkg/runtime/proc.c:1394
  94.  
  95. goroutine 5 [syscall]:
  96. github.com/niemeyer/qml._Cfunc_applicationExec(0x870c680)
  97. github.com/niemeyer/qml/_obj/_cgo_defun.c:57 +0x31
  98. github.com/niemeyer/qml.guiLoop()
  99. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/niemeyer/qml/bridge.go:33 +0x52
  100. created by github.com/niemeyer/qml.Init
  101. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/niemeyer/qml/qml.go:44 +0x8a
  102.  
  103. goroutine 6 [select]:
  104. github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0x94292c40)
  105. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:115 +0x18c
  106. created by github.com/syndtr/goleveldb/leveldb.openDB
  107. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db.go:114 +0x38b
  108.  
  109. goroutine 7 [select]:
  110. github.com/syndtr/goleveldb/leveldb.(*DB).compaction(0x94292c40)
  111. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:437 +0x571
  112. created by github.com/syndtr/goleveldb/leveldb.openDB
  113. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db.go:117 +0x3c5
  114.  
  115. goroutine 8 [select]:
  116. github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0x94292c40)
  117. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db_write.go:36 +0x10e
  118. created by github.com/syndtr/goleveldb/leveldb.openDB
  119. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/syndtr/goleveldb/leveldb/db.go:118 +0x3da
  120.  
  121. goroutine 9 [select]:
  122. github.com/ethereum/eth-go/ethchain.(*TxPool).queueHandler(0x942dc1e0)
  123. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:175 +0x20b
  124. created by github.com/ethereum/eth-go/ethchain.(*TxPool).Start
  125. /home/jm/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/eth-go/ethchain/transaction_pool.go:232 +0x2f
  126. jm@block32:~/.gvm/pkgsets/go1.2/global/src/github.com/ethereum/go-ethereum/ethereal$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement