[Zope] Building ZPyGreSQLDA on Linux

Daryl Tester dt@picknowl.com.au
Sun, 28 May 2000 20:50:19 +0930


Hung Jung Lu wrote:

> Trust me, and please take the time to verify yourself, and let me repeat
> once and for all: the "config" subfolder is a deprecated feature in Python.
> It's gone. Bye bye to "config". It no longer exists in Python distribution
> 1.5.2.

OK - I just pulled down a _fresh_ copy of py152.tgz (eschewing the source
copy that came with RedHat 6.1), and built it using:

./configure --prefix=/usr/foo --exec-prefix=/usr/foo
make
make test
make install

Finally, examining the results:

[dt@nipnyep Python-1.5.2]$ ls /usr/foo/lib/python1.5/config/
Makefile	 Setup.local   config.c.in     makesetup
Makefile.pre.in  Setup.thread  install-sh      python.o
Setup		 config.c      libpython1.5.a

${PREFIX}/lib/python1.5/config - same as my other install
(or, as Aristotle said, "deprecated, my arse").  I think
you will find that your problem stems from not having installed
Python, but instead are running it from your home directory.

> As you can see, a lot of your files that  used to be inside the "config"
> subfolder are nowadays at the root of the Python installation directory.

No, they're not.

> It seems to me that Python installation has changed substantially from 1.5
> to 1.5.2.

[dt@nipnyep Python-1.5.2]$ which python
/usr/bin/python
[dt@nipnyep Python-1.5.2]$ /usr/bin/python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam

1.5.2.

> Regards and thanks again to all who have helped. I'll post a summary on how
> to install ZPyGreSQLDA with Python 1.5.2, if I succeed to. :)

I've done it, and it just worked. ZPyGreSQLDA built "out of the box" with
no problems, and it runs fine.  As I said before, your grievances appear
environmental.


Regards,
  Daryl Tester