[Rd] package gsl assumes incorrect gcc version during install (PR#10451)

From: <leviwaldron_at_gmail.com>
Date: Thu, 22 Nov 2007 20:00:53 +0100 (CET)

Full_Name: Levi Waldron
Version: 2.5.1
OS: Ubuntu Gutsy
Submission from: (NULL) (

I installed libgsl0-dev then tried to install the gsl cran package, unsuccessfully (see output below). As a workaround I created a symbolic link to /usr/bin/gcc-4.2, ie:

sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc-4.2

The correct behavior of the gsl package should be to use the executable '/usr/bin/gcc' which is already linked to the current gcc version.

> install.packages("gsl",dependencies=T)
Warning in install.packages("gsl", dependencies = T) :

         argument 'lib' is missing: using '/usr/local/lib/R/site-library' --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done
trying URL '
http://probability.ca/cran/src/contrib/gsl_1.8-8.tar.gz' Content type 'application/x-tar' length 59084 bytes opened URL

downloaded 57Kb

The downloaded packages are in

        /tmp/RtmpW60zFl/downloaded_packages Warning message:
installation of package 'gsl' had non-zero exit status in: install.packages("gsl", dependencies = T)

> version

platform       i486-pc-linux-gnu           
arch           i486                        
os             linux-gnu                   
system         i486, linux-gnu             
major          2                           
minor          5.1                         
year           2007                        
month          06                          
day            27                          
svn rev        42083                       
language       R                           
version.string R version 2.5.1 (2007-06-27) >

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 23 Nov 2007 - 17:30:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 23 Nov 2007 - 19:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.