R spgrass6 Library Installation in openSUSE: workaround

Posted: August 10, 2011 in GIS
Tags: , , ,

I’ve encountered a problem with connecting R and GRASS in openSUSE to multiply their power. “spgrass6” library was unwilling to install properly. Here is a workaround for this issue.

“spgrass6” needs libxml2-dev (can be found here) package for installation (actually this  package is required by “XML” library that needed for “spgrass6”) so install it 😉

If you will try to install “spgrass6” normally (as root), you may receive the message (first two lines of installation logs) that this library will be installed in '/root/R/x86_64-unknown-linux-gnu-library/2.13’ because 'lib' is not defined which means that this library will be available only for root. So you need to perform installation as user and everything will be fine.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s