Author

Topic: macports bitcoin build failed (Read 1845 times)

newbie
Activity: 29
Merit: 0
February 16, 2012, 11:00:09 PM
#2
I'm having the same problem.  Here is a gist of the output showing the failure:

https://gist.github.com/debb28925f72f99b3f1f
newbie
Activity: 42
Merit: 0
March 10, 2011, 03:25:35 AM
#1
All,

I appreciate the person who put bitcoin into macports, but I ran into an error while installing.  Maybe someone can help.

I'm using llvm-g++ installed by mac ports.  I think this is the issue, is there a certain version I should be using?  I ran into this same problem compiling the bitcoin client manually, without using mac ports.

Code:
llvm-g++ -c -mmacosx-version-min=10.5  -arch x86_64 -O3 -Wno-invalid-offsetof -Wformat -g -DwxDEBUG_LEVEL=0 -I/opt/local/lib/wx-devel/wx/include/osx_carbon-unicode-2.9 -I/opt/local/include/wx-devel/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_CARBON__  -D__WXMAC_OSX__ -DNOPCH -DMSG_NOSIGNAL=0 -DUSE_SSL -I/opt/local/include -I/opt/local/include/db48 -DGUI -o obj/util.o util.cpp
llvm-g++ -c -mmacosx-version-min=10.5  -arch x86_64 -O3 -Wno-invalid-offsetof -Wformat -g -DwxDEBUG_LEVEL=0 -I/opt/local/lib/wx-devel/wx/include/osx_carbon-unicode-2.9 -I/opt/local/include/wx-devel/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_CARBON__  -D__WXMAC_OSX__ -DNOPCH -DMSG_NOSIGNAL=0 -DUSE_SSL -I/opt/local/include -I/opt/local/include/db48 -DGUI -o obj/script.o script.cpp
cc1plus: error: unrecognized command line option "-arch"
cc1plus: error: unrecognized command line option "-arch"
make: *** [obj/script.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/util.o] Error 1
Jump to: