On Wed, 03 Aug 2011 09:49:49 -0600 Jeff Ross <[email protected]> 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? - What is the output of 'whereis libpq-fe.h' - Can you post the whole configure 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? > Jeff > -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
