Member Site › Forums › PyRosetta › PyRosetta – Build/Install › Error compiling on ubuntu 16.04
- This topic has 9 replies, 3 voices, and was last updated 8 years ago by Anonymous.
-
AuthorPosts
-
-
November 30, 2016 at 9:26 pm #2540Anonymous
Hi,
I’m having trouble compiling PyRosetta on Ubuntu 16.04 64-bit
Rosetta version is: rosetta_src_2016.46.59086_bundle
gcc version is 5.4.0
Python version is 2.7.12
Initially I set up PyRosetta for compilation by executing “DeployPyRosetta.py” in “tools/PyRosetta.develop”. I ran into an issue compiling gccxml, and added the flag “-DCMAKE_C_FLAGS=-fgnu89-inline” to the DeployPyRosetta.py script to get the setup script to run to completion.
I’ve copied BuildPyRosetta.sh to “main/source”, and trid to run it. The compilation gets as far as “Generating XML representation” before throwing an error:
“gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory”.
From what I can tell, this seems to be an issue with gcc versions > 5.0
Any ideas how to fix this?
Thanks!
-
November 30, 2016 at 9:34 pm #11994Anonymous
Recently the Rosetta codebase switched over to C++11. Unfortunately, GCCXML can’t handle C++11 code, so the old way of building PyRosetta doesn’t work anymore with new weekly releases. There is a new way of building PyRosetta that does work with C++11, but that needs a different approach to building.
Do you need to build PyRosetta from source? If you’re not doing any C++ code modifications, you probably don’t. Especially on Ubuntu 16.04, the provided binaries from http://www.pyrosetta.org/dow should work for you, with less hassle than trying to build PyRosetta it yourself.
-
November 30, 2016 at 9:34 pm #12515Anonymous
Recently the Rosetta codebase switched over to C++11. Unfortunately, GCCXML can’t handle C++11 code, so the old way of building PyRosetta doesn’t work anymore with new weekly releases. There is a new way of building PyRosetta that does work with C++11, but that needs a different approach to building.
Do you need to build PyRosetta from source? If you’re not doing any C++ code modifications, you probably don’t. Especially on Ubuntu 16.04, the provided binaries from http://www.pyrosetta.org/dow should work for you, with less hassle than trying to build PyRosetta it yourself.
-
November 30, 2016 at 9:34 pm #13036Anonymous
Recently the Rosetta codebase switched over to C++11. Unfortunately, GCCXML can’t handle C++11 code, so the old way of building PyRosetta doesn’t work anymore with new weekly releases. There is a new way of building PyRosetta that does work with C++11, but that needs a different approach to building.
Do you need to build PyRosetta from source? If you’re not doing any C++ code modifications, you probably don’t. Especially on Ubuntu 16.04, the provided binaries from http://www.pyrosetta.org/dow should work for you, with less hassle than trying to build PyRosetta it yourself.
-
December 1, 2016 at 12:40 am #11995Anonymous
For information of building PyRosetta-4 from source please see: http://www.pyrosetta.org/documentation#TOC-Building-PyRosetta-from-source
-
December 1, 2016 at 12:40 am #12516Anonymous
For information of building PyRosetta-4 from source please see: http://www.pyrosetta.org/documentation#TOC-Building-PyRosetta-from-source
-
December 1, 2016 at 12:40 am #13037Anonymous
For information of building PyRosetta-4 from source please see: http://www.pyrosetta.org/documentation#TOC-Building-PyRosetta-from-source
-
December 8, 2016 at 3:27 pm #12005Anonymous
Thanks! That worked great.
-
December 8, 2016 at 3:27 pm #12526Anonymous
Thanks! That worked great.
-
December 8, 2016 at 3:27 pm #13047Anonymous
Thanks! That worked great.
-
-
AuthorPosts
- You must be logged in to reply to this topic.