We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have an installation issue for terra with proj 7.0, this issue may be related to this OSGeo/PROJ#836 Do you have any suggestions for this?
* installing *source* package ‘terra’ ... ** package ‘terra’ successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc configure: CXX: g++ -std=gnu++14 checking for gdal-config... /usr/bin/gdal-config checking gdal-config usability... yes configure: GDAL: 2.4.2 checking GDAL version >= 2.0.1... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for gdal.h... yes checking GDAL: linking with --libs only... yes checking GDAL: /usr/share/gdal/pcs.csv readable... yes checking GDAL: checking whether PROJ is available for linking:... yes checking GDAL: checking whether PROJ is available for running:... yes configure: GDAL: 2.4.2 checking for proj.h... yes checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes checking for geos-config... /usr/bin/geos-config checking geos-config usability... yes configure: GEOS: 3.8.0 checking GEOS version >= 3.4.0... yes checking for geos_c.h... yes checking geos: linking with -L/usr/lib/x86_64-linux-gnu -lgeos_c... yes configure: Package CPP flags: -DHAVE_PROJ_H -I/usr/include/gdal -I/usr/include configure: Package LIBS: -L/usr/lib -lgdal -lproj -L/usr/lib -lgdal -L/usr/lib/x86_64-linux-gnu -lgeos_c configure: creating ./config.status config.status: creating src/Makevars ** libs g++ -std=gnu++17 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -DHAVE_PROJ_H -I/usr/include/gdal -I/usr/include -I'/home/pfang/R/x86_64-pc-linux-gnu-library/4.2/Rcpp/include' -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"/opt/R/4.2.2/lib/R/include" -DNDEBUG -DHAVE_PROJ_H -I/usr/include/gdal -I/usr/include -I'/home/pfang/R/x86_64-pc-linux-gnu-library/4.2/Rcpp/include' -I/usr/local/include -fpic -g -O2 -c RcppFunctions.cpp -o RcppFunctions.o In file included from RcppFunctions.cpp:33:0: /usr/include/proj_api.h:37:2: error: #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' ^~~~~ /opt/R/4.2.2/lib/R/etc/Makeconf:178: recipe for target 'RcppFunctions.o' failed make: *** [RcppFunctions.o] Error 1 ERROR: compilation failed for package ‘terra’ * removing ‘/home/pfang/R/x86_64-pc-linux-gnu-library/4.2/terra’ The downloaded source packages are in ‘/tmp/RtmpkKWcNJ/downloaded_packages’ Warning message: In install.packages("terra") : installation of package ‘terra’ had non-zero exit status
Here is my proj version
proj --version Rel. 7.0.0, March 1st, 2020
The text was updated successfully, but these errors were encountered:
for #1594
79ac1f6
No branches or pull requests
Hi, I have an installation issue for terra with proj 7.0, this issue may be related to this OSGeo/PROJ#836
Do you have any suggestions for this?
Here is my proj version
The text was updated successfully, but these errors were encountered: