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 > - The message 'checking where to find PostgreSQL headers... compiler > default paths' says that configure is NOT using any include paths. So > all those --with-xxxx that you specify are not used at all. - What > shell is that '/bin/sh'? If it is not Bash, would it be possible to > run the configure command under a Bash shell? OpenBSD's default shell is a modified pdksh (Korn) shell. I installed bash 4.2.10 and tried it--that config.log I put up on the web site is from the attempt using bash, but the result is the same. Thanks, 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