[R] SJava

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Nov 18 20:27:53 CET 2004


Seem pretty straightforward to me: either gpp is not a C++ compiler or it 
does not work (possibly because LD_LIBRARY_PATH does not contain its 
run-time libraries).

On Thu, 18 Nov 2004, Yasser El-Zein wrote:

> I failed to build SJava dure to teh error below. Any ideas?
>
> # R CMD INSTALL -c SJava_0.68-0.tar.gz
> * Installing *source* package 'SJava' ...
> checking for java... /opt/j2sdk1.4.2_06//bin/java
> Java VM /opt/j2sdk1.4.2_06//bin/java
> checking for javah... /opt/j2sdk1.4.2_06//bin/javah
> Looking in /opt/j2sdk1.4.2_06/include
> Looking in /opt/j2sdk1.4.2_06/include/linux
> checking for g++... no
> checking for c++... no
> checking for gpp... gpp
> checking for C++ compiler default output... b.out
> checking whether the C++ compiler works... configure: error: cannot
> run C++ compiled programs.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list