[Gdal-dev] Can't configure GDAL for FreeBSD 5.5

Mateusz Loskot mateusz at loskot.net
Sat Dec 16 15:11:45 EST 2006


vic at telerem.ru wrote:
> I have not PostgreSQL on my computer. How I can change options for
> configure to it process work fine?
> 
> Or what I need to change in configure source?

I'd say it's strange, because --with-pg=no should work well.
In the configure.in, following code is executed if --with-pg=no is passed:

if test "x$PG_CONFIG" = "xno" ; then

  HAVE_PG=no
  PG_LIB=
  PG_INC=

  AC_MSG_RESULT([no])

else
...

I'm not sure, but may be there are some differences in FreeBSD in
handling empty variables, so it should be changed to:

  PG_LIB=""
  PG_INC=""

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list