[gdal-dev] build error on latest svn trunk

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Fri Apr 4 14:08:34 EDT 2008


Even,

I have a locally installed PostgreSQL, but it looks like I'm using 8.1.2:

postgres=# select version();
                                              version                                              
---------------------------------------------------------------------------------------------------
 PostgreSQL 8.1.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
(1 row) 

..Tom




> -----Original Message-----
> From: Even Rouault [mailto:even.rouault at mines-paris.org] 
> Sent: 04 April, 2008 2:00 PM
> To: gdal-dev at lists.osgeo.org
> Cc: Kralidis,Tom [Burlington]
> Subject: Re: [gdal-dev] build error on latest svn trunk
> 
> Tom,
> 
> Could you tell me which version of Postgres (client API) you 
> are using ? I've looked in Postgres documentation and it 
> seems that 'PQescapeStringConn' was introduced in versions >= 
> 7.3. So apparently you're using a version <= 7.2, which is 
> very surprising on a recent distribution like FC7.
> 
> Even
> 
> Le Friday 04 April 2008 18:01:22 Kralidis,Tom [Burlington], 
> vous avez écrit :
> > On fc7, with:
> >
> > ./configure --with-png --with-libtiff=internal 
> --with-geotiff=internal 
> > --with-jpeg --with-xerces --with-geos=no 
> > --with-pg=/usr/local/pgsql/bin/pg_config
> > --with-mysql=/usr/bin/mysql_config --with-sqlite 
> --with-curl=/usr/bi 
> > n/curl-config --with-python --with-expat --with-perl
> >
> > ...
> >
> >
> >
> > ogrpgtablelayer.cpp: In member function 'virtual OGRErr 
> > OGRPGTableLayer::DeleteFeature(long int)':
> > ogrpgtablelayer.cpp:706: warning: format '%d' expects type 
> 'int', but 
> > argument 4 has type 'long int'
> > ogrpgtablelayer.cpp: In static member function 'static CPLString 
> > OGRPGTableLayer::EscapeString(PGconn*, const char*, int, 
> const char*)':
> > ogrpgtablelayer.cpp:839: error: 'PQescapeStringConn' was 
> not declared 
> > in this scope
> > make[3]: *** [../o/ogrpgtablelayer.o] Error 1
> > make[3]: Leaving directory
> > `/home/tkralidi/foss4g/gdal/trunk/gdal/ogr/ogrsf_frmts/pg'
> > make[2]: *** [pg-target] Error 2
> > make[2]: Leaving directory
> > `/home/tkralidi/foss4g/gdal/trunk/gdal/ogr/ogrsf_frmts'
> > make[1]: *** [sublibs] Error 2
> > make[1]: Leaving directory 
> `/home/tkralidi/foss4g/gdal/trunk/gdal/ogr'
> > make: *** [ogr-target] Error 2
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 
> 


More information about the gdal-dev mailing list