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/ ?


-- 
Regards,

        Tom

------------------------------------------------------------------------------
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

Reply via email to