[R-sig-Debian] Installation of R package gsl and its corresponding GSL library

Matthieu Stigler matthieu.stigler at gmail.com
Tue Jan 6 10:15:38 CET 2009


I want to install the R package gsl, which is a wrapper to the library GSL.

Installation fails as it seems that I did not install the right GSL library:

* 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.

However, I installed both gsl-bin and  libgsl0ldbl  with apt-get. Do you 
see which library I should install? Could the package gsl be added to 
the usefull collection of R  packages accessible from the debian repos?

by the way, I'm on Ubuntu 8.04 and run R 2.7.1

More information about the R-SIG-Debian mailing list