Bitcoin Forum
September 24, 2024, 07:53:08 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Armory wont start after 0.96.1 upgrade  (Read 1198 times)
jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 05, 2017, 10:41:40 AM
 #1

Hi everyone

I have been having a lot of trouble with Armory and Bitcoin core. Armory was crashing when I tried to create a wallet. I had a read up on here and saw that 0.96.1 was out, I was on 0.96.0 so thought i would try to upgrade to fix y problem.

I noticed that the .deb file for 0.96.1 was only 9mb where 0.96.0 was 14mb (??) but installed anyway. It seemed to install only a few icons, then exited. Now Armory wont start at all, not even the logo shows.

I tried removing Armory and reinstalling both versions but nothing works.

I downloaded from the offical Git hub, so Im not sure at all what to do now. Things are getting desperate!

Has anyone got any suggestions to try please?

Thank you Smiley
achow101
Staff
Legendary
*
Offline Offline

Activity: 3500
Merit: 6833


Just writing some code


View Profile WWW
August 05, 2017, 06:23:43 PM
 #2

Please post your armory log files. You can find them in the Armory datadir.

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 08, 2017, 07:52:12 PM
 #3

Thanks achow

I ended up with Armory 0.96-beta-a3dO1..... Whereas I thought i had 0.96.1 does that look ok?

It's running now anyway, problem was the wallet file, if I remove those from the armory data dir then it opens fine. When I import my watching only wallet it crashes. Here are the logs from when Armory crashes after restarting, after the previous crash when I import the WO wallet (that crash doesnt update the logs), thanks again.

From armorycplog.txt
Quote
Log file opened at 1502185337: /home/xxxxxxxx/.armory/armorycpplog.txt
-ERROR - 1502185338: (WalletManager.cpp:78) Failed to open wallet with error:
missing main wallet entry

