Hello,

I'm running python on version 2.3.5 and I've got some problems installing pygresql.
I tried with:
"python setup.py build"

Result:
"running build
running build_py
running build_ext
error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory)"

The directory /usr/lib/python2.3/config doen't exist. And I can't find a makefile anywhere.

I also tried compiling manualy with
"cc -fpic -shared -o _pg.so -I[/usr/local/cdat/include/python2.4/] -I[/usr/include/postgresql/server/] -L[/usr/lib/] -lpq pgmodule.c"

Result:
"pgmodule.c:32: postgres.h: No such file or directory
pgmodule.c:33: libpq-fe.h: No such file or directory
pgmodule.c:34: libpq/libpq-fs.h: No such file or directory
pgmodule.c:35: catalog/pg_type.h: No such file or directory
pgmodule.c:43: Python.h: No such file or directory"

Anybody an idea what's wrong? Do I have to edit pgmodule.c?

Greetings
Maik


_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to