Red Hat Bugzilla – Bug 20139
I need a Python DBAPI v2.0+ for Postgresql urgently!
Last modified: 2007-04-18 12:29:37 EDT
Here is some e-mail about a problem compiling PoPy-1.4.1 on RedHat, with
comments from Debian! I need a Python DBAPI v2.0+ for Postgresql urgently!
Can you help me?
Regards, Chris Marshall
Scavenging the mail folder uncovered Chris Marshall's letter:
> I have created the Makefile with correct include and lib for pgsql, but
> the following message when running make:
> -fPIC -fomit-frame-pointer -O6 -I/usr/include/python1.5 -
> 5/config -DHAVE_CONFIG_H=1 -DHAVE_LIBCRYPT=1 -I/usr/include/pgsql/ -
> DVERSION=\"1.4.1\" -c ./PoPymodule.c
> In file included from /usr/include/pgsql/c.h:47,
> from /usr/include/pgsql/postgres.h:40,
> from PoPymodule.h:37,
> from ./PoPymodule.c:35:
> /usr/include/pgsql/config.h:540: os.h: No such file or directory
> make: *** [PoPymodule.o] Error 1
> where os.h is a symbolic link to the absent ./include/port/linux.h file!
appears as a redhat/postgresql packaging bug. if an rpm contains a link
to an inexistent file that's definitely a packaging problem.
Which postgresql RPM are you using?
The version is postgresql-7.0.2-2
That isn't part of Red Hat Linux 6.2.
Anyway, I and Lamar cooperated on RPMS for Red Hat Linux 7, and you can find the
result compiled for Red Hat Linux 6.2 on the postgresql ftp server. Note that
these are not supported by us.