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

Dirk Eddelbuettel edd at debian.org
Tue Jan 6 12:20:12 CET 2009


On 6 January 2009 at 14:45, Matthieu Stigler wrote:
| 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?

You need to install the -dev package libgsl0-dev.

| Could the package gsl be added to 
| the usefull collection of R  packages accessible from the debian repos?

There are 1500 CRAN packages but only a handful of volunteer maintainers. 

Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-SIG-Debian mailing list