Hi,

thank you very much for the info. It worked with some modifications, which I 
want to describe here in case someone else wants to make R on opensolaris.
I didn't had the pkgutil installed yet. So I went to the blastwave homepage, 
read the howto and followed the instructions. In summary, I did

pkgadd -d http://blastwave.network.com/csw/pkgutil_`/sbin/uname -p`.pkg 
/opt/csw/bin/pkgutil --catalog 
/opt/csw/bin/pkgutil --install gnupg textutils 
/opt/csw/bin/gpg --keyserver pgp.mit.edu --recv-keys A1999E90
/opt/csw/bin/pkgutil -i libiconv gcc4

In the R directory, I started ./configure with the options as recommended by 
you. Since I didn't have gmake installed, I tried make first. But that failed:

making sys-std.d from sys-std.c
sys-std.c:418:33: readline/readline.h: No such file or directory
sys-std.c:452:32: readline/history.h: No such file or directory
*** Error code 1
The following command caused the error:
gcc -std=gnu99 -MM -I. -I../../src/include -I../../src/include 
-I/usr/X11/include -I/usr/local/include -DHAVE_CONFIG_H sys-std.c > sys-std.d
make: Fatal error: Command failed for target `sys-std.d'

Then, I installed gmake

/opt/csw/bin/pkgutil -i gmake

and in the R directory I did

make clean
export MAKE=/opt/csw/bin/gmake
/opt/csw/bin/gmake
pfexec /opt/csw/bin/gmake install

I could not run the test, though

/opt/csw/bin/gmake check
gmake[1]: Entering directory `/export/home/harald/temp/R-2.10.0/tests'
gmake[2]: Entering directory `/export/home/harald/temp/R-2.10.0/tests'
gmake[3]: Entering directory `/export/home/harald/temp/R-2.10.0/tests/Examples'

Collecting examples for package ‘base’
  Extracting from parsed Rd's ........................................
Running examples in package ‘base’
Error: testing 'base' failed
Execution halted

But so far, R seems to work.

Thank you again.
Harald
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to