Skip to content
Back to formatted view

Raw Message

Message-ID: <CAF16KkUzkGrJUBu1iHXNCWD1NbndRky38a-=pMtSdsiUQ5Wy9g@mail.gmail.com>
Date: 2020-05-30T19:40:53Z
From: Robin Lovelace
Subject: rgdal 1.5-8 released on CRAN
In-Reply-To: <CAASFQpSZvf5O-ZAn8+JoqVhBX1Nc8=LHC4Un_J75nrxfSQf-DQ@mail.gmail.com>

Hi all,

For what it's worth I'm having the same issue and am getting this message:

inverser.c:5:10: fatal error: projects.h: No such file or directory
 #include <projects.h>
          ^~~~~~~~~~~~
compilation terminated.
/usr/lib/R/etc/Makeconf:168: recipe for target 'inverser.o' failed
make: *** [inverser.o] Error 1
ERROR: compilation failed for package ?rgdal?
* removing ?/home/robin/R/x86_64-pc-linux-gnu-library/3.6/rgdal?
* restoring previous ?/home/robin/R/x86_64-pc-linux-gnu-library/3.6/rgdal?

The development version of sf installs OK. I'm on Ubuntu with the following
versions:

sf::sf_extSoftVersion()
          GEOS           GDAL         proj.4 GDAL_with_GEOS     USE_PROJ_H
       "3.8.0"        "3.0.4"        "7.0.0"         "true"         "true"

I think I need to set the proj path. My projinfo binary is at

which projinfo
# /usr/bin/projinfo