From: Steven D. A. <st...@ne...> - 2002-11-02 05:18:15
|
I tried compiling pyPgSQL 2.3 beta 1 with the result below. I did not modify the setup.py; there was nothing obvious to change. [thoth@paranoia:~/Source/pypgsql] > sudo python setup.py install Password: running install running build running build_py creating build creating build/lib.darwin-6.1-Power Macintosh-2.3 creating build/lib.darwin-6.1-Power Macintosh-2.3/pyPgSQL copying pyPgSQL/__init__.py -> build/lib.darwin-6.1-Power Macintosh-2.3/pyPgSQL copying pyPgSQL/PgSQL.py -> build/lib.darwin-6.1-Power Macintosh-2.3/pyPgSQL creating build/lib.darwin-6.1-Power Macintosh-2.3/pyPgSQL/libpq copying pyPgSQL/libpq/__init__.py -> build/lib.darwin-6.1-Power Macintosh-2.3/pyPgSQL/libpq running build_ext building 'pyPgSQL.libpq.libpqmodule' extension creating build/temp.darwin-6.1-Power Macintosh-2.3 gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgconnection.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgconnection.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c libpqmodule.c -o build/temp.darwin-6.1-Power Macintosh-2.3/libpqmodule.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgboolean.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgboolean.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c port/strtoull.c -o build/temp.darwin-6.1-Power Macintosh-2.3/strtoull.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pymemstrdup.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pymemstrdup.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c port/strtoll.c -o build/temp.darwin-6.1-Power Macintosh-2.3/strtoll.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgversion.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgversion.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c port/strtok.c -o build/temp.darwin-6.1-Power Macintosh-2.3/strtok.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgint2object.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgint2object.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgint8object.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgint8object.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgnotify.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgnotify.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pglargeobject.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pglargeobject.o gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp -I/usr/local/pgsql/include -I/usr/local/include/python2.3 -c pgresult.c -o build/temp.darwin-6.1-Power Macintosh-2.3/pgresult.o gcc -bundle -bundle_loader /usr/local/bin/python build/temp.darwin-6.1-Power Macintosh-2.3/libpqmodule.o build/temp.darwin-6.1-Power Macintosh-2.3/pgboolean.o build/temp.darwin-6.1-Power Macintosh-2.3/pgint2object.o build/temp.darwin-6.1-Power Macintosh-2.3/pgint8object.o build/temp.darwin-6.1-Power Macintosh-2.3/pgversion.o build/temp.darwin-6.1-Power Macintosh-2.3/pglargeobject.o build/temp.darwin-6.1-Power Macintosh-2.3/pgnotify.o build/temp.darwin-6.1-Power Macintosh-2.3/pgconnection.o build/temp.darwin-6.1-Power Macintosh-2.3/pgresult.o build/temp.darwin-6.1-Power Macintosh-2.3/pymemstrdup.o build/temp.darwin-6.1-Power Macintosh-2.3/strtoll.o build/temp.darwin-6.1-Power Macintosh-2.3/strtoull.o build/temp.darwin-6.1-Power Macintosh-2.3/strtok.o -L/usr/local/pgsql/lib -lpq -lssl -lcrypto -o build/lib.darwin-6.1-Power Macintosh-2.3/pyPgSQL/libpq/libpqmodule.so ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out of date; rerun ranlib(1) (can't load from it) error: command 'gcc' failed with exit status 1 -- |