Ed - Sorry, I guess it was just sent to me. Please enjoy, and good luck. - Steve ------- Start of forwarded message ------- Subject: Re: [Zope]compile ZPoPyDA product problem (continued) To: Stephen Nosal <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] (Federico Di Gregorio) Date: Sat, 5 Aug 2000 10:21:02 +0200 hi, it is my fault. i let a buglet infiltrate the last distribution. you can solve it in two ways: 1/ ln -s /opt/pgsql/lib/libpq.so /usr/lib/libpq.so (dirty!) 2/ apply attached patch 3/ wait a couple of days until 1.3.4 hits the ftp server have fun with popy... ciao, federico p.s. to apply patch: cd /your/popy/directory patch -p1 </the/path/to/the/patch -- Federico Di Gregorio MIXAD LIVE System Programmer [EMAIL PROTECTED] Debian GNU/Linux Developer & Italian Press Contact [EMAIL PROTECTED] A short story: I want you. I love you. I'll miss you. -- Me __________________________________________________________________ Get your Private, Anti-Spam, Free Email at http://e3mil.com and Step into a Friendly Universe!
Index: PoPy/ChangeLog diff -u PoPy/ChangeLog:1.27 PoPy/ChangeLog:1.28 --- PoPy/ChangeLog:1.27 Thu Aug 3 12:16:25 2000 +++ PoPy/ChangeLog Sat Aug 5 10:21:06 2000 @@ -1,3 +1,9 @@ +2000-08-05 Federico Di Gregorio <[EMAIL PROTECTED]> + + * configure.in: fixed bug in --with-postgres-libraries switch. now + the library path is correctly added to LDFLAGS *before* checking + for libpq. + 2000-08-03 Federico Di Gregorio <[EMAIL PROTECTED]> * Makefile.pre.in: defines VERSION from POPY_VERSION in Index: PoPy/configure.in diff -u PoPy/configure.in:1.10 PoPy/configure.in:1.11 --- PoPy/configure.in:1.10 Thu Aug 3 12:07:14 2000 +++ PoPy/configure.in Sat Aug 5 10:21:06 2000 @@ -8,11 +8,13 @@ dnl postgresql headers and libraries (by default in /usr/lib and dnl /usr/include/postgresql, can be changed with --with-postgres-* options) -AC_ARG_WITH(postgres-libraries, [ --with-postgres-libraries=DIR PostgreSQL libs in DIR [/usr/lib]], PGSQLLIBS="-L $withval", PGSQLLIBS="") +AC_ARG_WITH(postgres-libraries, [ --with-postgres-libraries=DIR PostgreSQL +libs in DIR [/usr/lib]], PGSQLLIBS="-L$withval", PGSQLLIBS="") AC_ARG_WITH(postgres-includes, [ --with-postgres-includes=DIR PostgreSQL includes in DIR [/usr/include/postgresql]], PGSQLFLAGS="-I$withval", PGSQLFLAGS="-I/usr/include/postgresql") +LDFLAGS="$PGSQLLIBS $LDFLAGS" + AC_CHECK_LIB(pq, PQconnectStart, PGSQLLIBS="$PGSQLLIBS -lpq", - AC_MSG_ERROR(can't build without PostgreSQL libraries)) + AC_MSG_ERROR(can't build without PostgreSQL libraries), -lcrypt) AC_SUBST(PGSQLFLAGS) AC_SUBST(PGSQLLIBS)