tdsmith / homebrew-ham

MIT License
12 stars 11 forks source link

Fails installing xastir on Mojave #21

Open daijo opened 4 years ago

daijo commented 4 years ago

Mac OS 10.14.5

==> Installing tdsmith/ham/xastir ==> Downloading https://downloads.sourceforge.net/xastir/xastir-2.0.8.tar.gz Already downloaded: /Users/dah/Library/Caches/Homebrew/downloads/ef0cc12c37b71a71519021e5c7bda9a46c569517a2dbde10cc17e1efdace9dae--xastir-2.0.8.tar.gz ==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/xastir/2.0.8 ==> make install Last 15 lines from /Users/dah/Library/Logs/Homebrew/xastir/02.make: /usr/local/include/proj_api.h:37:2: error: 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'

error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'

^ In file included from shpgeo.c:104: In file included from ./shpgeo.h:93: /usr/local/include/proj_api.h:37:2: error: 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'

error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'

^ 1 error generated. 1 error generated. make[3]: [shpproj.o] Error 1 make[3]: [shpgeo.o] Error 1 make[2]: [install-recursive] Error 1 make[1]: [install-recursive] Error 1 make: *** [install-recursive] Error 1