
Thread
2005.05.25 17:22 "[Tiff] tif_overview.c", by Allan Doyle
Hi,
I'm trying to build libtiff from CVS and I get this error:
Making all in addtiffo
if gcc -DHAVE_CONFIG_H -I. -I. -I../../libtiff -I../../libtiff - I../../libtiff \
-g -O2 -Wall -MT tif_overview.o -MD -MP -MF ".deps/ tif_overview.Tpo" \
-c -o tif_overview.o tif_overview.c; \
then mv -f ".deps/tif_overview.Tpo" ".deps/tif_overview.Po"; \
else rm -f ".deps/tif_overview.Tpo"; exit 1; fi
tif_overview.c:56:22: error: cpl_port.h: No such file or directory
tif_overview.c:58: error: parse error before string constant
tif_overview.c:58: warning: type defaults to 'int' in declaration of 'CPL_CVSID'
tif_overview.c:58: warning: data definition has no type or storage class
make[2]: *** [tif_overview.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I don't have GDAL installed yet. I figured the build order was libtiff, then GDAL. So it's possible that if people already have GDAL installed, then this is picking up cpl_port.h from the installed headers.
Should I install the GDAL headers, then build libtiff, then go back and build GDAL with libtiff support?
Thanks,
Allan
Allan Doyle
+1.781.433.2695
adoyle@eogeo.org