[Gdal-dev] gdal-1.3.1 on FreeBSD 4 fails to build
Benjamin Thelen
bt at ccgis.de
Mon Dec 19 07:42:04 EST 2005
(cc to FreeBSD gdal port maintainer)
Hello list,
building gdal 1.3.1 on FreeBSD 4.11 (and higher) fails with the
following error:
--------------------------------------------------------------------
.
.
.
g++ -Wall -O2 -I../../port -I../../gcore -I../../alg -I../../ogr
-I../../ogr/ogrsf_frmts -I../../port -c geotiff.cpp -fPIC -DPIC -o
../o/.libs/geotiff.o
geotiff.cpp:161: tiffio.h: No such file or directory
geotiff.cpp:162: xtiffio.h: No such file or directory
geotiff.cpp:163: geotiff.h: No such file or directory
geotiff.cpp:164: geo_normalize.h: No such file or directory
geotiff.cpp:165: geovalues.h: No such file or directory
In file included from geotiff.cpp:166:
tif_ovrcache.h:38: tiffio.h: No such file or directory
gmake[2]: *** [../o/geotiff.o] Fehler 1
gmake[2]: Leaving directory `/data/src/gdal-1.3.1/frmts/gtiff'
gmake[1]: *** [gtiff-install-obj] Fehler 2
gmake[1]: Leaving directory `/data/src/gdal-1.3.1/frmts'
gmake: *** [frmts-target] Fehler 2
--------------------------------------------------------------------
This could be solved by using "./configure --with-local=/usr/local" - a
hint I got from Tom Russo and Frank Warmerdam in August. On FreeBSD 5.4
and higher, gdal-1.3.1 builds successfully this way, but on FreeBSD 4.11
building fails repeatable on two 4.11 boxes with the following error:
--------------------------------------------------------------------
g++ -Wall -O2 -I../../port -I../../gcore -I../../alg -I../../ogr
-I../../ogr/ogrsf_frmts -I/usr/local/include -I../../port -DUSE_IN_GDAL
-Ilibcsf -c pcrasterutil.cpp -fPIC -DPIC -o ../o/.libs/pcrasterutil.o
pcrasterutil.cpp:17: limits: No such file or directory
gmake[2]: *** [../o/pcrasterutil.o] Error 1
gmake[2]: Leaving directory `/data/src/gdal-1.3.1/frmts/pcraster'
gmake[1]: *** [pcraster-install-obj] Error 2
gmake[1]: Leaving directory `/data/src/gdal-1.3.1/frmts'
gmake: *** [frmts-target] Error 2
--------------------------------------------------------------------
The FreeBSD port is officially marked as broken: "Mark broken on 4.x due
to C++-related build failure." I also saw that geos is marked broken,
thus I still have geos-1.0 - a possible source of errors for gdal building?
I'd appreciate any sugestions!
Thanks,
Ben
More information about the Gdal-dev
mailing list