- This topic has 4 replies, 2 voices, and was last updated 12 years, 4 months ago by Anonymous.
August 11, 2011 at 4:52 pm #1006Anonymous
I’m getting a strange error during the build process when I try to compile the new 3.3 version. I haven’t had problems on the same computer/setup with previous versions. The problem appears to be that scons is passing bad commandline options to gcc, specifically a ‘- s t d = c 9 9’ string where the spaces are giving gcc hiccups. Any ideas? I tried correcting the gcc commandline, running separately, then going back to the scons commands again. It just has a problem on the next compilation instead. Scons output is below.
scons: Reading SConscript files …
/usr/lib/scons/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
/usr/lib/scons/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
scons: done reading SConscript files.
scons: Building targets …
gcc -o build/external/release/linux/2.6/32/x86/gcc/dbio/sqlite3/sqlite3.os -c – s t d = c 9 9 -isystem external/boost_1_46_1/boost/ -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -fno-fast-math -fPIC -DNDEBUG -DSQLITE_DISABLE_LFS -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_THREADSAFE=0 -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/local/include -I/usr/include external/dbio/sqlite3/sqlite3.c
gcc: s: No such file or directory
gcc: t: No such file or directory
gcc: d: No such file or directory
gcc: =: No such file or directory
gcc: c: No such file or directory
gcc: 9: No such file or directory
gcc: 9: No such file or directory
gcc: cannot specify -o with -c or -S with multiple files
g++ -o build/src/release/linux/2.6/32/x86/gcc/core/conformation/PointGraph.os -c -isystem external/boost_1_46_1/boost/ -isystem external/boost_1_46_1/boost/ -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/32/gcc -Isrc/platform/linux/32 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/local/include -I/usr/include src/core/conformation/PointGraph.cc
scons: building terminated because of errors.
August 11, 2011 at 7:47 pm #5956Anonymous
If you’ve been able to build Rosetta before, try copying the whole tools/ directory from a working version to the nonworking version. You might also try doing the same with external/scons-local. This is really a build system thing more than a Rosetta thing so my knowledge is unfortunately limited (which I hate to say after upselling the boards at RosettaCON). I’ll see if I can find a duplicate error online somewhere…
August 11, 2011 at 8:42 pm #5957Anonymous
What is your python version (python -V) and which scons are you using, an installed scons or scons.py (which paths to scons-local)?
August 12, 2011 at 5:50 pm #5959Anonymous
I commented out the two mentions of “std=c99” in rosetta_source/basic.settings. It compiles now. Hopefully it works. I’ll post again if it doesn’t.
August 12, 2011 at 6:18 pm #5960Anonymous
There’s no C in the code (well, there’s not supposed to be), and I don’t think there’s any C in the external libraries, so I think this should work fine.
- You must be logged in to reply to this topic.