From: DeLano, W. <wa...@su...> - 2002-02-05 01:31:30
|
Michael, Try checking out a new copy of the source code from the current CVS repository -- the Makefiles have been simplified somewhat, so compilation under Linux may go easier. You should only need to change the Python version in one place : ) Read "INSTALL.linux-rh7x" Cheers, Warren -- mailto:wa...@su... Warren L. DeLano, Ph.D. Informatics Manager Sunesis Pharmaceuticals, Inc. 341 Oyster Point Blvd. S. San Francisco, CA 94080 (650)-266-3606 FAX:(650)-266-3501 > -----Original Message----- > From: Michael George Lerner [mailto:ml...@um...] > Sent: Monday, January 28, 2002 1:44 PM > To: pym...@so... > Subject: [PyMOL] Installing from source on a linux box >=20 >=20 >=20 > Hi, >=20 > I have PyMol up and running on my windows partition .. the=20 > installation > was super easy. Now, I want to set it up on my Linux=20 > partition. I have > Mandrake 8.1 installed, which means that my default python=20 > version is 2.1. > It also means that many things (Numeric, zlib, etc..) are=20 > pre-installed > for me. >=20 > So, I downloaded the PyMol sources and tried to install it. In the > external packages bit, it looked like the only thing I need=20 > is glut. So, > I changed the setenv BASE line in build.com to point to the=20 > right place > (/home/mglerner/src/pymol/ext in my case) and changed the setenv > PYMOL_TARGETS line to say "glut-linux" and did "./build.com". I also > tried "./build.com glut-linux" for variety .. both seemed to work. >=20 > Then I went up a directory into the main pymol directory. I=20 > then moved > Rules.linux to Rules.make and edited it. There were many instances of > -lpython1.5 .. I changed all of them to -lpython2.1. It was=20 > still having > some trouble finding libpython2.1, so I added=20 > -L/usr/lib/python2.1/config > to the LIB_DIRS line. After typing make, things get pretty=20 > far, but it > doesn't get far enough. I wasn't sure how many of the error=20 > messages to > include, but I've tacked on the last screen or so of output=20 > at the end of > this message. >=20 > There were some things that made me think that various parts=20 > of this build > process were really looking for python sources in the ext=20 > directory, so I > placed a copy of the python 2.1 sources there just in case. It didn't > seem to help. >=20 > Sorry if this is a dumb question, >=20 > -michael >=20 > ------ begin output from make ------ >=20 > make[2]: Entering directory `/home/mglerner/src/pymol/contrib/modules' > rm -f *.o *~ > rm -f *.a tags TAGS config.c Makefile.pre python sedscript > rm -f *.so *.sl so_locations > VERSION=3D`../../ext/bin/python -c "import sys; print=20 > sys.version[:3]"`; \ > installdir=3D`../../ext/bin/python -c "import sys; print sys.prefix"`; = \ > exec_installdir=3D`../../ext/bin/python -c "import sys; print > sys.exec_prefix"`; \make -f ./Makefile.pre.in VPATH=3D. srcdir=3D. \ > VERSION=3D$VERSION \ > installdir=3D$installdir \ > exec_installdir=3D$exec_installdir \ > Makefile > /bin/sh: ../../ext/bin/python: No such file or directory > /bin/sh: ../../ext/bin/python: No such file or directory > /bin/sh: ../../ext/bin/python: No such file or directory > make[3]: Entering directory `/home/mglerner/src/pymol/contrib/modules' > make[3]: *** No rule to make target=20 > `/lib/python/config/Makefile', needed > by `sedscript'. Stop. > make[3]: Leaving directory `/home/mglerner/src/pymol/contrib/modules' > make[2]: *** [boot] Error 2 > make[2]: Leaving directory `/home/mglerner/src/pymol/contrib/modules' > make[1]: *** [make-modules] Error 2 > make[1]: Leaving directory `/home/mglerner/src/pymol/contrib' > make: *** [.contrib] Error 2 >=20 > ------ end output from make ------ >=20 > -- > This isn't a democracy;| _ |Michael Lerner > it's a cheer-ocracy. | ASCII ribbon campaign ( ) | Michigan > -Torrence, Bring It On| - against HTML email X | Biophysics > | / \ | mlerner@umich >=20 >=20 > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 |