QBox Linux Admin | 4 Sep 2010 23:47
Picon
Favicon

Centos 5 support?

  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.
(Continue reading)

QBox Linux Admin | 5 Sep 2010 03:21
Picon
Favicon

Re: Centos 5 support?

  El 04/09/10 23:47, QBox Linux Admin escribió:

Ok,

Finally I build pypgsql from tar.

I installed various packages and reboot, I'm not sure what of them are 
really required: python-setuptools, python-tools, python-devel, 
postgresql-devel, postgresql-libs, postgresql-python.

Thank You anyway,

>    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 '=' , ',' , ';' ...
(Continue reading)


Gmane