<div dir="ltr"><div><div>Dear all,<br><br></div>I would like to try phenix.rosetta_refine and it is said in the online tutorial that the phenix should be built from source code in linux. However I ran into some errors, and I am too far from a linux export to figure it out. I am using Debian Wheezy with kernel 3.2.0-4-amd64. I download the source installer (phenix-installer-1.9-1683-source.tar) and run the installer as:<br>
<br></div><div># ./install --prefix=/usr/local/src --nproc=8 --no-gui (it seems from README-DEV that there is no --python-shared flag as described in the online tutorial)<br><br></div><div>After while, I receive the following error message:<br>
<br>*************************************************************************************************************************<br>Installing Imaging...<br>� log file is /workspace/setup/phenix-installer-1.9-1683/build-source/intel-linux-2.6-x86_64/cz-thinkpadw530-debian/tmp/Imaging_install_log<br>
� getting package Imaging-1.1.7.tar.gz...<br>��� using /workspace/setup/phenix-installer-1.9-1683/base/Imaging-1.1.7.tar.gz<br>Traceback (most recent call last):<br>� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/install", line 9, in <module><br>
��� install_cctbx_base.installer(args=sys.argv, log=sys.stdout)<br>� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/install_cctbx_base.py", line 95, in __init__<br>��� self.build_cctbx_dependencies()<br>
� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/install_cctbx_base.py", line 134, in build_cctbx_dependencies<br>��� self.build_imaging()<br>� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/install_cctbx_base.py", line 349, in build_imaging<br>
��� confirm_import_module="Image")<br>� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/install_cctbx_base.py", line 325, in build_python_module_simple<br>��� log=pkg_log)<br>� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/install_cctbx_base.py", line 150, in call<br>
��� return call(args, log=log)<br>� File "/workspace/setup/phenix-installer-1.9-1683/lib/libtbx/auto_build/installer_utils.py", line 51, in call<br>��� raise RuntimeError("Call to '%s' failed with exit code %d" % (args, rc))<br>
RuntimeError: Call to '/usr/local/src/phenix-1.9-1683/build/intel-linux-2.6-x86_64/base/bin/python setup.py build ' failed with exit code 1<br>FATAL ERROR: aborting installation.<br>*************************************************************************************************************************<br>
</div><div><br>I looked into Imaging_install_log, and at the end, I have the following errors:<br><br>*************************************************************************************************************************<br>
/usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC<br>/usr/local/lib/libpython2.7.a: could not read symbols: Bad value<br>
collect2: error: ld returned 1 exit status<br>error: command 'gcc' failed with exit status 1<br>***************************************************************************************************************************<br>
<br></div><div>Could anybody help me out?<br><br></div><div>Thank you so much,<br></div><div>Chen<br></div><div><br></div></div>