btw, I found that in the vector-into-type.cpp for postgresql backend, there is an assert in line177 - do we really need it? We got crash in our test because we compiled soci without -DNDEBUG=1, so assert left in code and called abort when sz was higher than 65535... I checked other backends - this is only one place when we use it
On Fri, Mar 9, 2012 at 4:04 PM, Mateusz Loskot <[email protected]> wrote: > 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 -- With best wishes, Alex Ott http://alexott.net/ Tiwtter: alexott_en (English), alexott (Russian) Skype: alex.ott ------------------------------------------------------------------------------ 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
