error with Boost when building PyRosetta

Member Site Forums PyRosetta PyRosetta – Build/Install error with Boost when building PyRosetta

Viewing 5 reply threads
  • Author
    • #1725

        OS info:
        Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
        Red Hat Enterprise Linux Server release 5.4 (Tikanga)

        Python info:
        Python 2.7.3 (default, Sep 26 2012, 11:26:26)
        [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2

        Rosetta version 3.4

        I was trying to compile pyrosetta from source following the instructions in rosetta_source/src/python/bindings/building.txt.
        I installed all the required software and library.
        but compiling finished with failure.
        I checked the output and found that gcc was trying to include another version of Boost installed in /usr/include/boost/

        How do I tell to include my version of Boost only?

        Another question:Rosetta 3.4 compiles with Boost 1.46, is that OK compiling pyrosetta with Boost 1.38?

      • #9404

          I issued with argument “-I/public/home/jeffs/usr/include/boost-1_38/boost”, and it seems that GCC is trying to include both version of Boost, for some error complains about Boost headers from system dir, while some complains about Boost headers from my installed version.
          Is it possible to hack to make system Boost lib unavaliable so that only my installed version is included?

        • #9405

            I think maybe I should use -I/public/home/jeffs/usr/include/boost-1_38/ instead

          • #9406

              I found the strange lib name “boost_python-gcc41-mt-1_38” in In my built version of Boost, there is something like this “”, I changed lib name accordingly, and it seems that it’s working

            • #9407

                am i amusing myself

              • #9408

                  Lucky for me, I finally get the it built

                • #9411

                    Normally, you don’t need to build PyRosetta – they are distributed as binaries for most systems on If you are having problems with your build or need to build again, look at tools/PyRosetta.Develop/

                  • #9426

                      ya ya you are right, but our cluster is a little bit old, pyrosetta of new version doesn’t support it. By the way, I didn’t find the file tools/PyRosetta.Develop/ you mentioned above. And, the building guide for pyrosetta in rosetta source needs to be updated, it’s misleading in some way.

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