Author

Topic: How to install macports on ubuntu server? (Read 867 times)

legendary
Activity: 4228
Merit: 1313
June 03, 2015, 09:40:57 PM
#10
actually I want to compile a OSX version of wallet, I have ubuntu server not not a mac yet

If you look at the gitian compile discussion it shows you how to build Linux, Windows and OS X on one machine. Perhaps that would be a good place to look too.

It doesn't need mac ports, btw. 
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
Three questions:

1) Can you use this apple cross-compiler? https://launchpad.net/~flosoft/+archive/ubuntu/cross-apple
2) Are you sure that you can't run the version compiled for ubuntu on OSX?  They should both be able to run ELF binaries, I would think.  Since their both UNIX like, maybe you just need to dynamically link some libraries and have your OSX users use LD_LIBRARY_PATH or something.  It's just a guess.  In either case, if you do have someone try a linux binary on OSX and it fails, I'd be curious to hear what the error was.
3) What wallet?  Is it a fork of bitcoin-core? a personal project?  Just curious here why you need to build for a system that you don't even have.
sr. member
Activity: 798
Merit: 253
actually I want to compile a OSX version of wallet, I have ubuntu server not not a mac yet
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
Thanks. I think maybe I need to get a mac laptop with osx in order to install macports since macports only works on osx?

From what I know abot macports, it *is* software intended to be run on a mac.  That's not to say that you couldn't find a way to compile it on GNU/Linux.  BTW, why do you want to run macports anyway.  If you have GNU/Linux, you have the GNU tools that (I think) macports is supposed to provide you access to.
sr. member
Activity: 798
Merit: 253
Thanks. I think maybe I need to get a mac laptop with osx in order to install macports since macports only works on osx?
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
how much

I'll help you for free on this thread if you actually post your compiler errors here.  You see the guide above.  If you actually started following the steps there and you got stuck then post what happened (in detail) if you want help.

Cheers.
sr. member
Activity: 798
Merit: 253
how much
newbie
Activity: 27
Merit: 0
i can help you with this but i want some little payment for it

PM sent
staff
Activity: 3458
Merit: 6793
Just writing some code
You are going to need to install it by compiling the source. Here is a link to the documentation: https://guide.macports.org/#installing.macports
sr. member
Activity: 798
Merit: 253
I want to install macports on ubuntu server to compile an OSX version of the wallet
Thanks
Jump to: