Giuseppe Paleologo
2006-Jun-23 14:21 UTC
[R] problem installing gsl package under Ubuntu Breezy Badger
I am trying to install the gls package (a wrapper for GNU scientific library special functions) package under Ubuntu 5.10. I have gls-bin (the debian GNU Scientific Library binary package). When I try to install the R package, I receive the following.> install.packages("gsl",dependencies=T)Warning in install.packages("gsl", dependencies = T) : argument 'lib' is missing: using /usr/local/lib/R/site-library trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/gsl_1.6-6.tar.gz' Content type 'application/x-gzip' length 50969 bytes opened URL =================================================downloaded 49Kb * Installing *source* package 'gsl' ... checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for gsl_sf_airy_Ai_e in -lgsl... no configure: error: Cannot find Gnu Scientific Library. ERROR: configuration failed for package 'gsl' The downloaded packages are in /tmp/RtmpbxQ4fl/downloaded_packages Warning message: installation of package 'gsl' had non-zero exit status in: install.packages("gsl", dependencies = T) as if the gls-bin package were absent. Any insights? Thanks in advance, - gappy (International Man of Mistery) [[alternative HTML version deleted]]
Ian Wilson
2006-Jun-23 14:57 UTC
[R] problem installing gsl package under Ubuntu Breezy Badger
You need the libgsl-dev package. The gsl-bin package just contains the example programs. on breezy # apt-get install libgsl0-dev Ian On Fri, June 23, 2006 3:21 pm, Giuseppe Paleologo wrote:> I am trying to install the gls package (a wrapper for GNU scientific > library > special functions) package under Ubuntu 5.10. I have gls-bin (the debian > GNU > Scientific Library binary package). When I try to install the R package, I > receive the following. > >> install.packages("gsl",dependencies=T) > Warning in install.packages("gsl", dependencies = T) : > argument 'lib' is missing: using /usr/local/lib/R/site-library > trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/gsl_1.6-6.tar.gz' > Content type 'application/x-gzip' length 50969 bytes > opened URL > =================================================> downloaded 49Kb > > * Installing *source* package 'gsl' ... > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for gsl_sf_airy_Ai_e in -lgsl... no > configure: error: Cannot find Gnu Scientific Library. > ERROR: configuration failed for package 'gsl' > The downloaded packages are in > /tmp/RtmpbxQ4fl/downloaded_packages > Warning message: > installation of package 'gsl' had non-zero exit status in: > install.packages("gsl", > dependencies = T) > > > as if the gls-bin package were absent. Any insights? Thanks in advance, > > > - gappy (International Man of Mistery) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Dirk Eddelbuettel
2006-Jun-23 15:05 UTC
[R] problem installing gsl package under Ubuntu Breezy Badger
On Fri, Jun 23, 2006 at 10:21:09AM -0400, Giuseppe Paleologo wrote:> I am trying to install the gls package (a wrapper for GNU scientific library > special functions) package under Ubuntu 5.10. I have gls-bin (the debian GNU > Scientific Library binary package). When I try to install the R package, IYou also need the corresponding -dev package to compile. Hth, Dirk> receive the following. > > > install.packages("gsl",dependencies=T) > Warning in install.packages("gsl", dependencies = T) : > argument 'lib' is missing: using /usr/local/lib/R/site-library > trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/gsl_1.6-6.tar.gz' > Content type 'application/x-gzip' length 50969 bytes > opened URL > =================================================> downloaded 49Kb > > * Installing *source* package 'gsl' ... > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for gsl_sf_airy_Ai_e in -lgsl... no > configure: error: Cannot find Gnu Scientific Library. > ERROR: configuration failed for package 'gsl' > The downloaded packages are in > /tmp/RtmpbxQ4fl/downloaded_packages > Warning message: > installation of package 'gsl' had non-zero exit status in: > install.packages("gsl", > dependencies = T) > > > as if the gls-bin package were absent. Any insights? Thanks in advance, > > > - gappy (International Man of Mistery) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison
Johannes Ranke
2006-Jun-23 15:09 UTC
[R] problem installing gsl package under Ubuntu Breezy Badger
Hi Giuseppe, you need the -dev package for it (header files). In Debian, this is called libgsl0-dev, so chances are good that the name is the same in Ubuntu. Otherwise you might want to try sudo apt-cache search gsl Best regards, Johannes * Giuseppe Paleologo <paleologo at gmail.com> [060623 16:30]:> I am trying to install the gls package (a wrapper for GNU scientific library > special functions) package under Ubuntu 5.10. I have gls-bin (the debian GNU > Scientific Library binary package). When I try to install the R package, I > receive the following. > > > install.packages("gsl",dependencies=T) > Warning in install.packages("gsl", dependencies = T) : > argument 'lib' is missing: using /usr/local/lib/R/site-library > trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/gsl_1.6-6.tar.gz' > Content type 'application/x-gzip' length 50969 bytes > opened URL > =================================================> downloaded 49Kb > > * Installing *source* package 'gsl' ... > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for gsl_sf_airy_Ai_e in -lgsl... no > configure: error: Cannot find Gnu Scientific Library. > ERROR: configuration failed for package 'gsl' > The downloaded packages are in > /tmp/RtmpbxQ4fl/downloaded_packages > Warning message: > installation of package 'gsl' had non-zero exit status in: > install.packages("gsl", > dependencies = T) > > > as if the gls-bin package were absent. Any insights? Thanks in advance, > > > - gappy (International Man of Mistery) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- Dr. Johannes Ranke jranke at uni-bremen.de UFT Bremen, Leobenerstr. 1 +49 421 218 8971 D-28359 Bremen http://www.uft.uni-bremen.de/chemie/ranke