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

vic at telerem.ru vic at telerem.ru
Sat Dec 16 16:06:59 EST 2006


Hello Mateusz Loskot,

Saturday, December 16, 2006, 11:11:45 PM, you wrote:

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

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

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

ML>   HAVE_PG=no
ML>   PG_LIB=
ML>   PG_INC=

ML>   AC_MSG_RESULT([no])

ML> else
ML> ...

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

ML>   PG_LIB=""
ML>   PG_INC=""

thank you
I have changed code in configure.in but nothing change in results:

checking for setlocale... yes
checking for local include/lib path... none
configure: checking whether we should include thread/mutex support......
        thread safe support disabled.
checking for deflateInit_ in -lz... yes
using pre-installed libz
checking for PostgreSQL... ./configure.lineno: 21648: Syntax error: Bad fd number

Code in configure.in now is :
------------------------------------- start code
if test "$PG_CONFIG" = "no" ; then

  HAVE_PG=no
  PG_LIB=""
  PG_INC=""

  AC_MSG_RESULT([no])LIBZ

else
------------------------------------- end code

I try to compile gdal-1.3.2, but when I try to configure 1.2.6 results
are same. And I think it is something wrong in my installation on
FreeBSD. Becouse I have make gdal 1.2.6 in FreeBSD 4.10 it was builded
fine.

Or I need to add some code before ./configure like this:
GNUMAKE=/usr/local/bin/make ./configure .... ?


Victor




More information about the Gdal-dev mailing list