[Zope] Building ZPyGreSQLDA on Linux

Daryl Tester dt@picknowl.com.au
Sun, 28 May 2000 14:45:10 +0930


Hung Jung Lu wrote:

> Let me try again, does any of you guys have a "config" subfolder inside your
> /usr/lib/python1.5/ folder?

Yes.  For the record (RedHat 6.1):

[dt@nipnyep dt]$ ls /usr/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

> I guess the "config" subfolder maybe an feature from the old python1.5,
> because in the new python1.5.2 there is no such a folder.

There should be _if you built your python from source_, or have the
python development RPMS installed (if you're on a platform that supports
RPMS - adjust to taste).  The config folder contains all the details
of building a new python runtime (or shared library module), so it's
unlikely to disappear anytime soon.

> I guess RedHat Python RPMs set up folder structures very differently from
> the plain source files build of Python.

No, they shouldn't - on previous platforms, I've usually built Python
from scratch, but on this box is the first time I've used RPMS exclusively
(mind you, I'm still using the Zope-2.1.4 RPM that contains its own
Python interpreter).  Try:

[dt@nipnyep dt]$ rpm -qa | egrep python
python-1.5.2-7
pythonlib-1.23-1
python-devel-1.5.2-7
python-docs-1.5.2-7
python-tools-1.5.2-7

(I feel an except: clause should go here :-)  The key RPM here being
python-devel-1.5.2-7.

> Contacted the author of ZPyGreSQLDA but so far no response...

It still looks like a local environment issue.


Regards,
  Daryl Tester