Skip to content
Prev 25945 / 29559 Next

Errors at installing rgdal on Debian Buster

Thanks,

As indicated, I do:
$ R CMD INSTALL rgdal_1.2-8.tar.gz 2>&1 | tee rgdal.log

The whole output is here:
https://drive.google.com/open?id=0B_LsZU5NlOztb0ZYQzZZRDQ0WkU

The problem starts at:

configure: PROJ.4 version: 4.8.0
./configure: line 3725:  8390 Segmentation fault      ./proj_conf_test
checking PROJ.4: epsg found and readable... yes
./configure: line 3800:  8399 Segmentation fault      ./proj_conf_test
checking PROJ.4: conus found and readable... yes
configure: Package CPP flags:  -I/usr/include/gdal
configure: Package LIBS:  -L/usr/lib -lgdal -lproj
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/usr/share/R/include -DNDEBUG -I/usr/include/gdal
-I"/home/alobo/R/i686-pc-linux-gnu-library/3.3/sp/include"   -fpic  -g
-O2 -fdebug-prefix-map=/build/r-base-yDv1ct/r-base-3.3.3=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -g  -c OGR_write.cpp -o OGR_write.o
In file included from /usr/include/gdal/ogr_feature.h:35:0,
                 from /usr/include/gdal/ogrsf_frmts.h:35,
                 from OGR_write.cpp:2:
/usr/include/gdal/ogr_featurestyle.h:264:17: warning: override
controls (override/final) only available with -std=c++11 or
-std=gnu++11
     GBool Parse() CPL_OVERRIDE;

I'm totally clueless...

Agus
On Fri, Sep 8, 2017 at 4:00 PM, Roger Bivand <Roger.Bivand at nhh.no> wrote: