SCONS fails compiling legacy minirosetta on g++ error

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install SCONS fails compiling legacy minirosetta on g++ error

Viewing 2 reply threads
  • Author
    Posts
    • #3195
      Anonymous

        Hi:

        I am trying to compile minirosetta for a legacy application, but the scons file has a problem with my GCC and even clang build.  I get this error on compile attempt, and I have sucessfully compiled the most recent rosetta build on other ocassions.

        root@f5bce45d7e00:/opt/minirosetta/rosetta_source# ./scons.py -j 2 mode=release bin

        scons: Reading SConscript files …

        Traceback (most recent call last):

         File “/opt/minirosetta/rosetta_source/SConstruct”, line 137, in main

           build = SConscript(“tools/build/setup.py”)

         File “/opt/minirosetta/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Sc

        ript/SConscript.py”, line 596, in __call__

           return apply(method, args, kw)

         File “/opt/minirosetta/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Sc

        ript/SConscript.py”, line 533, in SConscript

           return apply(_SConscript, [self.fs,] + files, subst_kw)

         File “/opt/minirosetta/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Sc

        ript/SConscript.py”, line 256, in _SConscript

           exec _file_ in call_stack[-1].globals

         File “/opt/minirosetta/rosetta_source/tools/build/setup.py”, line 410, in <module>

           build = setup()

         File “/opt/minirosetta/rosetta_source/tools/build/setup.py”, line 401, in setup

           build.options_requested, build.options = setup_build_options()

         File “/opt/minirosetta/rosetta_source/tools/build/setup.py”, line 108, in setup_build_

        options

           supported, actual.cxx, requested.cxx_ver

         File “/opt/minirosetta/rosetta_source/tools/build/setup_platforms.py”, line 82, in sel

        ect_compiler_version

           (actual, compiler)

        KeyError: “Unknown version number 7.3 for compiler ‘gcc'”

        scons: done reading SConscript files.

        scons: Building targets …

        scons: `bin’ is up to date.

        scons: done building targets.

        root@f5bce45d7e00:/opt/minirosetta/rosetta_source#

        are there any minirosetta aka version 3 binaries available?

        thank you very much,

        – Amy F.

         

      • #14843
        Anonymous

          so I guess old scons and the new GCC aren’t compatible?  can one compile rosetta or minirosetta w/o scons using just make?

        • #14897
          Anonymous

            I haven’t ever tried to compile an older version of Rosetta with GCC 7.3, but one possiblity to try is to edit /opt/minirosetta/rosetta_source/tools/build/options.settings and add “7.3” to the list after “gcc” there.

            (Note, though, that the minirosetta application should still be compiled with recent versions of Rosetta, and should work more-or-less the same as before [modulo various things like scorefunction updates]. I’d only recommend using the older versions of Rosetta if you explicitly need to recapitulate the exact behavior of the older versions of Rosetta.)

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