Installing the R-package “rgeos” on linux: geos-config not found or not executable
up vote
0
down vote
favorite
I am running R 3.4.1 on gentoo.
When i try to install the 'rgeos' package, i get this:
> install.packages("rgeos")
Installing package into ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://stat.ethz.ch/CRAN/src/contrib/rgeos_0.4-2.tar.gz'
Content type 'application/x-gzip' length 255244 bytes (249 KB)
==================================================
downloaded 249 KB
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: x86_64-pc-linux-gnu-gcc
configure: CXX: x86_64-pc-linux-gnu-g++
configure: rgeos: 0.4-2
checking for /usr/bin/svnversion... yes
configure: svn revision: 581
checking for geos-config... no
no
configure: error: geos-config not found or not executable.
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4/rgeos’
The downloaded source packages are in
‘/tmp/RtmppEeDps/downloaded_packages’
Warning message:
In install.packages("rgeos") :
installation of package ‘rgeos’ had non-zero exit status
(The same happens if i try to install rgeos on gentoo with R 3.5.1, and also on Centos 7.5 with R 3.5.1.)
While there is a rgeos/configure
which is executable in the tar file mentioned above, there is indeed no geos-config
in there.
How can i get the rgeos
package installed?
Is there perhaps a binary version which i could download?
r package gentoo
add a comment |
up vote
0
down vote
favorite
I am running R 3.4.1 on gentoo.
When i try to install the 'rgeos' package, i get this:
> install.packages("rgeos")
Installing package into ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://stat.ethz.ch/CRAN/src/contrib/rgeos_0.4-2.tar.gz'
Content type 'application/x-gzip' length 255244 bytes (249 KB)
==================================================
downloaded 249 KB
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: x86_64-pc-linux-gnu-gcc
configure: CXX: x86_64-pc-linux-gnu-g++
configure: rgeos: 0.4-2
checking for /usr/bin/svnversion... yes
configure: svn revision: 581
checking for geos-config... no
no
configure: error: geos-config not found or not executable.
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4/rgeos’
The downloaded source packages are in
‘/tmp/RtmppEeDps/downloaded_packages’
Warning message:
In install.packages("rgeos") :
installation of package ‘rgeos’ had non-zero exit status
(The same happens if i try to install rgeos on gentoo with R 3.5.1, and also on Centos 7.5 with R 3.5.1.)
While there is a rgeos/configure
which is executable in the tar file mentioned above, there is indeed no geos-config
in there.
How can i get the rgeos
package installed?
Is there perhaps a binary version which i could download?
r package gentoo
2
From the package's DESCRIPTION: "The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first." The GEOS website is here, and they claim Gentoo has a binary package for GEOS, but right now the website seems to be down (see here)
– duckmayr
Nov 20 at 8:51
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am running R 3.4.1 on gentoo.
When i try to install the 'rgeos' package, i get this:
> install.packages("rgeos")
Installing package into ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://stat.ethz.ch/CRAN/src/contrib/rgeos_0.4-2.tar.gz'
Content type 'application/x-gzip' length 255244 bytes (249 KB)
==================================================
downloaded 249 KB
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: x86_64-pc-linux-gnu-gcc
configure: CXX: x86_64-pc-linux-gnu-g++
configure: rgeos: 0.4-2
checking for /usr/bin/svnversion... yes
configure: svn revision: 581
checking for geos-config... no
no
configure: error: geos-config not found or not executable.
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4/rgeos’
The downloaded source packages are in
‘/tmp/RtmppEeDps/downloaded_packages’
Warning message:
In install.packages("rgeos") :
installation of package ‘rgeos’ had non-zero exit status
(The same happens if i try to install rgeos on gentoo with R 3.5.1, and also on Centos 7.5 with R 3.5.1.)
While there is a rgeos/configure
which is executable in the tar file mentioned above, there is indeed no geos-config
in there.
How can i get the rgeos
package installed?
Is there perhaps a binary version which i could download?
r package gentoo
I am running R 3.4.1 on gentoo.
When i try to install the 'rgeos' package, i get this:
> install.packages("rgeos")
Installing package into ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://stat.ethz.ch/CRAN/src/contrib/rgeos_0.4-2.tar.gz'
Content type 'application/x-gzip' length 255244 bytes (249 KB)
==================================================
downloaded 249 KB
* installing *source* package ‘rgeos’ ...
** package ‘rgeos’ successfully unpacked and MD5 sums checked
configure: CC: x86_64-pc-linux-gnu-gcc
configure: CXX: x86_64-pc-linux-gnu-g++
configure: rgeos: 0.4-2
checking for /usr/bin/svnversion... yes
configure: svn revision: 581
checking for geos-config... no
no
configure: error: geos-config not found or not executable.
ERROR: configuration failed for package ‘rgeos’
* removing ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4/rgeos’
The downloaded source packages are in
‘/tmp/RtmppEeDps/downloaded_packages’
Warning message:
In install.packages("rgeos") :
installation of package ‘rgeos’ had non-zero exit status
(The same happens if i try to install rgeos on gentoo with R 3.5.1, and also on Centos 7.5 with R 3.5.1.)
While there is a rgeos/configure
which is executable in the tar file mentioned above, there is indeed no geos-config
in there.
How can i get the rgeos
package installed?
Is there perhaps a binary version which i could download?
r package gentoo
r package gentoo
edited Nov 20 at 11:54
sai saran
342224
342224
asked Nov 20 at 8:45
user1479670
4051514
4051514
2
From the package's DESCRIPTION: "The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first." The GEOS website is here, and they claim Gentoo has a binary package for GEOS, but right now the website seems to be down (see here)
– duckmayr
Nov 20 at 8:51
add a comment |
2
From the package's DESCRIPTION: "The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first." The GEOS website is here, and they claim Gentoo has a binary package for GEOS, but right now the website seems to be down (see here)
– duckmayr
Nov 20 at 8:51
2
2
From the package's DESCRIPTION: "The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first." The GEOS website is here, and they claim Gentoo has a binary package for GEOS, but right now the website seems to be down (see here)
– duckmayr
Nov 20 at 8:51
From the package's DESCRIPTION: "The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first." The GEOS website is here, and they claim Gentoo has a binary package for GEOS, but right now the website seems to be down (see here)
– duckmayr
Nov 20 at 8:51
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
I found the solution.
The "rgeos" package depends on libraries you have to install before running R.
In gentoo i had to do:
sudo emerge --ask sci-libs/geos
In CentOS:
sudo yum install geos geos-devel
After installing these libraries i started R and could install the 'rgeos' package without problems
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I found the solution.
The "rgeos" package depends on libraries you have to install before running R.
In gentoo i had to do:
sudo emerge --ask sci-libs/geos
In CentOS:
sudo yum install geos geos-devel
After installing these libraries i started R and could install the 'rgeos' package without problems
add a comment |
up vote
1
down vote
I found the solution.
The "rgeos" package depends on libraries you have to install before running R.
In gentoo i had to do:
sudo emerge --ask sci-libs/geos
In CentOS:
sudo yum install geos geos-devel
After installing these libraries i started R and could install the 'rgeos' package without problems
add a comment |
up vote
1
down vote
up vote
1
down vote
I found the solution.
The "rgeos" package depends on libraries you have to install before running R.
In gentoo i had to do:
sudo emerge --ask sci-libs/geos
In CentOS:
sudo yum install geos geos-devel
After installing these libraries i started R and could install the 'rgeos' package without problems
I found the solution.
The "rgeos" package depends on libraries you have to install before running R.
In gentoo i had to do:
sudo emerge --ask sci-libs/geos
In CentOS:
sudo yum install geos geos-devel
After installing these libraries i started R and could install the 'rgeos' package without problems
answered Nov 20 at 8:57
user1479670
4051514
4051514
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53389181%2finstalling-the-r-package-rgeos-on-linux-geos-config-not-found-or-not-executab%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
From the package's DESCRIPTION: "The 'GEOS' library is external to the package, and, when installing the package from source, must be correctly installed first." The GEOS website is here, and they claim Gentoo has a binary package for GEOS, but right now the website seems to be down (see here)
– duckmayr
Nov 20 at 8:51