Closed mbojan closed 4 years ago
Installing lwgeom gives me:
lwgeom
> install.packages('lwgeom') trying URL 'https://cloud.r-project.org/src/contrib/lwgeom_0.2-3.tar.gz' Content type 'application/x-gzip' length 500834 bytes (489 KB) ================================================== downloaded 489 KB * installing *source* package ‘lwgeom’ ... ** package ‘lwgeom’ successfully unpacked and MD5 sums checked ** using staged installation configure: CC: gcc -std=gnu99 configure: CXX: g++ -std=gnu++11 configure: pkg-config proj exists, will use it checking proj_api.h usability... no checking proj_api.h presence... no checking for proj_api.h... no configure: error: proj_api.h not found in standard or given locations. ERROR: configuration failed for package ‘lwgeom’ * removing ‘/home/mbojan/R/library/3.6/lwgeom’ * restoring previous ‘/home/mbojan/R/library/3.6/lwgeom’ The downloaded source packages are in ‘/tmp/RtmpCymSOj/downloaded_packages’ Warning message: In install.packages("lwgeom") : installation of package ‘lwgeom’ had non-zero exit status $ apt-cache policy libproj-dev libproj-dev: Installed: 4.9.3-2 Candidate: 4.9.3-2 Version table: *** 4.9.3-2 500 500 http://pl.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages 100 /var/lib/dpkg/status
And proj_api.h is there:
proj_api.h
$ locate proj_api.h /usr/include/proj_api.h /usr/local/include/proj_api.h
I'm not sure where the problem is coming from?
Yes, see #28 - should be fixed on github, please check.
Works. Thank you!
Installing
lwgeom
gives me:And
proj_api.h
is there:I'm not sure where the problem is coming from?