Bitcoin Forum
December 08, 2016, 08:19:28 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 [10]  All
  Print  
Author Topic: Building Armory on OSX  (Read 30635 times)
etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
March 10, 2013, 03:01:16 AM
 #181

FYI --  I just started a bounty thread for Armory on OSX.

If you are on this thread and want to see someone finally put together the OSX package for it, please donate!

https://bitcointalk.org/index.php?topic=151313.0

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481185168
Hero Member
*
Offline Offline

Posts: 1481185168

View Profile Personal Message (Offline)

Ignore
1481185168
Reply with quote  #2

1481185168
Report to moderator
1481185168
Hero Member
*
Offline Offline

Posts: 1481185168

View Profile Personal Message (Offline)

Ignore
1481185168
Reply with quote  #2

1481185168
Report to moderator
1481185168
Hero Member
*
Offline Offline

Posts: 1481185168

View Profile Personal Message (Offline)

Ignore
1481185168
Reply with quote  #2

1481185168
Report to moderator
etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
March 16, 2013, 05:51:04 PM
 #182

This is mostly directed at Red Emerald since he has compiled this many times before, but of course anyone can answer:

For the auto-bitcoind-management, I need OSX versions of bitcoind to be compiled and distributed with the download from www.bitcoin.org.  Gavin said that he doesn't do this because there's no clear path to do it, and there's no demand -- except from me.  He would probably be persuaded if I gave him a working build script for it that does exactly what he wants, but hell if I know how to do that.

He says it's not straightforward, because bitcoind is a terminal app, which means putting it in a .app package is not good, and would have to be distributed as a separate package which is extra work for him.  He would create a standalone bitcoind, but it would require all the dependencies to be static-compiled in, which he also says will be a lot of work.  If that was done, I don't know if it could be bundled along with the Bitcoin-Qt .app file.  If we could have a standalone-static-compile-everything bitcoind that would fit into his existing makefile and simply bundle it along with the Bitcoin-Qt .app, that would be absolutely ideal.  I bet he'd be willing to do it -- perhaps 30 minutes of reviewing the makefile, and that's it.  This assumes that it works, and every failed attempt is more "favors" spent ... I'm sure Gavin wouldn't mind spending a few minutes supporting this, but not more than a few minutes...

Any ideas for how to go about this?  How about a static-compiled version of it that doesn't have any dependencies?  I could float a separate .app package by him, but I doubt he wants to add that to his build/release process which is probably annoyingly long already (I know from experience).


Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
March 17, 2013, 06:23:24 PM
 #183

Ill look into it. I've been content with my brew formula, but it would be nice if it could be bundled with bitcoin-qt again.

etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
March 19, 2013, 11:48:48 PM
 #184

Quote
<gavinandresen> if you find a simple fix for the makefile.osx so I can make -f makefile.osx RELEASE=1  … and end up with a bitcoind that runs on everybody's machines, then I'd be happy to do that
<gavinandresen> I guess it would be RELEASE=1 STATIC=1 ....
<gavinandresen> I'm compiling RELEASE=1 STATIC=1 on my build machine now, I'll upload the binary for you to play with. I don't remember what the issues were last time...
<gavinandresen> http://skypaint.com/bitcoin/bitcoind.osx
[/font]

It sounds like there is not a deterministic way to build on OSX, so it won't require messing with gitian.   Is it possible to compile and include extra executables in the .app?  Will I be able to reference it by a direct path name?  (i.e.  /Users/LibraryApplications/whatever/bitcoind)

Given the high price of BTC these days, it looks like I only need to offer, say, 3 BTC as an incentive for this one Smiley  Again, it's something I have no experience with, but may be "easy" (easier) for others.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
picobit
Hero Member
*****
Offline Offline

Activity: 547


Decor in numeris


View Profile
March 20, 2013, 12:11:59 PM
 #185

The main problem is that no-one can be sure where the user installs Bitcoin-Qt.  Sure, it is most likely to go in /Applications/Bitcoin-Qt.app, but a user may choose to install it anywhere ($HOME/Applications or $HOME/Desktop would be likely candidates).  This makes placing a command-line executable inside the .app directory a bit awkward.

There is a "correct" way to do it, but I doubt you can sell it to Gavin Andresen:  Several apps that have command-line tools (The Aquamacs editor and Xcode come to mind) have a menu point called "install command-line tools" that then copies or links the tools into /usr/bin.  But not only does the app need to have this menu point, it should also have code detecting when it has been updated so it can pop up a dialog requesting permission to upgrade the command line tools.  Clearly some work to implement.

Another "correct" way is not to distribute Bitcoin-Qt as a simple app that is dragged into the application folder, but to use an installer. Again extra work, and I have no clue how to do that.

A simple possibility might be to include bitcoind in an "Extras" folder in the installation disk image, so interested parties (Armory users) can open that folder, where they find bitcoind and a link to /usr/bin so they can drag it over.  I suppose this would work.

Finally, Armory could have a heuristic for locating Bitcoin-Qt and then find bitcoind in a subfolder there.

ErebusBat
Hero Member
*****
Offline Offline

Activity: 560

I am the one who knocks


View Profile
March 20, 2013, 02:59:10 PM
 #186

You could also just ask the user if it is in a non standard location.  If the user has put it somewhere else then they will know where.

░▒▓█ Coinroll.it - 1% House Edge Dice Game █▓▒░ • Coinroll Thread • *FREE* 100 BTC Raffle

