Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-17 Thread Roger Bivand
#x27;s workshop, where we used pre-configured Debian systems. Somehow people come out of this quite well, don't they? Just some thoughts, Roger Roger Bivand Norwegian School of Economics Bergen, Norway Fra: Barry Rowlingson Sendt: søndag 17. juni, 16.13 Emne: Re: [R-sig-Geo] rgdal installat

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-17 Thread Barry Rowlingson
Just a quick note to point out that you can test installations on systems without having to install such a system by using Docker. Fedora 28 images are available on Docker Hub. You have to figure out how to install the toolchain and other components for building R etc but that helps make a reprodu

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-17 Thread Roger Bivand
Sarah, thanks for checking and reporting back! Roger Roger Bivand Norwegian School of Economics Bergen, Norway Fra: Sarah Goslee Sendt: søndag 17. juni, 14.50 Emne: Re: [R-sig-Geo] rgdal installation on Fedora 28 Til: Roger Bivand Kopi: Colin Rundel, r-sig-geo@r-project.org I can confirm

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-17 Thread Sarah Goslee
I can confirm that the patched R-Forge version of rgdal installs correctly on my systems with no other change. Thank you to Roger and Colin, and everyone else who took a look. The R community is the BEST. Sarah On Sat, Jun 16, 2018 at 5:55 PM, Roger Bivand wrote: > On Sat, 16 Jun 2018, Colin Ru

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-16 Thread Roger Bivand
On Sat, 16 Jun 2018, Colin Rundel wrote: As I mentioned in the tweet, I was able to fix this on both a Fedora 23 and Fedora 27 machine by making the following change to configure.ac: diff --git a/configure.ac b/configure.ac index 8ff72be..ab4c772 100644 --- a/configure.ac +++ b/configure.ac @@

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-16 Thread Colin Rundel
As I mentioned in the tweet, I was able to fix this on both a Fedora 23 and Fedora 27 machine by making the following change to configure.ac: diff --git a/configure.ac b/configure.ac index 8ff72be..ab4c772 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,8 @@ define([pkgversion], esyscmd([s

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-15 Thread Thiago V. dos Santos via R-sig-Geo
The following lines in your config.log: /usr/bin/ld: /tmp/cc9pfZ1b.o: relocation R_X86_64_32 against .rodata' can not be used when making a shared object; recompile with -fPIC make me wonder: maybe there is a -fPIC compilation flag lacking for you platform in the makefile? Greetings, -- Thiago

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-15 Thread Roger Bivand
On Fri, 15 Jun 2018, Sarah Goslee wrote: If you read that whole thread, as far as I can tell it's a permissions error, possibly due to using an external drive. I can't see how it would apply to installing an R package from /tmp as root. Other compiled packages install correctly; rgdal is the on

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-15 Thread Sarah Goslee
If you read that whole thread, as far as I can tell it's a permissions error, possibly due to using an external drive. I can't see how it would apply to installing an R package from /tmp as root. Other compiled packages install correctly; rgdal is the only one giving me this error. Am I missing s

Re: [R-sig-Geo] rgdal installation on Fedora 28

2018-06-15 Thread Ista Zahn
https://askubuntu.com/questions/360329/error-cannot-run-c-compiled-programs-if-you-meant-to-cross-compile-use-host might help. --Ista On Fri, Jun 15, 2018 at 3:27 PM, Sarah Goslee wrote: > Hi folks, > > I updated all of my linux computers to Fedora 28, and now can’t install rgdal. > > I can inst

[R-sig-Geo] rgdal installation on Fedora 28

2018-06-15 Thread Sarah Goslee
Hi folks, I updated all of my linux computers to Fedora 28, and now can’t install rgdal. I can install sf with no problems, so it doesn't appear to be an issue with GDAL or with proj. I checked with Roger Bivand, the package maintainer, who asked me to confirm whether I could install sf, to make