Newbie here (to R) and running Linux...

 > install.packages("gsl","~/R")
...
trying URL 'http://cran.wustl.edu/src/contrib/gsl_1.8-4.tar.gz'
Content type 'application/x-tar' length 57051 bytes
opened URL
==================================================
downloaded 55Kb

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


and I have gsl:
LD_LIBRARY_PATH=/N/soft/linux-sles9-ppc64/gsl-1.8-xlc/lib

and, fwiw:
/N/soft/linux-sles9-ppc64/R-2.5.0-ibm-64/lib/R/bin/exec> file R
R: ELF 64-bit MSB executable, cisco 7500, version 1 (SYSV), for GNU/ 
Linux 2.4.21, dynamically linked (uses shared libs), not stripped

tia, Randy
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to