On Mon, 24 Apr 2006 10:35:28 +0200 Maik Trömel <[EMAIL PROTECTED]> wrote: > I'm running python on version 2.3.5 and I've got some problems
You didn't say what system, etc. you are running this on. > 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. Well, that's a problem with your Python installation. There should be a Python lib directory somewhere with it. On my NetBSD system it is in /usr/pkg/lib/.... Under FreeBSD it is in /usr/local/lib/... Check those directories and /usr/lib for python2.x and see if config is there. > 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" You shouldn't need to do anything manually but are you aware that you used 2.3 and 2.4 both in this message. Perhaps there is some confusion on your system. > Anybody an idea what's wrong? Do I have to edit pgmodule.c? No. Your problem is at the building stage, not code. -- D'Arcy J.M. Cain PyGreSQL Development Group http://www.PyGreSQL.org _______________________________________________ PyGreSQL mailing list [email protected] http://mailman.vex.net/mailman/listinfo/pygresql
