On Wed, 23 Sep 2009, Gabor Grothendieck wrote:

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.

Building from source may need the extra metadata files in:

http://download.osgeo.org/proj/proj-datumgrid-1.5.zip

for completeness.


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.


For some reason rpmfind points to this:

ftp://download.fedora.redhat.com/pub/fedora/linux/releases/11/Everything/source/SRPMS/proj-4.6.1-2.fc11.src.rpm

The proj.spec claims to file builds the proj, proj-devel, proj-nad and proj-epsg rpms.

Hope this helps,

Roger

PS. the f11 version above as an older datum grid zip archive included.

Thanks (and to Laura).


On Wed, Sep 23, 2009 at 11:18 AM, Roger Bivand <[email protected]> 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 <[email protected]>

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
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


       [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[email protected]
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: [email protected]




--
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: [email protected]
_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to