Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › Error arises when installing rosetta_src_2021.16.61629_bundle with scon
- This topic has 3 replies, 3 voices, and was last updated 3 years, 2 months ago by Anonymous.
-
AuthorPosts
-
-
September 28, 2021 at 3:08 pm #3845Anonymous
Dear all,
I am trying to install rosetta_src_2021.16.61629_bundle in CentOS system (Python 3.8. using:
./scons.py -j8 mode=release bin
However, it produces the following error:
AssertionError: Parameters of BuildFlags must be lists
scons: done reading SConscript files.
scons: Building targets …
scons: `bin’ is up to date.
scons: done building targets.
I cannot figure out what causes the error. Could you give me some hint? I will appreciate any help.
Best regards.
-
September 28, 2021 at 3:53 pm #16024Anonymous
I’m guessing the issue is with the format of your source/tools/build/site.settings or source/tools/build/user.settings files.
In particular, it looks like there may be a setting (a sub-setting of `flags`) which should be a list, but which you have provided in some other format.
-
September 29, 2021 at 3:00 am #16025Anonymous
@rmorett
Thank you.
Yes, in order to compile rosetta with higer version of gcc, I add two lines in the brace after the ‘flags’ in the source/tools/build/user.settings. Now it looks like:
“flags” : {
“cc” : “/opt/rh/devtoolset-7/root/usr/bin/gcc”,
“cxx” : “/opt/rh/devtoolset-7/root/usr/bin/g++”,
},
It the format wrong?
-
September 29, 2021 at 11:22 am #16027Anonymous
Looking at this page in the user guide:
https://new.rosettacommons.org/docs/latest/build_documentation/Cxx11Support
It would seem that the ‘value’ part of the key-value pair under ‘flags’ should be a list:
"flags" : {
"link" : ["Wl,-rpath=/home/user/downloaded_clang/lib/"]
}That being said, I’m pretty sure that’s not the correct way to change the compiler.
From the same page you can see that non-default compiler paths are added in the “overrides” section:
"overrides" : {
"cxx" : "/home/user/downloaded_clang/bin/clang++",
"cc" : "/home/user/downloaded_clang/bin/clang",
},
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.