gcc/scons Rosetta3.3 compile error on RHEL5, 32bit Linux, scons0.98.4, python2.6.2, gcc 4.1.2

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install gcc/scons Rosetta3.3 compile error on RHEL5, 32bit Linux, scons0.98.4, python2.6.2, gcc 4.1.2

Viewing 3 reply threads
  • Author
    Posts
    • #1006
      Anonymous

        Hi guys,
        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.

        thanks!

        -Louis

        scons: Reading SConscript files …
        /usr/lib/scons/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
        import popen2
        /usr/lib/scons/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
        import md5
        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.

      • #5956
        Anonymous

          Hi Louis,

          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…

        • #5957
          Anonymous

            What is your python version (python -V) and which scons are you using, an installed scons or scons.py (which paths to scons-local)?

          • #5959
            Anonymous

              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.
              thanks,
              -Louis

            • #5960
              Anonymous

                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.

            Viewing 3 reply threads
            • You must be logged in to reply to this topic.