Hi All,
In case anyone was interested, I was recently able to install pymol on
tru64 and figured I'd post how I did it.
This isn't as straightfoward as a linux build, but most of the difficulty
comes from building the extensions.  For ext-0.95 and pymol-0.97, follow
the generic instructions, except for the following changes.

1. In build.com, add setenv PYTHONHOME ${BUILD} before the EXT_TARGETS line.
2. Use 2 EXT_TARGETS lines: "tcl tk zlib python" ; "numpy pmw png-irix
glut-linux"
3. Change setenv MAKE make to setenv MAKE gmake
4. Uncomment the "tcl tk zlib python" and run build.com
5. Change the installed version of pyconfig.h to define XOPEN 400.
6. Change src/patches/libpng/makefile.sgi to use the correct version of
zlib (zlib-1.2.1 is included in ext-0.95, but this makefile tries to use
zlib-1.1.4).
7.  Comment out the first EXT_TARGETS line in build.com, and uncomment the
second.
8. run build.com again to build final set of dependencies.  That's it for
ext.
9. In Rules.make, change CCOPT2 to remove gcc specific optimizations
(don't use -funroll-loops -fomit-frame-pointer).

And that's it.  This is more of a work-around than an actual fix; probably
the changes to pyconfig.h should be done during python configuration, but
I wasn't able to make that work (for that matter, I'm not exactly clear on
what XOPEN does, but leaving it at the configure-generated value of 600
causes problems with sys/time.h and sys/stat.h).  The zlib version for
libpng-sgi appears to be a bug in this ext version.

Pete


Pete Meyer
Fu Lab
BMCB grad student
Cornell University


Reply via email to