Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › SCONS fails compiling legacy minirosetta on g++ error
- This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago by Anonymous.
-
AuthorPosts
-
-
July 17, 2019 at 4:39 pm #3195Anonymous
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.
-
July 17, 2019 at 6:17 pm #14843Anonymous
so I guess old scons and the new GCC aren’t compatible? can one compile rosetta or minirosetta w/o scons using just make?
-
August 26, 2019 at 6:45 pm #14897Anonymous
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.)
-
-
AuthorPosts
- You must be logged in to reply to this topic.