Bitcoin Forum
May 25, 2024, 02:00:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: macports bitcoin build failed  (Read 1827 times)
JollyGreen (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 10, 2011, 08: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
brian_armstrong
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
February 17, 2012, 04:00:09 AM
 #2

I'm having the same problem.  Here is a gist of the output showing the failure:

https://gist.github.com/debb28925f72f99b3f1f
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!