The version of gcc you use does not support C++11.
Try clang or build an earlier version, like 0.92. You can pull the tag v0.92.3 and build that.
Ok, I tried building 0.92.3 and it worked flawlessly. I was able to create a new wallet without problems.
So I decided to take it a step further. Since this is Ubuntu 12.04, I do indeed have an old gcc version, so I
upgraded it to gcc 4.8 (which has C++11 support) and was successfully able to build Armory 0.93.2. However, it crashes at the exact same point that the offline bundle version does:
$ python ArmoryQt.py --offline --debug
Traceback (most recent call last):
File "update_version.py", line 14, in
f = open(hash_loc, "r")
IOError: [Errno 2] No such file or directory: '.git/3cb2a80c7cd461ac26bf34f240a3b60e367'
(INFO) ArmoryUtils.py:1076 - C++ block utilities loaded successfully
(INFO) ArmoryUtils.py:600 - Executing popen: free -m
(INFO) ArmoryUtils.py:600 - Executing popen: ['cat', '/proc/cpuinfo']
(INFO) ArmoryUtils.py:1186 -
(INFO) ArmoryUtils.py:1187 -
(INFO) ArmoryUtils.py:1188 -
(INFO) ArmoryUtils.py:1189 - ************************************************************
(INFO) ArmoryUtils.py:1190 - Invoked: ArmoryQt.py --offline --debug
(INFO) ArmoryUtils.py:1191 - ************************************************************
(INFO) ArmoryUtils.py:1192 - Loading Armory Engine:
(INFO) ArmoryUtils.py:1193 - Armory Version : 0.93.2
(INFO) ArmoryUtils.py:1194 - Armory Build: : None
(INFO) ArmoryUtils.py:1195 - PyBtcWallet Version : 1.35
(INFO) ArmoryUtils.py:1196 - Detected Operating system: Linux
(INFO) ArmoryUtils.py:1197 - OS Variant : Ubuntu-12.04-precise
(INFO) ArmoryUtils.py:1198 - User home-directory : /home/thomas
(INFO) ArmoryUtils.py:1199 - Satoshi BTC directory : /home/thomas/.bitcoin/
(INFO) ArmoryUtils.py:1200 - Armory home dir : /home/thomas/.armory/
(INFO) ArmoryUtils.py:1201 - Detected System Specs :
(INFO) ArmoryUtils.py:1202 - Total Available RAM : 0.48 GB
(INFO) ArmoryUtils.py:1203 - CPU ID string : Intel(R) Pentium(R) M processor 1.86GHz
(INFO) ArmoryUtils.py:1204 - Number of CPU cores : 1 cores
(INFO) ArmoryUtils.py:1205 - System is 64-bit : False
(INFO) ArmoryUtils.py:1206 - Preferred Encoding : UTF-8
(INFO) ArmoryUtils.py:1207 - Machine Arch : i686
(INFO) ArmoryUtils.py:1208 - Available HDD (ARM) : 44 GB
(INFO) ArmoryUtils.py:1209 - Available HDD (BTC) : 44 GB
(INFO) ArmoryUtils.py:1210 -
(INFO) ArmoryUtils.py:1211 - Network Name: Main Network
(INFO) ArmoryUtils.py:1212 - Satoshi Port: 8333
(INFO) ArmoryUtils.py:1213 - Do wlt check: True
(INFO) ArmoryUtils.py:1214 - Named options/arguments to armoryengine.py:
(INFO) ArmoryUtils.py:1216 - nettimeout : 2
(INFO) ArmoryUtils.py:1216 - rescan : False
(INFO) ArmoryUtils.py:1216 - ignoreAllZC : False
(INFO) ArmoryUtils.py:1216 - enableSupernode : False
(INFO) ArmoryUtils.py:1216 - disableModules : False
(INFO) ArmoryUtils.py:1216 - port : None
(INFO) ArmoryUtils.py:1216 - interport : 8223
(INFO) ArmoryUtils.py:1216 - skipStatsReport : False
(INFO) ArmoryUtils.py:1216 - forceWalletCheck: False
(INFO) ArmoryUtils.py:1216 - rebuild : False
(INFO) ArmoryUtils.py:1216 - datadir : DEFAULT
(INFO) ArmoryUtils.py:1216 - clearMempool : False
(INFO) ArmoryUtils.py:1216 - offline : True
(INFO) ArmoryUtils.py:1216 - coverageOutputDir: None
(INFO) ArmoryUtils.py:1216 - armoryDBDir : DEFAULT
(INFO) ArmoryUtils.py:1216 - satoshiPort : DEFAULT
(INFO) ArmoryUtils.py:1216 - useTorSettings : False
(INFO) ArmoryUtils.py:1216 - netlog : False
(INFO) ArmoryUtils.py:1216 - keypool : 100
(INFO) ArmoryUtils.py:1216 - coverageInclude : None
(INFO) ArmoryUtils.py:1216 - forceOnline : False
(INFO) ArmoryUtils.py:1216 - skipAnnounceCheck: False
(INFO) ArmoryUtils.py:1216 - redownload : False
(INFO) ArmoryUtils.py:1216 - multisigFile : DEFAULT
(INFO) ArmoryUtils.py:1216 - disableTorrent : False
(INFO) ArmoryUtils.py:1216 - testAnnounceCode: False
(INFO) ArmoryUtils.py:1216 - mtdebug : False
(INFO) ArmoryUtils.py:1216 - logDisable : False
(INFO) ArmoryUtils.py:1216 - settingsPath : /home/thomas/.armory/ArmorySettings.txt
(INFO) ArmoryUtils.py:1216 - verbosity : None
(INFO) ArmoryUtils.py:1216 - doDebug : True
(INFO) ArmoryUtils.py:1216 - enableDetSign : True
(INFO) ArmoryUtils.py:1216 - testnet : False
(INFO) ArmoryUtils.py:1216 - rpcport : DEFAULT
(INFO) ArmoryUtils.py:1216 - satoshiHome : DEFAULT
(INFO) ArmoryUtils.py:1216 - satoshiRpcport : DEFAULT
(INFO) ArmoryUtils.py:1216 - logFile : /home/thomas/.armory/armorylog.txt
(INFO) ArmoryUtils.py:1216 - disableConfPermis: False
(INFO) ArmoryUtils.py:1217 - Other arguments:
(INFO) ArmoryUtils.py:1220 - ************************************************************
(INFO) ArmoryUtils.py:1615 - C++ block utilities loaded successfully
(INFO) BDM.py:404 - Armory loaded in offline-mode. Will not attempt to load
(INFO) BDM.py:405 - blockchain without explicit command to do so.
(DEBUG) ArmoryQt.py:7076 - Checking for already open socket...
(INFO) ArmoryUtils.py:3521 - Using settings file: /home/thomas/.armory/ArmorySettings.txt
(INFO) announcefetch.py:95 - Reading files in fetcher directory:
(INFO) announcefetch.py:104 - notify : 78bbf86a93b31c391ad34ee1b26097abd9064c0c037a6d4a16d6d1cdb0c7635d
(INFO) announcefetch.py:104 - bootstrap : b62c08932668ce162d51226135940724e90f4c71704ac936f74cc153b34cc251
(INFO) announcefetch.py:104 - changelog : 791059d52f04d68a142730b421f46f52c3169440a168db50088fb2b7856e3d9b
(INFO) announcefetch.py:104 - announce : b8eec8ca1eb01c9c2a55690e5c779cdffa15b30a5ce611cc8444c43472d0ca98
(INFO) announcefetch.py:104 - downloads : 21707983b98ad85f3ac5fd50ec765c08a346d00eaddbeb117516d0b7c25c5dbf
(INFO) ArmoryQt.py:2735 - loadWalletsAndSettings
(INFO) ArmoryQt.py:2789 - Loading wallets...
(DEBUG) ArmoryUtils.py:1046 - /home/thomas/.armory/atisignedannounce is a directory.
(DEBUG) ArmoryUtils.py:1046 - /home/thomas/.armory/databases is a directory.
(INFO) ArmoryQt.py:2848 - Number of wallets read in: 0
(INFO) ArmoryQt.py:2297 - Setting up networking...
(INFO) ArmoryQt.py:2326 - Internet status: 0
(INFO) ArmoryQt.py:2441 - startBitcoindIfNecessary
(WARNING) ArmoryQt.py:2443 - Not online, will not start bitcoind
(DEBUG) ArmoryQt.py:1411 - setupSystemTray
(INFO) ArmoryQt.py:1514 - setupUriRegistration
(INFO) ArmoryUtils.py:600 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command
(INFO) ArmoryUtils.py:600 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin
(INFO) ArmoryUtils.py:600 - Executing popen: find /home/thomas -type f -name "mimeTypes.rdf"
(DEBUG) ArmoryQt.py:4361 - setupDashboard
(INFO) ArmoryQt.py:664 - Usermode: Advanced
(INFO) ArmoryQt.py:1809 - Changing usermode:
(INFO) ArmoryQt.py:1810 - From: Advanced
(INFO) ArmoryQt.py:1818 - To: Advanced
(INFO) ArmoryQt.py:5766 - Dashboard switched to auto-OfflineNoSatoshiNoInternet
(INFO) ArmoryQt.py:1278 - Adding 32 keypress events to the entropy pool
(INFO) ArmoryQt.py:1280 - Adding 1.6 kB bytes of filesystem data to the entropy pool
(INFO) ArmoryQt.py:1282 - Adding 294.0 kB bytes from desktop screenshot to the entropy pool
(INFO) PyBtcWallet.py:802 - ***Creating new deterministic wallet
(INFO) PyBtcWallet.py:808 - (with encryption)
(INFO) PyBtcWallet.py:810 - Target (time,RAM)=(0.250,33554432)
Illegal instruction (core dumped)
Then, I built 0.93.2 again, this time with "make DEBUG=1" like you suggested. I deleted the entire Armory directory in before, and did a new git clone, just to be sure nothing was left from the old build. Still the same, though:
python ArmoryQt.py --offline --debug
Traceback (most recent call last):
File "update_version.py", line 14, in
f = open(hash_loc, "r")
IOError: [Errno 2] No such file or directory: '.git/3cb2a80c7cd461ac26bf34f240a3b60e367'
(INFO) ArmoryUtils.py:1076 - C++ block utilities loaded successfully
(INFO) ArmoryUtils.py:600 - Executing popen: free -m
(INFO) ArmoryUtils.py:600 - Executing popen: ['cat', '/proc/cpuinfo']
(INFO) ArmoryUtils.py:1186 -
(INFO) ArmoryUtils.py:1187 -
(INFO) ArmoryUtils.py:1188 -
(INFO) ArmoryUtils.py:1189 - ************************************************************
(INFO) ArmoryUtils.py:1190 - Invoked: ArmoryQt.py --offline --debug
(INFO) ArmoryUtils.py:1191 - ************************************************************
(INFO) ArmoryUtils.py:1192 - Loading Armory Engine:
(INFO) ArmoryUtils.py:1193 - Armory Version : 0.93.2
(INFO) ArmoryUtils.py:1194 - Armory Build: : None
(INFO) ArmoryUtils.py:1195 - PyBtcWallet Version : 1.35
(INFO) ArmoryUtils.py:1196 - Detected Operating system: Linux
(INFO) ArmoryUtils.py:1197 - OS Variant : Ubuntu-12.04-precise
(INFO) ArmoryUtils.py:1198 - User home-directory : /home/thomas
(INFO) ArmoryUtils.py:1199 - Satoshi BTC directory : /home/thomas/.bitcoin/
(INFO) ArmoryUtils.py:1200 - Armory home dir : /home/thomas/.armory/
(INFO) ArmoryUtils.py:1201 - Detected System Specs :
(INFO) ArmoryUtils.py:1202 - Total Available RAM : 0.48 GB
(INFO) ArmoryUtils.py:1203 - CPU ID string : Intel(R) Pentium(R) M processor 1.86GHz
(INFO) ArmoryUtils.py:1204 - Number of CPU cores : 1 cores
(INFO) ArmoryUtils.py:1205 - System is 64-bit : False
(INFO) ArmoryUtils.py:1206 - Preferred Encoding : UTF-8
(INFO) ArmoryUtils.py:1207 - Machine Arch : i686
(INFO) ArmoryUtils.py:1208 - Available HDD (ARM) : 44 GB
(INFO) ArmoryUtils.py:1209 - Available HDD (BTC) : 44 GB
(INFO) ArmoryUtils.py:1210 -
(INFO) ArmoryUtils.py:1211 - Network Name: Main Network
(INFO) ArmoryUtils.py:1212 - Satoshi Port: 8333
(INFO) ArmoryUtils.py:1213 - Do wlt check: True
(INFO) ArmoryUtils.py:1214 - Named options/arguments to armoryengine.py:
(INFO) ArmoryUtils.py:1216 - nettimeout : 2
(INFO) ArmoryUtils.py:1216 - rescan : False
(INFO) ArmoryUtils.py:1216 - ignoreAllZC : False
(INFO) ArmoryUtils.py:1216 - enableSupernode : False
(INFO) ArmoryUtils.py:1216 - disableModules : False
(INFO) ArmoryUtils.py:1216 - port : None
(INFO) ArmoryUtils.py:1216 - interport : 8223
(INFO) ArmoryUtils.py:1216 - skipStatsReport : False
(INFO) ArmoryUtils.py:1216 - forceWalletCheck: False
(INFO) ArmoryUtils.py:1216 - rebuild : False
(INFO) ArmoryUtils.py:1216 - datadir : DEFAULT
(INFO) ArmoryUtils.py:1216 - clearMempool : False
(INFO) ArmoryUtils.py:1216 - offline : True
(INFO) ArmoryUtils.py:1216 - coverageOutputDir: None
(INFO) ArmoryUtils.py:1216 - armoryDBDir : DEFAULT
(INFO) ArmoryUtils.py:1216 - satoshiPort : DEFAULT
(INFO) ArmoryUtils.py:1216 - useTorSettings : False
(INFO) ArmoryUtils.py:1216 - netlog : False
(INFO) ArmoryUtils.py:1216 - keypool : 100
(INFO) ArmoryUtils.py:1216 - coverageInclude : None
(INFO) ArmoryUtils.py:1216 - forceOnline : False
(INFO) ArmoryUtils.py:1216 - skipAnnounceCheck: False
(INFO) ArmoryUtils.py:1216 - redownload : False
(INFO) ArmoryUtils.py:1216 - multisigFile : DEFAULT
(INFO) ArmoryUtils.py:1216 - disableTorrent : False
(INFO) ArmoryUtils.py:1216 - testAnnounceCode: False
(INFO) ArmoryUtils.py:1216 - mtdebug : False
(INFO) ArmoryUtils.py:1216 - logDisable : False
(INFO) ArmoryUtils.py:1216 - settingsPath : /home/thomas/.armory/ArmorySettings.txt
(INFO) ArmoryUtils.py:1216 - verbosity : None
(INFO) ArmoryUtils.py:1216 - doDebug : True
(INFO) ArmoryUtils.py:1216 - enableDetSign : True
(INFO) ArmoryUtils.py:1216 - testnet : False
(INFO) ArmoryUtils.py:1216 - rpcport : DEFAULT
(INFO) ArmoryUtils.py:1216 - satoshiHome : DEFAULT
(INFO) ArmoryUtils.py:1216 - satoshiRpcport : DEFAULT
(INFO) ArmoryUtils.py:1216 - logFile : /home/thomas/.armory/armorylog.txt
(INFO) ArmoryUtils.py:1216 - disableConfPermis: False
(INFO) ArmoryUtils.py:1217 - Other arguments:
(INFO) ArmoryUtils.py:1220 - ************************************************************
(INFO) ArmoryUtils.py:1615 - C++ block utilities loaded successfully
(INFO) BDM.py:404 - Armory loaded in offline-mode. Will not attempt to load
(INFO) BDM.py:405 - blockchain without explicit command to do so.
/home/thomas/BitcoinArmory/armoryengine/Transaction.py:2675: SyntaxWarning: import * only allowed at module level
def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(DEBUG) ArmoryQt.py:7076 - Checking for already open socket...
(INFO) ArmoryUtils.py:3521 - Using settings file: /home/thomas/.armory/ArmorySettings.txt
(INFO) announcefetch.py:95 - Reading files in fetcher directory:
(INFO) announcefetch.py:104 - notify : 78bbf86a93b31c391ad34ee1b26097abd9064c0c037a6d4a16d6d1cdb0c7635d
(INFO) announcefetch.py:104 - bootstrap : b62c08932668ce162d51226135940724e90f4c71704ac936f74cc153b34cc251
(INFO) announcefetch.py:104 - changelog : 791059d52f04d68a142730b421f46f52c3169440a168db50088fb2b7856e3d9b
(INFO) announcefetch.py:104 - announce : b8eec8ca1eb01c9c2a55690e5c779cdffa15b30a5ce611cc8444c43472d0ca98
(INFO) announcefetch.py:104 - downloads : 21707983b98ad85f3ac5fd50ec765c08a346d00eaddbeb117516d0b7c25c5dbf
(INFO) ArmoryQt.py:2735 - loadWalletsAndSettings
(INFO) ArmoryQt.py:2789 - Loading wallets...
(DEBUG) ArmoryUtils.py:1046 - /home/thomas/.armory/atisignedannounce is a directory.
(DEBUG) ArmoryUtils.py:1046 - /home/thomas/.armory/databases is a directory.
(INFO) ArmoryQt.py:2848 - Number of wallets read in: 0
(INFO) ArmoryQt.py:2297 - Setting up networking...
(INFO) ArmoryQt.py:2326 - Internet status: 0
(INFO) ArmoryQt.py:2441 - startBitcoindIfNecessary
(WARNING) ArmoryQt.py:2443 - Not online, will not start bitcoind
(DEBUG) ArmoryQt.py:1411 - setupSystemTray
(INFO) ArmoryQt.py:1514 - setupUriRegistration
(INFO) ArmoryUtils.py:600 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command
(INFO) ArmoryUtils.py:600 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin
(INFO) ArmoryUtils.py:600 - Executing popen: find /home/thomas -type f -name "mimeTypes.rdf"
(DEBUG) ArmoryQt.py:4361 - setupDashboard
(INFO) ArmoryQt.py:664 - Usermode: Advanced
(INFO) ArmoryQt.py:1809 - Changing usermode:
(INFO) ArmoryQt.py:1810 - From: Advanced
(INFO) ArmoryQt.py:1818 - To: Advanced
(INFO) ArmoryQt.py:5766 - Dashboard switched to auto-OfflineNoSatoshiNoInternet
(INFO) ArmoryQt.py:1278 - Adding 35 keypress events to the entropy pool
(INFO) ArmoryQt.py:1280 - Adding 1.6 kB bytes of filesystem data to the entropy pool
(INFO) ArmoryQt.py:1282 - Adding 359.4 kB bytes from desktop screenshot to the entropy pool
(INFO) PyBtcWallet.py:802 - ***Creating new deterministic wallet
(INFO) PyBtcWallet.py:808 - (with encryption)
(INFO) PyBtcWallet.py:810 - Target (time,RAM)=(0.250,33554432)
Illegal instruction (core dumped)
Thanks! I'll give it a shot once I compile a version that can create a new wallet
