[Qgis-user] Homerange plugin under OpenSuSE 11.3 - almost working
G. Paolo Sanino V.
research at leviathanchile.org
Tue Sep 7 14:44:11 PDT 2010
Hi,
A lot has been done, searched and found, and it is almost there.
The error is that cannot load Rpy2, despite it has been installed.
This is an attempt to get it working using GUI and for newbies (as myself).
Here I added all the packages that solved the many dependencies that raised in
during this challenge.
The box is an AMD64 box with OpenSuSE 11.3 installed from scratch
Then this is what I have done so far:
Using the one-click tool at the http://software.opensuse.org and/or adding
the repositories with Yast2:
http://download.opensuse.org/repositories/Application:/Geo/openSUSE_11.3/
http://download.opensuse.org/repositories/science/openSUSE_11.3/
I installed:
qgis (version 1.5.1.5.4)
R-base (version 2.11.1-1.14)
R-base-devel
Rkward (to use R through a GUI)
Before to add the homerange plugin in Qgis, it is stated to add some
dependencies for R (adehabitat, rgdal, shapefiles, gpclib). But it is not that
simple to get them; they have their own several dependencies and some need to
be compiled with C++, while others with Fortran. So we need also those
compilers. In simple, I went through each one and develop a the list of
packages needed to be installed to get the R dependencies satisfied.
Therefore, using Yast2 again, these are the next needed rpm packages :
make, gcc, gcc-c++, gcc-fortran, tk-devel, xorg-x11-devel
gdal (needed to add under R, the package rgdal)
python-gdal
libgdal1-devel
python-rpy2 (2.0.6-7.1) this is to get Rpy2 (but is not found by QGIS)
Yast2 installed them and their own dependencies as well. Without adding the
previous packages, under R, the dependencies were never satisfied despite
being downloaded, because were not able to be compiled and installed.
Then, after having these packaged installed, I used RKward (the R GUI in KDE
linux), to add the packages for R. The used repository was UCLA . The selected
R packages to be selected and installed were:
rgdal
shapefile
gpclib
adehabitat
The installation went great with no problem, automatically getting the
dependencies for each of these packages.
Then, having R is done, I opened Qgis to install the Homerange plugin.
However, everytime I open qgis, I get the error of not being able to load
Rpy2, despite the package that provides it was installed.
Any hint?
Thanks a lot!
Gian Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100907/5243b5a8/attachment.html>
More information about the Qgis-user
mailing list