[Gdal-dev] Compilation problems on a Slack machine

Frank Warmerdam fwarmerdam at gmail.com
Fri Mar 11 23:15:40 EST 2005


On Fri, 11 Mar 2005 15:46:09 -0800, Dylan Beaudette
<dylan at iici.no-ip.org> wrote:
> Hi everyone,
> 
> GDAL 1.2.5 compiles fine on a couple of my Debian boxes - both PPC and x86.
> 
> However, on an x86 Slack box I am getting the some strange errors in the
> "make" step of compilation.
> 
> here are my configure options;
> ./configure --prefix=/usr --with-png=internal --with-jpeg=internal \
>             --with-gif=internal --with-libtiff=internal \
>             --with-geotiff=internal --with-libz=internal\
>             --without-pg --without-ogdi --with-python \
>      --with-threads=yes
> 
> and here are the error messages from make:
> ---------------------------error messages--------------------------------
> dylan at atmweb:~/src/gdal-1.2.5$ make
> (cd port; make)
> make[1]: Entering directory `/home/dylan/src/gdal-1.2.5/port'
> make[1]: Nothing to be done for `default'.
> make[1]: Leaving directory `/home/dylan/src/gdal-1.2.5/port'
> (cd gcore; make)
> make[1]: Entering directory `/home/dylan/src/gdal-1.2.5/gcore'
> g++     -c -o gdalopen.o gdalopen.cpp
> In file included from gdal_priv.h:190,
>                  from gdalopen.cpp:94:
> gdal.h:177:22: cpl_port.h: No such file or directory
> gdal.h:178:23: cpl_error.h: No such file or directory
> In file included from gdal_priv.h:190,
>                  from gdalopen.cpp:94:
> gdal.h:200: syntax error before `typedef'

Dylan,

There was a problem with GDAL 1.2.5 with MySQL 3.0.  An 
aspect of it screws up the configure and results in the 
makefiles not be generated properly.

Either configure "--without-mysql" or work from the recent
GDAL 1.2.6b5 release. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list