I need help building the PostGreSQL database adapter on Linux.

Sigh... why is installing everything on Linux such a nightmare? ZPyGreSQLDA 
installation is in such a primitive stage... I don't understand... it's like 
it's written to work with one very particular directory structure at the 
author's machine, and the heck with the rest of the world. :) Why not just 
write something to build the C Python module in place and then tell the user 
to move the compile C Python module (.so) to whereever it needs to be moved?

The problem now is that the ZPyGreSQLDA/Makefile.pre.in has all kinds of 
settings of folder structures that don't match with my folder structure.

I get the following error: (yes yes, I have played with PATH and the 
<prefix> variable mentioned inside Makefile.pre.in... and by the way, the 
FTP site ftp://www.eevolute.com/pub/python/ mentioned in README.linux no 
longer exists.)

[hjlu@www src]$ make -f Makefile.pre.in boot
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`python -c "import sys; print sys.version[:3]"`; \
installdir=`python -c "import sys; print sys.prefix"`; \
exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \
make -f ./Makefile.pre.in VPATH=. srcdir=. \
        installdir=$installdir \
        exec_installdir=$exec_installdir \
make[1]: Entering directory 
make[1]: *** No rule to make target 
kefile', needed by `sedscript'.  Stop.
make[1]: Leaving directory 
make: *** [boot] Error 2


Not that I like to complain, but every time I run into a trouble, dozens 
more people will run into the same problem. I still remember when I 
complained about some other database adapter, someone popped up and said "I 
have been running it with ZERO problem"... and 3 months later the same 
person was screaming about the very database adapter that that supposingly 
had "ZERO problem".

Things do improve. I remember the days when Python couldn't be installed 
easily, but nowadays even the Tcl/Tk part of Python has been absorbed into a 
single installer on Windows system. And it's as trivial as 
one-click-does-it-all. PostGreSQL has been around for a while, now. And I 
guess we all could do a little bit more towards making the installation of 
the adapter easier.

Hung Jung

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to