Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: JollyGreen on March 10, 2011, 08:25:35 AM



Title: macports bitcoin build failed
Post by: JollyGreen on March 10, 2011, 08:25:35 AM
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


Title: Re: macports bitcoin build failed
Post by: brian_armstrong on February 17, 2012, 04:00:09 AM
I'm having the same problem.  Here is a gist of the output showing the failure:

https://gist.github.com/debb28925f72f99b3f1f