- This topic has 7 replies, 2 voices, and was last updated 10 years, 1 month ago by Anonymous.
October 12, 2013 at 6:10 am #1725Anonymous
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 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 BuildBindings.py 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?
October 12, 2013 at 6:24 am #9404Anonymous
I issued BuildBindings.py 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 BuildBindings.py to make system Boost lib unavaliable so that only my installed version is included?
October 12, 2013 at 7:42 am #9405Anonymous
I think maybe I should use -I/public/home/jeffs/usr/include/boost-1_38/ instead
October 12, 2013 at 10:53 am #9406Anonymous
I found the strange lib name “boost_python-gcc41-mt-1_38” in BuildBindings.py. In my built version of Boost, there is something like this “libboost_python-gcc41-mt-1_38.so”, I changed lib name accordingly, and it seems that it’s working
October 12, 2013 at 1:17 pm #9407Anonymous
am i amusing myself
October 13, 2013 at 1:35 pm #9408Anonymous
Lucky for me, I finally get the it built
October 14, 2013 at 3:11 pm #9411Anonymous
Normally, you don’t need to build PyRosetta – they are distributed as binaries for most systems on http://www.pyrosetta.org. If you are having problems with your build or need to build again, look at tools/PyRosetta.Develop/DeployPyRosetta.py
October 17, 2013 at 5:48 am #9426Anonymous
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/DeployPyRosetta.py you mentioned above. And, the building guide for pyrosetta in rosetta source needs to be updated, it’s misleading in some way.
- You must be logged in to reply to this topic.