Error compiling on ubuntu 16.04

Member Site Forums PyRosetta PyRosetta – Build/Install Error compiling on ubuntu 16.04

Viewing 6 reply threads
  • Author
    Posts
    • #2540
      Anonymous

        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!

      • #11994
        Anonymous

          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.

        • #12515
          Anonymous

            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.

          • #13036
            Anonymous

              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.

            • #11995
              Anonymous

                For information of building PyRosetta-4 from source please see: http://www.pyrosetta.org/documentation#TOC-Building-PyRosetta-from-source

              • #12516
                Anonymous

                  For information of building PyRosetta-4 from source please see: http://www.pyrosetta.org/documentation#TOC-Building-PyRosetta-from-source

                • #13037
                  Anonymous

                    For information of building PyRosetta-4 from source please see: http://www.pyrosetta.org/documentation#TOC-Building-PyRosetta-from-source

                  • #12005
                    Anonymous

                      Thanks!  That worked great.

                    • #12526
                      Anonymous

                        Thanks!  That worked great.

                      • #13047
                        Anonymous

                          Thanks!  That worked great.

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