You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not clear what I should do however? I tried a to add --configure-args="CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" as suggested in #42 for lwgeom, which brings me then to:
R CMD INSTALL --configure-args="CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" sf_0.8-1.tar.gz
checking proj_api.h presence... no
configure: WARNING: proj_api.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: proj_api.h: proceeding with the compiler's result
checking for proj_api.h... yes
checking for pj_init_plus in -lproj... yes
checking PROJ: epsg found and readable... no
Error: proj/epsg not found
Either install missing proj support files, for example
the proj-nad and proj-epsg RPMs on systems using RPMs,
or if installed but not autodetected, set PROJ_LIB to the
correct path, and if need be use the --with-proj-share=
So I tried to indicate the share library, which I believe would be /usr/share/proj on Ubuntu?
R CMD INSTALL --configure-args="CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H --with-proj-lib=/usr/bin/lib --with-proj-share=/usr/share/proj/" sf_0.8-1.tar.gz
This however gives me exactly the same error! But indeed, looking at the share library /usr/share/proj, it seems there is no such epsg file
Hi
I unfortunately just got Proj 7.0 installed (on a ubuntu 18.04 machine, due to the latest change in the gdal-data from ppa
ubuntugis-unstable
).Trying to compile
sf
, I get the sort of standard errorThis is clearly related to issue #42 for lwgeom and #28 for lwgeom.
It is not clear what I should do however? I tried a to add
--configure-args="CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
as suggested in #42 for lwgeom, which brings me then to:So I tried to indicate the share library, which I believe would be
/usr/share/proj
on Ubuntu?This however gives me exactly the same error! But indeed, looking at the share library
/usr/share/proj
, it seems there is no such epsg fileHow can I ho ahead? Is it fine to use this DACCEPT_USE_OF_DEPRECATED_PROJ_API_H option? And is there an issue with my proj installation?
Thanks!!
The text was updated successfully, but these errors were encountered: