From: Jef S. <jsp...@pr...> - 2002-03-07 21:29:18
|
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. To get around that I changed the configure script and added a set of 2.2 directories similar to the python2.1 listings....now configure enables python modules to be built...unfortunately I have a problem trying to build the python modules the make process places a symlink in tmp/python_dynamic Makefile.pre.in -> /usr/lib/python2.2/config/Makefile.pre.in I do not have a file named /usr/lib/python2.2/config/Makefile.pre.in is this a problem with my python2.2 install or is something amiss with the plplot configure/make scripts? I have the Numeric modules for python2.2 compiled and installed without a hitch..and it looks like they work from very basic testing. Any clues as to what I need to work around this would be great. -jef -- Thursday, March 07, 2002 04:22 PM ---------------------------------------------------------------- Jef Spaleta (jsp...@pr...) PPPL: (609)243-2941 Home: (609)688-8655 PO Box 451, MS30 221A Halsey St. Princeton, NJ 08543 Princeton, NJ 08540 ---------------------------------------------------------------- Press any key... no, no, no, NOT THAT ONE! |
From: Alan W. I. <ir...@be...> - 2002-03-07 22:26:35
|
Hello Jef: Your message is timely because in the last few days I have finally gotten guest access on a RH 7.2 system. I am tied up with something else at the moment, but I will try to take a look at this situation early next week. If some tweaks have to be made to plplot-5.1.0 to get RH 7.2 to work, I will publish a patch. 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 7 Mar 2002, Jef Spaleta wrote: > 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. > > To get around that I changed the configure script and added a set of 2.2 > directories similar to the python2.1 listings....now configure enables > python modules to be built...unfortunately I have a problem trying to > build the python modules > > the make process places a symlink in tmp/python_dynamic > Makefile.pre.in -> /usr/lib/python2.2/config/Makefile.pre.in > > I do not have a file named > /usr/lib/python2.2/config/Makefile.pre.in > > > is this a problem with my python2.2 install or is something amiss with > the plplot configure/make scripts? > > I have the Numeric modules for python2.2 compiled and installed without > a hitch..and it looks like they work from very basic testing. > > > Any clues as to what I need to work around this would be great. > > -jef > > -- > Thursday, March 07, 2002 04:22 PM > ---------------------------------------------------------------- > Jef Spaleta (jsp...@pr...) > PPPL: (609)243-2941 Home: (609)688-8655 > PO Box 451, MS30 221A Halsey St. > Princeton, NJ 08543 Princeton, NJ 08540 > ---------------------------------------------------------------- > Press any key... no, no, no, NOT THAT ONE! > > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |
From: Jef S. <jsp...@pr...> - 2002-03-07 22:29:15
|
Actually this isnt a stock redhat 7.2 install...the python 2.2 is out of rawhide....so whatever problem im having im sure its particularly nasty. -jef On Thu, 2002-03-07 at 17:26, Alan W. Irwin wrote: > Hello Jef: > > Your message is timely because in the last few days I have finally gotten > guest access on a RH 7.2 system. I am tied up with something else at the > moment, but I will try to take a look at this situation early next week. If > some tweaks have to be made to plplot-5.1.0 to get RH 7.2 to work, I will > publish a patch. > > 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 7 Mar 2002, Jef Spaleta wrote: > > > 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. > > > > To get around that I changed the configure script and added a set of 2.2 > > directories similar to the python2.1 listings....now configure enables > > python modules to be built...unfortunately I have a problem trying to > > build the python modules > > > > the make process places a symlink in tmp/python_dynamic > > Makefile.pre.in -> /usr/lib/python2.2/config/Makefile.pre.in > > > > I do not have a file named > > /usr/lib/python2.2/config/Makefile.pre.in > > > > > > is this a problem with my python2.2 install or is something amiss with > > the plplot configure/make scripts? > > > > I have the Numeric modules for python2.2 compiled and installed without > > a hitch..and it looks like they work from very basic testing. > > > > > > Any clues as to what I need to work around this would be great. > > > > -jef > > > > -- > > Thursday, March 07, 2002 04:22 PM > > ---------------------------------------------------------------- > > Jef Spaleta (jsp...@pr...) > > PPPL: (609)243-2941 Home: (609)688-8655 > > PO Box 451, MS30 221A Halsey St. > > Princeton, NJ 08543 Princeton, NJ 08540 > > ---------------------------------------------------------------- > > Press any key... no, no, no, NOT THAT ONE! > > > > _______________________________________________ > > Plplot-devel mailing list > > Plp...@li... > > https://lists.sourceforge.net/lists/listinfo/plplot-devel > > > -- Thursday, March 07, 2002 05:27 PM ---------------------------------------------------------------- Jef Spaleta (jsp...@pr...) PPPL: (609)243-2941 Home: (609)688-8655 PO Box 451, MS30 221A Halsey St. Princeton, NJ 08543 Princeton, NJ 08540 ---------------------------------------------------------------- I'm sure it's clearly explained in the Zmodem DOC's |
From: Maurice L. <mj...@ga...> - 2002-03-10 03:45:47
|
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... |
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 > |
From: Maurice L. <mj...@ga...> - 2002-03-10 23:31:52
|
Alan W. Irwin writes: > 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. Thanks, I was a little surprised myself that's what I had installed. -- Maurice LeBrun mj...@ga... |