r-spatial / lwgeom

bindings to the liblwgeom library
https://r-spatial.github.io/lwgeom/
58 stars 23 forks source link

unexpected proj error in install? #55

Closed cboettig closed 4 years ago

cboettig commented 4 years ago

I cannot seem to install lwgeom on a vanilla Ubuntu 18.04 (bionic) instance, which has: GEOS 3.6.2, GDAL 2.2.3, PROJ 4.9.3 (as reported by sf :smiley_cat: ). I get the error:

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’

Any ideas? (DESCRIPTION says GEOS >= 3.5.0 and PROJ >= 4.8.0 should be enough?)

cboettig commented 4 years ago

Ah, apologies, this is a duplicate of #28 and already been fixed on GitHub. The issue still affects the current CRAN version (0.2-3) and 0.2-2, but 0.2-1 is also fine. Appreciate you being so on top of this and sorry for the noise!