From: QBox L. A. <li...@qb...> - 2010-09-04 22:14:23
|
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 |