From dblog.txt
Quote
Log file opened at 1502149760: /home/xxxxxxx/.armory/dbLog.txt
-INFO  - 1502149760: (main.cpp:23) Running on 2 threads
-INFO  - 1502149760: (main.cpp:24) Ram usage level: 4
-INFO  - 1502149760: (BlockUtils.cpp:907) blkfile dir: /home/xxxxxxx/.bitcoin/blocks
-INFO  - 1502149760: (BlockUtils.cpp:908) lmdb dir: /home/xxxxxxx/.armory/databases
-INFO  - 1502149760: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1502149760: (BlockUtils.cpp:1091) Executing: doInitialSyncOnLoad
-INFO  - 1502149761: (BDM_Server.cpp:996) registered bdv: b0b8dfa4ad3f0da48261
-INFO  - 1502149768: (DatabaseBuilder.cpp:169) Reading headers from db
-INFO  - 1502149812: (DatabaseBuilder.cpp:208) Found 479318 headers in db
-INFO  - 1502149815: (DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1502149816: (DatabaseBuilder.cpp:477) Found next block after skipping 109938bytes
-INFO  - 1502149817: (DatabaseBuilder.cpp:268) parsed block file #958
-DEBUG - 1502149817: (Blockchain.cpp:242) Organizing chain
-INFO  - 1502149817: (DatabaseBuilder.cpp:56) updated HEADERS db in 1.13032s
-INFO  - 1502149817: (BlockUtils.cpp:1206) Enabling zero-conf tracking
-INFO  - 1502150177: (BDM_Server.cpp:1025) unregistered bdv: b0b8dfa4ad3f0da48261


From armorylog.txt. Note the last line, the wallet im trying to import is definitely encrypted (password proteced I mean)

Quote
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1138 - C++ block utilities loaded successfully
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:665 - Executing popen: free -m
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:665 - Executing popen: ['cat', '/proc/cpuinfo']
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1255 -
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1256 -
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1257 -
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1258 - ************************************************************
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1259 - Invoked: /usr/local/bin/../lib/armory/ArmoryQt.py
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1260 - ************************************************************
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1261 - Loading Armory Engine:
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1262 -    Armory Version        : 0.96
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1263 -    Armory Build:         : a3d01aa722
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1264 -    PyBtcWallet  Version  : 1.35
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1265 - Detected Operating system: Linux
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1266 -    OS Variant            : Ubuntu
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1267 -    User home-directory   : /home/xxxxxxx
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1268 -    Satoshi BTC directory : /home/xxxxxxx/.bitcoin/
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1269 -    Armory home dir       : /home/xxxxxxx/.armory/
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1270 - Detected System Specs    :
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1271 -    Total Available RAM   : 7.86 GB
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1272 -    CPU ID string         : Pentium(R) Dual-Core  CPU
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1273 -    Number of CPU cores   : 2 cores
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1274 -    System is 64-bit      : True
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1275 -    Preferred Encoding    : UTF-8
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1276 -    Machine Arch          : x86_64
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1277 -    Available HDD (ARM)   : 482 GB
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1278 -    Available HDD (BTC)   : 482 GB
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1279 -
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1280 - Network Name: Main Network
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1281 - Satoshi Port: 8333
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1282 - Do wlt check: True
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1283 - Named options/arguments to armoryengine.py:
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     thread_count    : -1
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     rescan          : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     ignoreAllZC     : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     rescanBalance   : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     disableModules  : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     port            : None
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     interport       : 8223
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     coverageOutputDir: None
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     forceWalletCheck: False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     regtest         : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     rebuild         : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     nettimeout      : 2
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     datadir         : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     clearMempool    : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     offline         : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     armoryDBDir     : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     armorydb_port   : 9001
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     satoshiPort     : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     useTorSettings  : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     netlog          : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     keypool         : 100
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     coverageInclude : None
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     forceOnline     : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     redownload      : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     rpcBindAddr     : 127.0.0.1
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     armorydb_ip     : 127.0.0.1
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     multisigFile    : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     ram_usage       : -1
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     mtdebug         : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     logDisable      : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     settingsPath    : /home/xxxxxxx/.armory/ArmorySettings.txt
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     language        : en
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     db_type         : DB_FULL
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     doDebug         : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     enableDetSign   : True
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     disableConfPermis: False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     testnet         : False
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     rpcport         : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     satoshiHome     : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     satoshiRpcport  : DEFAULT
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     logFile         : /home/xxxxxxx/.armory/ArmoryQt.py.log.txt
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1285 -     verbosity       : None
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1286 - Other arguments:
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1289 - ************************************************************
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:1692 - C++ block utilities loaded successfully
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:3590 - Using settings file: /home/xxxxxxx/.armory/ArmorySettings.txt
2017-08-08 11:08 (ERROR) -- ArmoryUtils.py:3747 - Unsupported language  specified. Defaulting to English (en)
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:3750 - Using Language: en
2017-08-08 11:08 (INFO) -- BDM.py:368 - Using the asynchronous/multi-threaded BlockDataManager.
2017-08-08 11:08 (INFO) -- BDM.py:369 - Blockchain operations will happen in the background. 
2017-08-08 11:08 (INFO) -- BDM.py:370 - Devs: check TheBDM.getState() before asking for data.
2017-08-08 11:08 (INFO) -- BDM.py:371 - Registering addresses during rescans will queue them for
2017-08-08 11:08 (INFO) -- BDM.py:372 - inclusion after the current scan is completed.
2017-08-08 11:08 (INFO) -- ArmoryUtils.py:3590 - Using settings file: /home/xxxxxxx/.armory/ArmorySettings.txt
2017-08-08 11:08 (INFO) -- ArmoryQt.py:2042 - loadWalletsAndSettings
2017-08-08 11:08 (INFO) -- ArmoryQt.py:2102 - Loading wallets...
2017-08-08 11:08 (INFO) -- ArmoryQt.py:2167 - Number of wallets read in: 1
2017-08-08 11:08 (INFO) -- ArmoryQt.py:2172 -    Wallet (s3JPpV1y):    "WALLET:NAME(2)"   (No Encryption)


I have tried deleting the wallet and trying again with other USB disks incase the wallet was being corrupted when copying over but still get the same result.

This is the output from dblogtxt  when I import the wallet and armory closes

Quote
Log file opened at 1502146778: /home/xxxxxxx/.armory/dbLog.txt
-INFO  - 1502146778: (main.cpp:23) Running on 2 threads
-INFO  - 1502146778: (main.cpp:24) Ram usage level: 4
-INFO  - 1502146778: (BlockUtils.cpp:907) blkfile dir: /home/xxxxxxx/.bitcoin/blocks
-INFO  - 1502146778: (BlockUtils.cpp:908) lmdb dir: /home/xxxxxxx/.armory/databases
-INFO  - 1502146778: (lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1502146778: (BlockUtils.cpp:1091) Executing: doInitialSyncOnLoad
-INFO  - 1502146779: (BDM_Server.cpp:996) registered bdv: 10410fad29f3f52de294
-INFO  - 1502146783: (DatabaseBuilder.cpp:169) Reading headers from db
-INFO  - 1502146824: (DatabaseBuilder.cpp:208) Found 479318 headers in db
-INFO  - 1502146827: (DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1502146827: (DatabaseBuilder.cpp:477) Found next block after skipping 109938bytes
-INFO  - 1502146828: (DatabaseBuilder.cpp:268) parsed block file #958
-DEBUG - 1502146828: (Blockchain.cpp:242) Organizing chain
-INFO  - 1502146828: (DatabaseBuilder.cpp:56) updated HEADERS db in 0.70976s
-INFO  - 1502146828: (BlockUtils.cpp:1206) Enabling zero-conf tracking
-INFO  - 1502147942: (BDM_Server.cpp:1025) unregistered bdv: 10410fad29f3f52de294
-INFO  - 1502147942: (BDM_Server.cpp:936) proceeding to shutdown
-ERROR - 1502147946: (BitcoinP2P.cpp:1027) caught SocketError exception in processDataStackThread: POLLNVAL in readFromSocketThread
-INFO  - 1502147951: (BitcoinP2P.cpp:969) Disconnected from Bitcoin node
-ERROR - 1502147951: (BDM_mainthread.cpp:286) caught exception in main thread: terminate

Smiley
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3738
Merit: 1360

Armory Developer


View Profile
August 08, 2017, 10:02:31 PM
 #4

Your log shows that you are using 0.96, not 0.96.1. Update and report.

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 09, 2017, 02:42:29 PM
 #5

Thanks for helping Smiley

The upgrade crashes.

I try to install 0.96.1 over the top of the previous version with the latest deb file from github and I get this

Quote
(Reading database ... 253445 files and directories currently installed.)
Preparing to unpack .../armory_0.96.1_amd64.deb ...
Unpacking armory (0.96.1-1) over (0.96-1) ...
Setting up armory (0.96.1-1) ...
   Setting up menu items.
    EXEC: xdg-icon-resource install --novendor --context apps --size 64 /usr/local/share/armory/img/armory_icon_64x64.png armoryicon
    EXEC: xdg-icon-resource install --novendor --context apps --size 64 /usr/local/share/armory/img/armory_icon_64x64.png armoryofflineicon
    EXEC: xdg-icon-resource install --novendor --context apps --size 64 /usr/local/share/armory/img/armory_icon_green_64x64.png armorytestneticon
Done

If I try to run armory from terminal inside the Armory folder i get:
Quote
Illegal instruction (core dumped)


The de file for 0.96.1 that I have is much smaller (9mb) than the previous version 0.96.0 (14mb) is that ok?

Thanks for all the help you give us Goatpig
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3738
Merit: 1360

Armory Developer


View Profile
August 09, 2017, 08:23:08 PM
 #6

Illegal instruction (core dumped)

Your CPU is too old to run these builds, you'll have to build from source or wait for the offline builds coming with 0.96.2

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 11, 2017, 09:09:13 AM
 #7

Thanks for the excellent help again GP

Im compiling from source, following the instructions in the Linux folderin the source download file.
Installed 'build-essential' and all the other updates successfully.
Then after cloning the git hub I run 'git tage -v v0.96.1' I get:


gpg: WARNING: Unsafe permissions on homedir 'home/username/.gnupg'
gpg: Signature made 27 July 2017
gpg: Using rsa key XXXXXXXXXXXX
gpg: Can't check signature: No public key


When I check the perms of that folder /.gnypg  the 'Group' has been set to 'can view and modify content' which is the same setting for the 'Owner'
'Other' has been set to 'Can view content'

This would all be completely impossible without you all on this site. So thanks again for all the help. What a journey!!!!
jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 11, 2017, 03:20:12 PM
 #8

More info: There are some odd looking files in that folder with the suspect permissions home/username/.gnupg such as:

a folder /private-keys-v1.d
pbring.kbx
trustdb.gpg
S.uiserver

Does this look right? Is it ok to continue the build from source process?
jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 12, 2017, 11:30:02 AM
 #9

Could someone ok what I have done as I'm a bit worried about this!

1 I've changed the permissions on home/username/.gnupg to 'Forbidden' for 'Group' and 'Others' because of that security warning in the post above.
This is very worrying as i cloned the git, then received that warning when trying to verify it. Did it set itself up incorrectly?

Anyway, I pressed on and

2 Reinstalled Git with "git checkout v0.96.1" which worked and I got back "HEAD is now at a3492eld.... bump version"

3 Imported Goatpigs PGP key with:
gpg --import file.txt



4 When I run:

5 gpg --recv-keys --keyserver keyserver.ubuntu.com 4922589A

6 I get :

gpg: key xxxx1176492xxxxx: "goatpig (Offline signing key for Armory releases) <moothecowlord@gmail.com>" 4 new signatures
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:         new signatures: 4


continuing anyway, I run
cd /bitcoinarmory

then
$ git tag -v v0.96.1

and I get
object xxxxx1d30ca7256xxxxxxxxx97b9d5bc539c1e
type commit
tag v0.96.1
tagger goatpig <mootxxxxxord@gmail.com> 1501092062 +0200

v0.96.1
gpg: Signature made Wed 26 Jul 2017 19:01:02 BST
gpg:                using RSA key 8C5211764922589A
gpg: Good signature from "goatpig (Offline signing key for Armory releases) <moothecowlord@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: xxxx 707F xxxx 968B DF63  xxxx 8C52 1176 xxxx xxxx


I added xxx's to hide any potentially sensitive stuff


Does anyone know where I am going wrong?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4318

<insert witty quote here>


View Profile
August 12, 2017, 11:47:54 AM
 #10

The important part is the "gpg: Good signature from "goatpig (Offline signing key for Armory releases) <moothecowlord@gmail.com>" [unknown]"

This means that it is all signed with goatpigs gpg signature... Smiley

"gpg: WARNING: This key is not certified with a trusted signature!" just means that no trusted cert that you have currently vouches for goatpigs sig... ie. You haven't imported his signature into your "circle of trust" Wink 

TLDR; the files are signed with the sig... but you haven't "trusted" the sig yet.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 13, 2017, 01:53:56 PM
 #11

Thanks HCp im a lot closer now!

I pressed on, skipped importing Goatpigs sig, guessd thats good to go

Successfully completed:

$ autoconf
$ autoreconf
$ automake

All looking good, then

$ ./configure

Goes through a long process and fails with:

checking for lrelease... yes
./configure line 18202: pkg-config: command not found
configure: error: missing QTcore library, make sure libqt4core4 and libqt-dev are installed.

They are both installed as is every Qtcore package I could find. Ive also read every forum there is.

Anyone know a fix for this qtcore problem?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3500
Merit: 6833


Just writing some code


View Profile WWW
August 13, 2017, 06:02:11 PM
 #12

Have you installed all of Armory's dependencies?

Please follow the build instructions at https://btcarmory.com/docs/building/. It will give you the commands to run and the dependencies that you need to install.

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 13, 2017, 08:50:06 PM
 #13

Thanks! That guide is much more up to date than the Linux guide I was using from the source download.

Perhaps that should be updated?

Anyway, it wnt through quickly as everything was already installed. I ran the steps in the linked file and got the same error:

checking for lrelease... yes
./configure line 18202: pkg-config: command not found
configure: error: missing QTcore library, make sure libqt4core4 and libqt-dev are installed.

achow101
Staff
Legendary
*
Offline Offline

Activity: 3500
Merit: 6833


Just writing some code


View Profile WWW
August 14, 2017, 04:59:38 AM
 #14

checking for lrelease... yes
./configure line 18202: pkg-config: command not found
configure: error: missing QTcore library, make sure libqt4core4 and libqt-dev are installed.
Try installing libqt4core4 and libqt-dev.

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 30, 2017, 10:08:33 PM
 #15

Hi thanks for the tip.
When i search for those packages, either on the repositories, or on https://packages.ubuntu.com/ I get "unable to locate package"

So Im still stuck with this error

checking for lrelease... yes
./configure line 18202: pkg-config: command not found
configure: error: missing QTcore library, make sure libqt4core4 and libqt-dev are installed.

When I try to run ./configure

Does anyone know the solution?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3738
Merit: 1360

Armory Developer


View Profile
August 31, 2017, 12:46:17 AM
 #16

Look up the package name for Qt4 Core in a search engine for your OS.

Alternatively you can search your package repo for the name pattern:

Code:
apt-cache search libqt | grep qt

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
September 01, 2017, 06:25:42 PM
 #17

Thanks for the leads GP. I found some interesting info. Could this be a clash with Kubuntu 17.04 which im on? Look at this:

1 The output of the 0.96.1 build process ends with:
        configure: error: missing QTcore library, make sure libqt4core4 and libqt-dev are installed.

But those packages are not listed on the repos. Instead there are these files listed (found them with your search string:

libqtcore4
libqt4-dev

When I try to install those packages as listed on the repos, i get an 'already installed not updated' message.

Is that why the compiler cannot find those? It is looking for the wrong package names for Kubuntu 17.04 users?
Its looking for libqt4core4 instead of libqtcore4 and libqt-dev instead of libqt4-dev?


on Kubuntu package search https://packages.ubuntu.com/
A search for "qt4 core" shows package "libqt4-core" available for Trusty 14.04, but if you select 'Zesty' under "search in specific suite" It returns no results.

https://packages.ubuntu.com/search?suite=zesty&searchon=names&keywords=qt4%20core


Is this a 0.96.1 compatibility issue with Kubuntu 17.04 Zesty ?

Also, looking at the KInfocenter, it shows the QT version for Kubuntu 17.04 as being v5.7.1

Could be something?

Thanks again man, respect to you for helping so many people.



goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3738
Merit: 1360

Armory Developer


View Profile
September 01, 2017, 06:38:05 PM
 #18

https://github.com/goatpig/BitcoinArmory/blob/master/configure.ac#L129

This checks your Qt version. Is "pkg-config" a binary in your path, and if so, what does it return for this command:

Code:
pkg-config 'QtCore'
pkg-config 'QtGui'

jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
September 01, 2017, 07:13:43 PM
 #19

Thanks GP. Not sure what to do with that link. Do I run in in terminal or do I save configure.ac in the Armory folder and run that via terminal to compile?

pkg-config 'QtCore'
returns this:

The program 'pkg-config' can be found in the following packages:
* pkg-config
* pkgconf


pkg-config 'QtGui'
Returns exactly the same:

The program 'pkg-config' can be found in the following packages:
* pkg-config
* pkgconf
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3738
Merit: 1360

Armory Developer


View Profile
September 01, 2017, 11:08:04 PM
 #20

Then do:

Code:
sudo apt-get install pkg-config

Then run the configure script anew.

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!