[Zope] Re: [Psycopg] Psycopg 1.0.X - Python 2.1

Federico Di Gregorio fog@debian.org
04 Mar 2002 00:49:53 +0100


--=-vjCdPs6rFz2lo7hY95j7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2002-03-03 at 18:52, Heimo Laukkanen wrote:
[snip]
> *1.0.4*
>=20
> /configure=20
> --with-mxdatetime-includes=3D../egenix-mx-base-2.0.3/mx/DateTime/mxDateTi=
me/=20
> --with-postgres-libraries=3D/usr/local/pgsql/lib=20
> --with-postgres-includes=3D/usr/local/pgsql/include=20
> --with-python=3D/usr/bin/python2.1
>=20
> make
>=20
> /module.o ./connection.o ./cursor.o ./typeobj.o ./typemod.o=20
> -L/usr/local/pgsql/lib -lpq  -o ./psycopgmodule
> make: execvp: ./module.o: Permission denied
> make: *** [psycopgmodule] Error 127
>=20
> Fails....wtf?

the configure script is missing the linker (this is due to some changes
done in 1.0.2, i think, i'll reverse them for 1.0.5.) for now you can
simply link by hand:

gcc -shared ./module.o ./connection.o ./cursor.o ./typeobj.o ./typemod.o
  -L/usr/local/pgsql/lib -lpq  -o ./psycopgmodule.so

hope this helps,
federico

--=20
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
INIT.D Developer                                           fog@initd.org
  Generated by Signify v1.07 [http://www.debian.org/]
                                      -- brought to you by One Line Spam

--=-vjCdPs6rFz2lo7hY95j7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAjyCtfYACgkQvcCgrgZGjev8UACffa79Mq1mU3TGBgjYUBnckeD9
640AoJFnqjSzn6wDXY5IlwdzOPhahiir
=wd04
-----END PGP SIGNATURE-----

--=-vjCdPs6rFz2lo7hY95j7--