[Rcpp-devel] compiling error
chuan gao
aggie.gao at gmail.com
Mon May 3 22:26:15 CEST 2010
Hi All,
I am working on redhat enterprise 5. I installed R by enabling the shared
library by the following command,
./configure --enable-R-shlib
make
make install
and I tried to install RInside by
svn checkout svn://svn.r-forge.r-project.org/svnroot/rinside
cd rinside/
R CMD INSTALL pkg
and i got the following error
* installing to library \u2018/usr/local/lib64/R/library\u2019
* installing *source* package \u2018RInside\u2019 ...
** libs
** arch -
/usr/local/lib64/R/bin/R --vanilla --slave < tools/RInsideEnvVars.r >
RInsideEnvVars.h
/usr/local/lib64/R/bin/R --vanilla --slave < tools/RInsideAutoloads.r >
RInsideAutoloads.h
g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include
-I/usr/local/lib64/R/library/Rcpp/lib -fpic -I.
-I/usr/local/lib64/R/include -g -O2 -c MemBuf.cpp -o MemBuf.o
g++ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include
-I/usr/local/lib64/R/library/Rcpp/lib -fpic -I.
-I/usr/local/lib64/R/include -g -O2 -c RInside.cpp -o RInside.o
g++ -o libRInside.so MemBuf.o RInside.o -shared -L/usr/local/lib64/R/lib
-lR
/usr/bin/ld: cannot find -lR
collect2: ld returned 1 exit status
make: *** [libRInside.so] Error 1
ERROR: compilation failed for package \u2018RInside\u2019
* removing \u2018/usr/local/lib64/R/library/RInside\u2019
* restoring previous \u2018/usr/local/lib64/R/library/RInside\u2019
can anybody help? Thanks!
Chuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100503/b18f0dcd/attachment.htm>
More information about the Rcpp-devel
mailing list