[R] SJava

Yasser El-Zein abu3ammar at gmail.com
Thu Nov 18 19:53:20 CET 2004


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.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: configuration failed for package 'SJava'




More information about the R-help mailing list