Signup for CEX.io BitFury exchange and get GHS Instantly!  Don't wait for shipping, mine NOW!
etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
March 20, 2013, 03:05:05 PM
 #187

The main problem is that no-one can be sure where the user installs Bitcoin-Qt.  Sure, it is most likely to go in /Applications/Bitcoin-Qt.app, but a user may choose to install it anywhere ($HOME/Applications or $HOME/Desktop would be likely candidates).  This makes placing a command-line executable inside the .app directory a bit awkward.

Bah!  This is python!  Python can do anything and everything.  It is very fast to search a variety of locations for the executable.  I just need a few of the most common ones and os.walk will take me through the directory trees looking for files that match my criteria.  I can set it to only go 2-3 levels deep and/or stop after 10k files searched, to avoid getting lost. 

And like Erebus said, if that doesn't work...




Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
ErebusBat
Hero Member
*****
Offline Offline

Activity: 560

I am the one who knocks


View Profile
April 02, 2013, 07:12:35 PM
 #188

I would say that there would be two places: /Applications and ~/Applications

However as you know there is no official bitcoind for OSX.  Red Emerald's brew recipe creates a symlink at /usr/local/bin/bitcoind

You could also search $PATH for bitcoind

░▒▓█ Coinroll.it - 1% House Edge Dice Game █▓▒░ • Coinroll Thread • *FREE* 100 BTC Raffle

Signup for CEX.io BitFury exchange and get GHS Instantly!  Don't wait for shipping, mine NOW!
itod
Legendary
*
Offline Offline

Activity: 1008


^ will code for bitcoins


View Profile
November 26, 2013, 09:40:59 PM
 #189

Need some help compiling Armory on Ubuntu 13.10. It exits with:
Code:
g++: error: /usr/lib64/libpython2.7.so.1.0: No such file or directory
make[1]: *** [swig] Error 1
make[1]: Leaving directory `/home/itod/BitcoinArmory/cppForSwig'
make: *** [all] Error 2
Sorry if this was answered somewhere, but having browsed through this thread haven't found an answer. Changing two lines in Make suggested in this post
https://bitcointalk.org/index.php?topic=56424.msg1463846#msg1463846
didn't help.

Please suggest a fix. Thanks.
picobit
Hero Member
*****
Offline Offline

Activity: 547


Decor in numeris


View Profile
November 27, 2013, 08:27:55 AM
 #190

Need some help compiling Armory on Ubuntu 13.10. It exits with:

You might want to repost this in an Ubuntu thread (or create one in the Armory sub-forum).  Since this is a thread about compiling on Mac OS X the Ubuntu or Linux experts are less likely to see it.
itod
Legendary
*
Offline Offline

Activity: 1008


^ will code for bitcoins


View Profile
November 27, 2013, 02:35:27 PM
 #191

Need some help compiling Armory on Ubuntu 13.10. It exits with:

You might want to repost this in an Ubuntu thread (or create one in the Armory sub-forum).  Since this is a thread about compiling on Mac OS X the Ubuntu or Linux experts are less likely to see it.

Oh, thanks, came here by Google search and haven't noticed the title. Will do.
etotheipi
Legendary
*
Offline Offline

Activity: 1428


Core Armory Developer


View Profile WWW
November 27, 2013, 04:59:23 PM
 #192

Need some help compiling Armory on Ubuntu 13.10. It exits with:
Code:
g++: error: /usr/lib64/libpython2.7.so.1.0: No such file or directory
make[1]: *** [swig] Error 1
make[1]: Leaving directory `/home/itod/BitcoinArmory/cppForSwig'
make: *** [all] Error 2
Sorry if this was answered somewhere, but having browsed through this thread haven't found an answer. Changing two lines in Make suggested in this post
https://bitcointalk.org/index.php?topic=56424.msg1463846#msg1463846
didn't help.

Please suggest a fix. Thanks.

Agreed this is the wrong thread, but I'll respond quickly.  Did you follow the instructions on the Building Armory from Source webpage?  I just tried it on a stock 13.10 install and it worked.

Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
itod
Legendary
*
Offline Offline

Activity: 1008


^ will code for bitcoins


View Profile
November 27, 2013, 05:27:26 PM
 #193

Need some help compiling Armory on Ubuntu 13.10. It exits with:
Code:
g++: error: /usr/lib64/libpython2.7.so.1.0: No such file or directory
make[1]: *** [swig] Error 1
make[1]: Leaving directory `/home/itod/BitcoinArmory/cppForSwig'
make: *** [all] Error 2
Sorry if this was answered somewhere, but having browsed through this thread haven't found an answer. Changing two lines in Make suggested in this post
https://bitcointalk.org/index.php?topic=56424.msg1463846#msg1463846
didn't help.

Please suggest a fix. Thanks.

Agreed this is the wrong thread, but I'll respond quickly.  Did you follow the instructions on the Building Armory from Source webpage?  I just tried it on a stock 13.10 install and it worked.

Yes, followed those instructions. Just found your advice to try the testing branch instead of master, will try latter today and let you know what happened.
itod
Legendary
*
Offline Offline

Activity: 1008


^ will code for bitcoins


View Profile
November 27, 2013, 09:58:36 PM
 #194

Once again sorry for the off-topic, but just to report that testing branch compiled OK. Hope these changes will soon be included in master.
Pages: « 1 2 3 4 5 6 7 8 9 [10]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!