Bitcoin Forum
May 25, 2024, 01:05:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mac Installation Issues (followed readme perfectly)  (Read 185 times)
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
May 08, 2018, 03:22:40 AM
 #1

Hi all, I have 2 Macs – a Retina iMac and a 2011 Macbook Air. I am having trouble installing Armory on the Air, but it worked fine on the iMac. I followed the Mac Readme.

Might be something specific about the Air. Both on High Sierra. See crash report:  https://pastebin.com/LfQSiJ4r

Help appreciated. Thanks!
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
May 08, 2018, 05:04:48 PM
 #2

Crypto++ is the culprit. The version used by Armory (customized version of 5.6.2) is kinda janky and sometimes includes CPU instructions that older processors can't handle. I thought I had caught as much as I could for Macs but there seem to be more issues.

The only real solution, until we get rid of Crypto++ (0.98, I hope), is to build your own version. You can follow the dev notes, which I hope are clear. Basically, get an Apple dev account (free), download Command Line Tools for Xcode (much, much, much smaller than Xcode), and then follow the rest of the instructions verbatim. It should be pretty foolproof but please let me know if you run into any issues.

Thanks for the report.
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
May 09, 2018, 01:21:23 AM
 #3

Just followed the build instructions, but Armory.app opens for only a fraction of a second and then closes. No error message or anything Sad
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
May 09, 2018, 06:11:32 AM
 #4

Can you run it from the terminal and see what happens? Assuming Armory.app is in /Applications, /Applications/Armory.app/Contents/MacOS/Armory is what you need to run.
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
May 09, 2018, 01:20:32 PM
 #5

Getting this:

/Applications/Armory.app/Contents/MacOS/Python: can't open file '/Applications/Armory.app/Contents/MacOS/py/usr/local/lib/armory/ArmoryQt.py': [Errno 2] No such file or directory
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
May 09, 2018, 03:30:52 PM
 #6

You'll have to punch in the exact location, not /Applications, unless that's where it is (which it sounds like it isn't). If it's on the desktop, it's /Users/the-username-of-zherbert-right-here/Desktop/Armory.app/Contents/MacOS/Armory.
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
May 10, 2018, 02:02:46 AM
 #7

It's in Applications. The app is 84.3 mb in size. When I navigate to that "py" folder, though, it is completely empty.
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
May 10, 2018, 03:54:56 AM
 #8

In that case, something went wrong during compilation. In the Armory directory where you compiled everything, open up osxbuild/build-app.log.txt and go to the end. Do a reserve search for "error" (make sure the case doesn't matter). You'll probably get a few hits upfront for some files with "error" in their names. Ignore those. Once you see something like "Error: Python script failure" or something similar, let me know what it is. If you're truly stuck and the file's too large to post to Pastebin, you can use WeTransfer to send the file to me. PM me and we'll get that set up.
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
May 12, 2018, 04:33:44 AM
 #9

Thanks, got a few. Hoping I can get things working tomorrow.

checking for pyrcc4... no
configure: error: missing pyrcc4 in path, make sure pyqt4-dev-tools is installed

Error: Use the --qmake argument to explicitly specify a working Qt qmake.

Will DM you and send over the full file if you need more info.
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
May 12, 2018, 04:44:30 AM
 #10

Also:

Failure to read QMAKESPEC conf file /Users/zherbert/Downloads/armory_0.96.4_src/osxbuild/workspace/install/qt/mkspecs/unsupported/macx-clang-libc++/qmake.conf.
Error processing project file: ArmoryMac.pro

droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
May 12, 2018, 08:33:31 PM
 #11

Okay. I'm guessing one of the source files didn't download for whatever reasons. If you look up at the top of the log file, it should show some files being downloaded. I'm guessing at least one of them timed/errored out. Is this true? If so, delete osxbuild/workspace/ and give it another spin.
zherbert (OP)
Member
**
Offline Offline

Activity: 62
Merit: 115


View Profile
June 24, 2018, 05:13:37 AM
 #12

Still not working sadly, I've tried multiple times and followed the instructions perfectly. Even tried a fresh install. What are my options?
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
June 24, 2018, 06:51:19 PM
 #13

Still not working sadly, I've tried multiple times and followed the instructions perfectly. Even tried a fresh install. What are my options?

Can you post build-app.log.txt somewhere and send me the link via PM? I'll take a look and see if anything sticks out.
droark
Sr. Member
****
Offline Offline

Activity: 525
Merit: 282


View Profile WWW
July 02, 2018, 02:29:13 AM
 #14

Hey everyone. FYI, I think I figured out the problem. Qt moved the Qt download, which breaks the Armory build script. If you're having problems, change line 367.

Old:
Code:
http://download.qt-project.org/official_releases/qt/4.8/%s/qt-everywhere-opensource-src-%s.tar.gz" % (qtVer, qtVer), \

New:
Code:
http://download.qt.io/archive/qt/4.8/%s/qt-everywhere-opensource-src-%s.tar.gz" % (qtVer, qtVer), \

I'll throw together a patch for this. It'll definitely be in 0.97, and hopefully 0.96.5 if goatpig does another bugfix release. We'll see about the latter.
Pages: [1]
  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!