You are here

SCONS fails compiling legacy minirosetta on g++ error

3 posts / 0 new
Last post
SCONS fails compiling legacy minirosetta on g++ error


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# ./ -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/")
 File "/opt/minirosetta/rosetta_source/external/scons-local/scons-local-0.98.5/SCons/Sc
ript/", 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/", 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/", line 256, in _SConscript
   exec _file_ in call_stack[-1].globals
 File "/opt/minirosetta/rosetta_source/tools/build/", line 410, in <module>
   build = setup()
 File "/opt/minirosetta/rosetta_source/tools/build/", line 401, in setup
   build.options_requested, build.options = setup_build_options()
 File "/opt/minirosetta/rosetta_source/tools/build/", line 108, in setup_build_
   supported, actual.cxx, requested.cxx_ver
 File "/opt/minirosetta/rosetta_source/tools/build/", line 82, in sel
   (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.

are there any minirosetta aka version 3 binaries available?

thank you very much,

- Amy F.


Post Situation: 
Wed, 2019-07-17 09:39
Amy F

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

Wed, 2019-07-17 11:17
Amy F

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.)

Mon, 2019-08-26 11:45