From: Alan W. I. <ir...@be...> - 2002-03-10 18:43:11
|
I will probably have to wait a number of days to investigate this directly because the RH7.2 systems our astrogroup sysadmin installed last week are incomplete (no devel packages). It will take a while to straighten this out because he has higher priorities at the moment (dealing with some hard disk drive problems that have suddenly shown up). So here are my questions/comments from the (temporary) sidelines: On my Debian woody system, /usr/lib/python2.1/config/Setup.config exists, and is part of the python2.1-dev package. On the RH 7.1 system where I built PLplot 5.1.0 rpm's /usr/lib/python1.5/config/Setup.config does not exist. Nevertheless, the pl python module built cleanly there so I suspect that file is internal to python 2.1. Therefore, I suspect that the PLplot configuration is getting confused between the 2.1 and 1.5 devel packages on your system, and it is looking for the 2.1 file, Setup.config, in the 1.5 location. I am hopeful of knowing more by the end of this week when I should be able to get my hands on a RH7.2 system with all the devel packages installed. But meanwhile, you might be able to get things to build properly using environment variables to force your system to always use the 1.5 versions of everything. Those work well in the RH7.1 case. One other concern I have is your use of a SuSe package for python-numpy. The one I used for RH6.2 (and 7.1) is called python-numpy-15.3-1.i386.rpm. I cannot remember the exact URL where I got it (perhaps RedHat contrib), but I have just done another search for that rpm, and one location is right at the numpy site itself, http://prdownloads.sourceforge.net/numpy/python-numpy-15.3-1.i386.rpm. That's not an identical build to the one I used, but I think that is probably the most trustworthy location. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Sat, 9 Mar 2002, Maurice LeBrun wrote: > Jef Spaleta writes: > > Hi I've been trying to compile plplot on a redhat 7.2 base system with > > python 2.2-7 installed and I can't seem to get the install of plplot to > > work. > > > > First i noticed that the configure script that comes with plplot does > > not know how to find the /usr/lib/python2.2 directory tree. > > I recently upgraded my laptop computer to RH7.2 and just got a chance to > test this. I'm seeing a similar problem with the python configuration. > The output looks like: > > ... > Building PyQt Python module. > > echo 'pyqt_pl pyqt_plmodule.c -I. -I/usr/include/python2.1 -I/usr/include/python1.5/Numeric -L.. -L. -lplplot -ltclmatrix -L/home/mjl/gts/lib -litk3.2 -ltk8.3 -litcl3.2 -ltcl8.3 -L/usr/X11R6/lib -lX11 -ldl -lm -Wl,-rpath -Wl,/home/mjl/dev/plplot/latest/tmp' >> python_dynamic/Setup.in > cd python_dynamic ; make -s -f Makefile.pre.in boot ; make -s ; \ > mv -f pyqt_plmodule.so .. > cat: /usr/lib/python1.5/config/Setup.config: No such file or directory > cat: /usr/lib/python1.5/config/Setup.config: No such file or directory > > The python related packages I've got installed are: > > rpheus$ rpm -qa |grep python > rpm-python-4.0.3-1.03 > mod_python-2.7.6-1 > python2-2.1.1-2 > python-numpy-17.3.0-1suse > python-tools-1.5.2-35 > python2-devel-2.1.1-2 > python-devel-1.5.2-35 > python-docs-1.5.2-35 > python-xmlrpc-1.5.1-7.x.3 > python-1.5.2-35 > > All the latest patched rpm's for 7.2 from a RedHat mirror site. Note both > python1.5 and python2 come with RH 7.2 and don't interfere dependency-wise > so presumably they are supposed to coexist peacefully. > > I haven't seen any other problems under 7.2 but I haven't done extensive > testing either. > > -- > Maurice LeBrun mj...@ga... > > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |