Hi all
I'm having problems with "PyGreSQL-3.6.2"
The problem is it can't find the postgres "pg_config" file, seems
like mine is in a non-standard location, located in
"/usr/local/pgsql/bin/pg_config"
How do i inform "PyGreSQL-3.6.2 setup.py" of it's location ?
Is there a comand line option to do so ?
Error.....
[EMAIL PROTECTED] PyGreSQL-3.6.2]# python setup.py build
sh: line 1: pg_config: command not found
sh: line 1: pg_config: command not found
sh: line 1: pg_config: command not found
running build
running build_py
not copying pg.py (output up-to-date)
not copying pgdb.py (output up-to-date)
running build_ext
building '_pg' extension
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC
-fPIC -I -I -I/usr/include/python2.2 -c pgmodule.c -o
build/temp.linux-i686-2.2/pgmodule.o
pgmodule.c:31:22: postgres.h: No such file or directory
pgmodule.c:32:22: libpq-fe.h: No such file or directory
pgmodule.c:33:28: libpq/libpq-fs.h: No such file or directory
pgmodule.c:34:29: catalog/pg_type.h: No such file or directory
pgmodule.c:120: parse error before '*' token
pgmodule.c:131: parse error before "PGconn"
pgmodule.c:131: warning: no semicolon at end of struct or union
pgmodule.c:132: warning: data definition has no type or storage
class
pgmodule.c:133: parse error before '}' token
pgmodule.c:133: warning: data definition has no type or storage
class
pgmodule.c: In function `pgobject_New':
------------------------------------------------------------------------------------------
Linux Redhat 9.0
python-2.2.2-26
python-devel.2.2.2-26
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
PyGreSQL mailing list
[EMAIL PROTECTED]
http://mailman.vex.net/mailman/listinfo/pygresql