[R-sig-Geo] Errors at installing rgdal on Debian Buster

Agustin Lobo alobolistas at gmail.com
Tue Sep 12 10:41:32 CEST 2017


Using Synaptic.
I just tested with a live usb with Debian Stretch, and with stretch
rgdal installs with no problems (after installing gdal-bin, gdal-dev
and dependencies) .
Agus

On Tue, Sep 12, 2017 at 10:15 AM, Edzer Pebesma
<edzer.pebesma at uni-muenster.de> wrote:
> How did you install gdal and proj on that machine?
>
> On 12/09/17 09:10, Agustin Lobo wrote:
>> 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:
>>> Please use the command line: R CMD INSTALL <tarball>  and pipe the output (tee) 2>&1 to a file. Please do not post the file, read it to find the root cause. Almost certainly the installed GDAL ha different assumptions about the g++ compiler than R itself, so you may need to install GDAL and R from source. There have been unclear reports of issues with -std=.
>>>
>>> Hope this helps,
>>>
>>> Roger
>>>
>>> Roger Bivand
>>> Norwegian School of Economics
>>> Bergen, Norway
>>>
>>>
>>>
>>> Fra: Agustin Lobo
>>> Sendt: fredag 8. september, 14.49
>>> Emne: [R-sig-Geo] Errors at installing rgdal on Debian Buster
>>> Til: r-sig-geo
>>>
>>>
>>> I get lots of errors at installing rgdal on a recently upgraded machine to Debian Buster and R3.3.3 There are so many errors that I cannot scroll up enough as to get where the errors actually start and report. Is there any way to save the output of install.packages("rgdal") ? Any other reports on problems installing rgdal on Debian Buster ? Thanks Agus _______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>>
>>>
>>>         [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> R-sig-Geo at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
> --
> Edzer Pebesma
> Institute for Geoinformatics  (ifgi),  University of Münster
> Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
> Journal of Statistical Software:   http://www.jstatsoft.org/
> Computers & Geosciences:   http://elsevier.com/locate/cageo/
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list