On 9 March 2012 14:55, Hosanna Higher Technologies Support
<[email protected]> wrote:
> Hi,
> I'm trying to compile PGS 9.xx but with no avail. Probing Down I have
> found two depending files in different Directory: libpq-fe.h in
> postgresql/src/interfaces/libpq/ and postgres_ext.h
>  found in postgresql/src/include/.
> Here is the script I use. Note that MySQL builds with no problem
>
> #build soci
> cd "soci/src/"
> #clean it
> make clean
> cmake -G "Unix Makefiles" -DWITH_BOOST=OFF -DWITH_ORACLE=OFF
> -DCMAKE_INSTALL_PREFIX="../../../libsoutput/"
> -DCMAKE_VERBOSE_MAKEFILE=ON -DMYSQL_DIR="../../mysql/"
> -DMYSQL_INCLUDE_DIR="../../mysql/include/"
> -DMYSQL_LIBRARIES="../../mysql/libmysql/" -DWITH_MYSQL=ON
> -DSOCI_MYSQL=ON  -DWITH_POSTGRESQL=ON
> -DPOSTGRESQL_INCLUDE_DIR="../../postgresql/src/interfaces/libpq/"


Any reason why you don't point to headers here:

-DPOSTGRESQL_INCLUDE_DIR="../../postgresql/src/include/"

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to