Bug 20139

Summary: I need a Python DBAPI v2.0+ for Postgresql urgently!
Product: [Retired] Red Hat Linux Reporter: Need Real Name <cjmarshall>
Component: postgresqlAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED NOTABUG QA Contact: Dale Lovelace <dale>
Severity: high Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-02 07:42:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Need Real Name 2000-11-01 09:23:31 UTC
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 
get
> the following message when running make:
> 
> -fPIC  -fomit-frame-pointer -O6 -I/usr/include/python1.5 -
I/usr/lib/python1.
> 5/config -DHAVE_CONFIG_H=1  -DHAVE_LIBCRYPT=1  -I/usr/include/pgsql/ -
Wall -
> 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! 
I

appears as a redhat/postgresql packaging bug. if an rpm contains a link
to an inexistent file that's definitely a packaging problem.

Comment 1 Trond Eivind Glomsrxd 2000-11-01 16:12:57 UTC
Which postgresql RPM are you using?

Comment 2 Need Real Name 2000-11-02 07:42:35 UTC
The version is postgresql-7.0.2-2

Comment 3 Trond Eivind Glomsrxd 2000-11-02 17:05:43 UTC
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.