Opened 12 years ago

Closed 10 years ago

#57 closed defect (fixed)

OS X libgeotiff-1.4.0 make error

Reported by: basicdesigns Owned by: warmerdam
Priority: normal Milestone:
Component: libgeotiff Version: 1.3.0
Keywords: 1.4.0 Cc:

Description

On OS X Mountain Lion, after successful ./configure of libgeotiff-1.4.0 (libtiff-4.0.3), I get the following error when running "make".

make all-recursive Making all in libxtiff make[2]: Nothing to be done for `all'. Making all in . /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./libxtiff -DHAVE_LIBPROJ=1 -DHAVE_TIFF=1 -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -g -O2 -O3 -DNDEBUG -MT geotiff_proj4.lo -MD -MP -MF .deps/geotiff_proj4.Tpo -c -o geotiff_proj4.lo geotiff_proj4.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./libxtiff -DHAVE_LIBPROJ=1 -DHAVE_TIFF=1 -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -g -O2 -O3 -DNDEBUG -MT geotiff_proj4.lo -MD -MP -MF .deps/geotiff_proj4.Tpo -c geotiff_proj4.c -fno-common -DPIC -o .libs/geotiff_proj4.o geotiff_proj4.c:1333:22: error: proj_api.h: No such file or directory geotiff_proj4.c: In function ‘GTIFProj4FromLatLong’: geotiff_proj4.c:1347: error: ‘projPJ’ undeclared (first use in this function) geotiff_proj4.c:1347: error: (Each undeclared identifier is reported only once geotiff_proj4.c:1347: error: for each function it appears in.) geotiff_proj4.c:1347: error: ‘psPJ’ undeclared (first use in this function) geotiff_proj4.c:1379: error: ‘projUV’ undeclared (first use in this function) geotiff_proj4.c:1379: error: expected ‘;’ before ‘sUV’ geotiff_proj4.c:1381: error: ‘sUV’ undeclared (first use in this function) geotiff_proj4.c:1381: error: ‘DEG_TO_RAD’ undeclared (first use in this function) geotiff_proj4.c: In function ‘GTIFProj4ToLatLong’: geotiff_proj4.c:1407: error: ‘projPJ’ undeclared (first use in this function) geotiff_proj4.c:1407: error: ‘psPJ’ undeclared (first use in this function) geotiff_proj4.c:1439: error: ‘projUV’ undeclared (first use in this function) geotiff_proj4.c:1439: error: expected ‘;’ before ‘sUV’ geotiff_proj4.c:1441: error: ‘sUV’ undeclared (first use in this function) geotiff_proj4.c:1446: error: ‘RAD_TO_DEG’ undeclared (first use in this function) make[2]: * [geotiff_proj4.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Have had to install 1.3.0 for the time being.

Change History (1)

comment:1 by hobu, 10 years ago

Resolution: fixed
Status: newclosed

libgeotiff trunk builds cleanly without proj using cmake now. Please reopen if this is still an issue.

Note: See TracTickets for help on using tickets.