On 08/03/11 11:41, Stevan Bajić wrote: > On Wed, 03 Aug 2011 11:13:28 -0600 Jeff Ross<jr...@wykids.org> > wrote: > >> On 08/03/11 10:47, Stevan Bajić wrote: >>> On Wed, 03 Aug 2011 09:49:49 -0600 Jeff Ross<jr...@wykids.org> >>> wrote: >>> >>>> On 08/03/11 08:59, Tom Hendrikx wrote: >>>>> On 03/08/11 16:08, Jeff Ross wrote: >>>>>> With PostgreSQL 9.0.4 freshly installed, I'm trying to >>>>>> build Dspam-3.10.0 with this configuration: >>>>>> >>>>>> >>>>>> # cat my.configure #!/bin/sh ./configure \ >>>>>> --with-storage-driver=pgsql_drv >>>>>> --with-pgsql-includes=/usr/local/include/postgresql/ \ >>>>>> --with-pgsql-libraries=/usr/local/lib/postgresql/ \ >>>>>> --enable-preferences-extension >>>>>> >>>>>> >>>>>> The paths are correct. >>>>>> >>>>>> # ls -al /usr/local/include/postgresql/libpq-fe.h >>>>>> -rw-r--r-- 1 root wheel 20004 Jul 29 17:31 >>>>>> /usr/local/include/postgresql/libpq-fe.h >>>>>> >>>>>> but configure errors out with the following: >>>>>> >>>>>> checking where to find PostgreSQL headers... compiler >>>>>> default paths checking libpq-fe.h usability... no checking >>>>>> libpq-fe.h presence... no checking for libpq-fe.h... no >>>>>> configure: error: Required version of libpq not found + >>>>>> --with-pgsql-includes=/usr/local/include/postgresql/ >>>>>> --with-pgsql-libraries=/usr/local/lib/postgresql/ >>>>>> --enable-preferences-extension ./my.configure[6]: >>>>>> --with-pgsql-includes=/usr/local/include/postgresql/: not >>>>>> found >>>>>> >>>>> >>>>> Hi, >>>>> >>>>> What happens if you pass >>>>> --with-pgsql-includes=/usr/local/include/ ? >>>>> >>>>> >>>> >>>> Thanks for the thought, but the same error occurs. >>>> >>> - What system/OS is this? >> >> OpenBSD heinlein.openvistas.net 5.0 GENERIC.MP#31 i386 >> >>> - What is the output of 'whereis libpq-fe.h' >> >> Nothing. locate correctly finds it, though. >> >>> - Can you post the whole configure log? >> >> http://www.wykids.org/config.log >> > Okay. I have read that file and know now what the problem is. The > problem is this here: > > # cat my.configure #!/bin/sh ./configure \ > --with-storage-driver=pgsql_drv > --with-pgsql-includes=/usr/local/include/postgresql/ \ > --with-pgsql-libraries=/usr/local/lib/postgresql/ \ > --enable-preferences-extension > > > On the second line you are missing a '\' at the end of the line. That > missing backslash is equivalent to the following command: ./configure > --with-storage-driver=pgsql_drv > > The other --with-pgsql-xxxx are not used at all. >
Ouch! Sorry about that. Now I'm getting a different error: checking where to find PostgreSQL headers... /usr/local/include/postgresql/ checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking where to find PostgreSQL libraries... /usr/local/lib/postgresql/ checking for library containing inet_ntoa... (cached) none required checking for library containing socket... (cached) none required checking for PQconnectdb in libpq... no configure: error: Required version of libpq not found I uploaded the latest config.log to the same spot as above. Jeff ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user