[R] problem installing gsl package under Ubuntu Breezy Badger

Johannes Ranke jranke at uni-bremen.de
Fri Jun 23 17:09:05 CEST 2006

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,


* 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

More information about the R-help mailing list