Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › rosetta 3.2.1 on mac os 10.6.8 – compiling problem
- This topic has 5 replies, 2 voices, and was last updated 13 years, 1 month ago by
Anonymous.
-
AuthorPosts
-
-
July 11, 2011 at 5:48 pm #972
Anonymous
I am having trouble compiling rosetta. In the directory rosetta_source I ran varous “python scons.py mode=release [etc]” commands and ended up with various errors. Below I put three examples. I have installed the XCode tools and have gcc version 4.2. I don’t want to install another version since seems to require other programs (gmp and mpfr) and I have run into problems compiling them.
>python scons.py mode=release bin -j2
src/apps/public/AbinitioRelax.cc:1: sorry, unimplemented: 64-bit mode not compiled in
src/apps/public/AbinitioRelax.cc:1: error: bad value (generic) for -mtune= switch
scons: warning: Ignoring corrupt sconsign entry : build/src/release/macos/10.6/64/x86/gcc/protocols ((‘object.__new__(X): X is not a type object (classobj)’,, ( , , None)))
File “scons.py”, line 162, in
scons: *** [build/src/release/macos/10.6/64/x86/gcc/apps/public/AbinitioRelax.o] Error 1
g++ -o build/src/release/macos/10.6/64/x86/gcc/protocols/init.os -c -pipe -ffor-scope -W -Wall -pedantic -Wno-long-long -m64 -march=nocona -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/macos/64/gcc -Isrc/platform/macos/64 -Isrc/platform/macos -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/protocols/init.cc
src/protocols/init.cc:1: sorry, unimplemented: 64-bit mode not compiled in
src/protocols/init.cc:1: error: bad value (generic) for -mtune= switch
scons: *** [build/src/release/macos/10.6/64/x86/gcc/protocols/init.os] Error 1
scons: building terminated because of errors.>python scons.py mode=release bin cxx_ver=4.2 -j2
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
scons: *** [build/src/release/macos/10.6/64/x86/gcc/4.2/libObjexxFCL.dylib] Error 1
scons: building terminated because of errors.>python scons.py mode=release bin cxx_ver=4.2 -j2 arch=x86 arch_size=32
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
scons: *** [build/src/release/macos/10.6/32/x86/gcc/4.2/libObjexxFCL.dylib] Error 1
scons: building terminated because of errors. -
July 11, 2011 at 7:48 pm #5841
Anonymous
A) Are you the same guy that’s working with Nir?
Did you install gcc/xcode from a DVD for a 32 bit or 64 bit OS? Perhaps you installed it from a source other than the one that came with the computer? The first set of errors seems to say that the computer wants a different set of libraries than the ones it has. (I’m well in to wild guess territory here; we can never solve the sorts of problems centrally since it’s an issue pretty specific to one computer)
-
July 12, 2011 at 5:54 am #5845
Anonymous
Yeah… Nir has been a great help trying to figure this out. I downloaded the Xcode tools (version 4) from the app store since I’m away from home and don’t have my installer CD. I’m going to try some options like “-march=cpu-type”, “mtune=i386” which I found in the XCode help documentation.
-
July 12, 2011 at 2:33 pm #5847
Anonymous
The error message “sorry, unimplemented: 64-bit mode not compiled in” implies to me that the problem is your compiler isn’t quite right for the system – did you have other options for things to download?
-
July 13, 2011 at 5:50 am #5851
Anonymous
No, no options, but I’m going to try to download XCode 3.
-
July 14, 2011 at 8:52 am #5855
Anonymous
It worked!
-
-
AuthorPosts
- You must be logged in to reply to this topic.