[R-sig-Geo] Problem installing rgdal on 64 bit fedora

Gabor Grothendieck ggrothendieck at gmail.com
Wed Sep 23 19:07:31 CEST 2009


Actually I tried building proj-4.6.1 from source after my attempt with
yum failed to get rgdal going but that wasn't sufficient to pull in
everything needed it seems.

Can you give me a link to the proj-epsg source so I can try that?
Googling for proj-epsg did not give me an obvious hit.

Thanks (and to Laura).


On Wed, Sep 23, 2009 at 11:18 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
> On Wed, 23 Sep 2009, Laura Poggio wrote:
>
>> If you use:
>> # yum search proj
>> You should find proj, proj-devel, proj-epsg and proj-nad.
>> At least it is what yum just found from my computer now.
>> I had some problems earlier today to access fedora repository. What if you
>> change repository?
>
> Yes, there may be transient problems. From my RHEL box I don't see it now
> with yum search, but from F11, I do, but only for i586 (which is right for
> the machine).
>
> For some murky reason, the packagers left the shared metadata out of regular
> proj, and have it in proj-nad and proj-epsg. I got round this earlier by
> shipping rgdal with the shared metadata files, but they could be staler than
> those otherwise on the user's platform, so at user request (for OSX among
> others), dropped the bundled files. I can see:
>
> http://fr2.rpmfind.net//linux/RPM/fedora/11/x86_64/proj-epsg-4.6.1-2.fc11.x86_64.html
>
> but since I build from source, can't vouch for it.
>
> Roger
>
>>
>> Laura
>>
>> 2009/9/23 Gabor Grothendieck <ggrothendieck at gmail.com>
>>
>>> I am getting this message when I try to install rgdal in R:
>>>
>>> Error: proj/epsg not found
>>> Either install missing proj support files, for example
>>> the proj-nad and proj-epsg RPMs on systems using RPMs,
>>> or if installed but not autodetected, set PROJ_LIB to the
>>> correct path.
>>> ERROR: configuration failed for package 'rgdal'
>>>
>>>
>>> I had previously installed gdal and proj.4 and proj-had using yum
>>> (and I also tried from source).  From the shell these all seem to
>>> work in that they return something rather than a message that
>>> they are missing:
>>>
>>> proj
>>> man proj
>>> gdal-config
>>>
>>> However, when I issue the R command
>>>
>>>  install.packages("rgdal", dep = TRUE)
>>>
>>> I get a message back (below) that refers to proj-epsg as missing but
>>> I see no such distribution:
>>>
>>> $ yum search proj-epsg
>>> No Matches found
>>>
>>> What is proj-epsg, where is it and how do I get around this?
>>>
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> R-sig-Geo at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>>
>>
>>        [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
> --
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Helleveien 30, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
> e-mail: Roger.Bivand at nhh.no
>
>



More information about the R-sig-Geo mailing list