Centos 5 support?

QBox Linux Admin <[email protected]> Sat, 04 Sep 2010 23:47:08 +0200
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
  Hi,

I'm trying to install pypgsql into a Centos 5 distribution.
I don't see pypgsql package.


I have downloaded RedHat .rpm package but itd don't install.
Also I tried downloading .tar.gz and build it. But I get some errors:

     in libpqmodule.c:74:20: error: Python.h: File or Directory doesn't 
exist.
         (also same error with structmember.h and fileobject.h)


     Other errors are:
         pgboolean.h:44: error: expected specifier-qualifier-list before 
'PyObject_HEAD'
         pgboolean.h:48: error: expected '=' , ',' , ';' ...


Is there an easy way to install an rpm package for Centos 5?
do you have an idea of the necesary paths or mising installation files 
for build the .tar.gz ?


Thank you,


         S.R.Parda



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd