[R] mpfr and gsl problem on SLES11 SP4
syslog syslog
syslog at citromail.hu
Fri Feb 2 14:47:19 CET 2018
Dear Team,
Maybe somebody already tried to install mpfr and gsl packages for R on SLES.
Exactly I try to install Rmpfr_0.6-1.tar.gz and gsl_1.9-10.3.tar.gz on SLES11 SP4.
These are the available packages from official SLES SDK media:
rtest:/home/ruser # rpm -qa | grep -i gsl
gsl-devel-1.11-1.30
gsl-1.11-1.30
rtest:/home/ruser #
As I understand gsl is from 1.11 till 1.30 level.
rtest:/home/ruser # rpm -qa | grep -i mpfr
libmpfr1-2.3.2-3.118.1
mpfr-devel-2.3.2-3.118.1
rtest:/home/ruser #
GSL installation: https://cran.r-project.org/web/packages/gsl/index.html
SystemRequirements:
Gnu Scientific Library version >= 1.12
rtest:/home/ruser # R CMD INSTALL gsl_1.9-10.3.tar.gz
* installing to library ‘/usr/local/lib64/R/library’
* installing *source* package ‘gsl’ ...
** package ‘gsl’ successfully unpacked and MD5 sums checked
checking for gsl-config... /usr/bin/gsl-config
checking if GSL version >= 1.12... checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
configure: error: Need GSL version >= 1.12
ERROR: configuration failed for package ‘gsl’
* removing ‘/usr/local/lib64/R/library/gsl’
rtest:/home/ruser #
Rmpfr installation: https://cran.r-project.org/web/packages/Rmpfr/index.html
SystemRequirements:
gmp (>= 4.2.3), mpfr (>= 3.0.0)
rtest:/home/ruser # R CMD INSTALL Rmpfr_0.6-1.tar.gz
* installing to library ‘/usr/local/lib64/R/library’
* installing *source* package ‘Rmpfr’ ...
** package ‘Rmpfr’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking mpfr.h usability... yes
checking mpfr.h presence... yes
checking for mpfr.h... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking for mpfr_init in -lmpfr... yes
checking for mpfr_digamma in -lmpfr... no
configure: error: MPFR Library must be at least version 3.0.0, see README
ERROR: configuration failed for package ‘Rmpfr’
* removing ‘/usr/local/lib64/R/library/Rmpfr’
rtest:/home/ruser #
Maybe R detects the packages wrongly ?
Can I edit source to ignore ?
Can I use Rmpfr and gsl with original SLES SDK packages ?
Regards,
Gery
IT Specialist
_________________________________________
Citromail.hu levelezőrendszerből küldve
Lépj be vagy regisztrálj
[[alternative HTML version deleted]]
More information about the R-help
mailing list