[R] cannot install gsl from source?

Dalthorp, Daniel dd@|thorp @end|ng |rom u@g@@gov
Tue Jun 18 20:19:06 CEST 2019


I've been working on a fairly extensive R package for a few years with
ongoing testing with Travis CI. Today, though, I'm seeing an error in
installing the gsl package both at Travis and from the Windows GUI:

install.packages("gsl",repos = getOption("repos"), repo=NULL, type="source")

# gives the following error sequence:

Installing package into ‘C:/Users/ddalthorp/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'http://cran.at.r-project.org/src/contrib/gsl_2.1-6.tar.gz'
Content type 'application/x-gzip' length 189794 bytes (185 KB)
downloaded 185 KB

* installing *source* package 'gsl' ...
** package 'gsl' successfully unpacked and MD5 sums checked

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************

** libs

*** arch - i386
c:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-35~1.2/include" -DNDEBUG
-I/include         -O3 -Wall  -std=gnu99 -mtune=generic -c airy.c -o airy.o
airy.c:1:29: fatal error: gsl/gsl_sf_airy.h: No such file or directory
 #include <gsl/gsl_sf_airy.h>
                             ^
compilation terminated.
make: *** [C:/PROGRA~1/R/R-35~1.2/etc/i386/Makeconf:208: airy.o] Error 1
ERROR: compilation failed for package 'gsl'


Any ideas?


-- 
Dan Dalthorp, PhD
USGS Forest and Rangeland Ecosystem Science Center
Forest Sciences Lab, Rm 311
3200 SW Jefferson Way
Corvallis, OR 97331
ph: 541-750-0953
ddalthorp using usgs.gov

	[[alternative HTML version deleted]]



More information about the R-help mailing list