I am trying to install rgdal in my computer that runs ubuntu linux 14.04. The R version that I am using is: 3.3.1. I installed gdal and related packages from the regular ubuntu repository and also using the ubuntu-gis ppa (https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa). In both cases, I've got the same error message while compiling:
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I/usr/include/gdal -I"/home/magdiel/R/x86_64-pc-linux-gnu-library/3.3/sp/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c inverser.c -o inverser.o
inverser.c:3:22: fatal error: projects.h: No existe el archivo o el directorio
#include <projects.h>
^
compilation terminated.
make: *** [inverser.o] Error 1
ERROR: compilation failed for package ‘rgdal’
I had rgdal installed before without problem and was trying to update it to a newer version as required for R.
I will greatly appreciate any help