[R-sig-Fedora] rstan warning messages

Patrick, Larry B [CSSM] longplay at iastate.edu
Wed Jan 27 19:55:49 CET 2016


Confirmed that gcc-gfortran is installed
     Package gcc-gfortran-4.4.7-16.el6.x86_64 already installed and latest version
What could I check next?

I do not have the following installed and will get that done and tested again.
     libcurl-devel
     libidn-devel

Thanks,
Larry


-----Original Message-----
From: Tom Callaway [mailto:tcallawa at redhat.com] 
Sent: Wednesday, January 27, 2016 12:32 PM
To: Patrick, Larry B [CSSM] <longplay at iastate.edu>; 'r-sig-fedora at r-project.org' <r-sig-fedora at r-project.org>
Subject: Re: [R-sig-Fedora] rstan warning messages

On 01/27/2016 01:12 PM, Patrick, Larry B [CSSM] wrote:
> RHEL 6 installed
> R version 3.2.3 from EPEL installed
> 
> Start R and use the following command, but got warnings!
> 
> install.packages("rstan", dependencies = TRUE, repos = 
> "http://cran.r-project.org/") ...
> g++ -m64 -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o RcppEigen.so 
> g++ RcppEigen.o RcppExports.o fastLm.o -L/usr/lib64/R/lib -lRlapack 
> g++ -L/usr/lib64/R/lib -lRblas -lgfortran -lm -L/usr/lib64/R/lib -lR
> /usr/bin/ld: cannot find -lgfortran
> collect2: error: ld returned 1 exit status

Install the gcc-gfortran package.

> checking for curl-config... no
> Cannot find curl-config

Install the curl-devel package (it might also be called libcurl-devel).

hth,

~tom

==
Red Hat



More information about the R-SIG-Fedora mailing list