[MacPorts] #29345: PyMOL 1.4 fails to build with gcc 4.4 error
MacPorts
noreply at macports.org
Fri May 6 19:37:31 PDT 2011
#29345: PyMOL 1.4 fails to build with gcc 4.4 error
------------------------------------------+---------------------------------
Reporter: michelle.lynn.gill@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: pymol
------------------------------------------+---------------------------------
Comment(by howarth@…):
I fixed another critical flaw in the new setup.py installation of pymol.
Currently the relax package can't load the pymol module.[[BR]]
The fix is to described in the
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/pymol/__init__.py[[BR]]
[[BR]]
# NOTE: with both methods, you should be able to get away with not[[BR]]
# specifying PYMOL_PATH if there is a subdirectory pymol_path
located[[BR]]
# in the "pymol" modules directory which points to the main[[BR]]
# pymol directory[[BR]]
[[BR]]
Note fedora is handling this wrongly because this comment is poorly
written. It should say that a symlink called pymol_path[[BR]]
pointing to the pymol site-packages directory should be created within it.
With this change, the explicit setting of PYMOL_PATH[[BR]]
in the pymol startup shell script can be dropped and programs like relax
which import the pymol module from python now get[[BR]]
the pymol_path appropriately, Please update both patches and the
Portfile.diff ASAP as this is a rather serious flaw.
--
Ticket URL: <https://trac.macports.org/ticket/29345#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list