From: Don R. <dcr...@pa...> - 2002-10-01 23:12:11
|
Quoting Brian Lenihan <br...@ma...>: > The autoconf (2.52) which comes with Jaguar is broken on BSDish > systems. Either install the autoconf from Fink, or install the latest > version from GNU (2.54+). An alternative which may work is to edit > line 7294 of your /usr/share/autoconf.autoconf.m4f like so: > > exit (setpgrp (1,1) == -1 ? 0 : 1);])] > I have installed autoconf 2.52, and have rebuilt and reinstalled the pypgsql module. I am still getting : pgversion.c: In function `PgVersion_New': pgversion.c:125: warning: `c1' might be used uninitialized in this function pgversion.c:125: warning: `c2' might be used uninitialized in this function pgversion.c:125: warning: `c1' might be used uninitialized in this function pgversion.c:125: warning: `c2' might be used uninitialized in this function pgversion.c:125: warning: `c1' might be used uninitialized in this function pgversion.c:125: warning: `c2' might be used uninitialized in this function and pglargeobject.c: In function `PgLo_pickle': pglargeobject.c:1201: warning: unused variable `cnx' pglargeobject.c:1202: warning: unused variable `fd' while building. I am still getting ImportError: Failure linking new module when I try use the module eg: /Users/don/Documents/archive/Applications/pypgsql/test# python Python 2.2 (#1, 07/14/02, 23:25:09) [GCC Apple cpp-precomp 6.14] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys, os, string >>> from pyPgSQL import PgSQL Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 356, in ? from libpq import * File "/usr/lib/python2.2/site-packages/pyPgSQL/libpq/__init__.py", line 23, in ? from libpq import * ImportError: Failure linking new module >>> from pyPgSQL import * >>> from pyPgSQL import PgSQL >>> from libpq import * Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named libpq >>> from pyPgSQL.libpq import * >>> from libpq import * Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named libpq >>> DOn |