linux - R package installation error (on Fedora 20) -
i trying install tm bundle in r depends on bundle slam having problem installing. error attached below cannot find -lrblas. need install on distro library?
error message
class="snippet-code-html lang-html prettyprint-override"> install.packages("slam") installing bundle ‘/home/eroche/r/x86_64-redhat-linux-gnu-library/3.1’ (as ‘lib’ unspecified) trying url 'http://cran.rstudio.com/src/contrib/slam_0.1-32.tar.gz' content type 'application/x-gzip' length 46672 bytes (45 kb) opened url ================================================== downloaded 45 kb * installing *source* bundle ‘slam’ ... ** bundle ‘slam’ unpacked , md5 sums checked ** libs gcc -m64 -std=gnu99 -i/usr/include/r -dndebug -i/usr/local/include -fpic -o2 -g -pipe -wall -wp,-d_fortify_source=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c apply.c -o apply.o gcc -m64 -std=gnu99 -i/usr/include/r -dndebug -i/usr/local/include -fpic -o2 -g -pipe -wall -wp,-d_fortify_source=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c grouped.c -o grouped.o gcc -m64 -std=gnu99 -i/usr/include/r -dndebug -i/usr/local/include -fpic -o2 -g -pipe -wall -wp,-d_fortify_source=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c sparse.c -o sparse.o gcc -m64 -std=gnu99 -i/usr/include/r -dndebug -i/usr/local/include -fpic -o2 -g -pipe -wall -wp,-d_fortify_source=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c util.c -o util.o gcc -m64 -std=gnu99 -shared -wl,-z,relro -o slam.so apply.o grouped.o sparse.o util.o -l/usr/lib64/r/lib -lrblas -lgfortran -lm -lquadmath -l/usr/lib64/r/lib -lr /usr/bin/ld: cannot find -lrblas collect2: error: ld returned 1 exit status make: *** [slam.so] error 1 error: compilation failed bundle ‘slam’ * removing ‘/home/eroche/r/x86_64-redhat-linux-gnu-library/3.1/slam’ warning in install.packages : installation of bundle ‘slam’ had non-zero exit status downloaded source packages in ‘/tmp/rtmpgsb0e4/downloaded_packages’ > sessioninfo() r version 3.1.1 (2014-07-10) platform: x86_64-redhat-linux-gnu (64-bit) locale: [1] lc_ctype=en_ie.utf-8 lc_numeric=c lc_time=en_ie.utf-8 lc_collate=en_ie.utf-8 lc_monetary=en_ie.utf-8 [6] lc_messages=en_ie.utf-8 lc_paper=en_ie.utf-8 lc_name=c lc_address=c lc_telephone=c [11] lc_measurement=en_ie.utf-8 lc_identification=c attached base of operations packages: [1] stats graphics grdevices utils datasets methods base of operations loaded via namespace (and not attached): [1] tools_3.1.1
please seek install blas math libraries next command.
yum install blas-devel then should seek reinstall slam.
linux r gcc fedora20
No comments:
Post a Comment