You need to use 1) GNU make (see the DESCRIPTION file).
2) the compiler used to install R. Finding cc as /usr/ucb/cc indicates a likely path error: the current Sun C compiler is likely to be somewhere like /opt/SUNWspro/bin . If you did not install R, ask the person who did for the commands used.
On Wed, 2 Jul 2008, Scott Brown wrote:
I'm using package Matrix, which I have installed on several flavours of linux system. But on an important solaris install, I can't make it work. Initially, I thought the problem was using 'make' instead of 'gmake', but I masked around that, and still get errors. Those new errors seem to be related to 'cc' wanting some optional extras that I don't have installed. Any idea what they are? Or how I can persuade CMD INSTALL to use 'gcc' or something else that works? I don't have root privileges on this system, just in case that's important for the kind of solution you were thinking of. Here's an example of two kinds of errors I get: FIRST KIND OF ERROR, WHEN USING 'MAKE': ces-409034-sdb231: R CMD INSTALL -l ~/R Matrix_0.999375-4.tar.gz * Installing *source* package 'Matrix' ... ** libs ** arch - make: Fatal error in reader: Makefile, line 9: Unexpected end of line seen ERROR: compilation failed for package 'Matrix' ** Removing '/home/sdb231/R/Matrix' SECOND KIND OF ERROR, USING 'GMAKE': ces-409034-sdb231: R CMD INSTALL -l ~/R Matrix_0.999375-4.tar.gz * Installing *source* package 'Matrix' ... ** libs ** arch - cc -I/usr/local/R-2.7.1/lib/R/include -I/usr/local/include -I./UFconfig -g -c CHMfactor.c -o CHMfactor.o /usr/ucb/cc: language optional software package not installed gmake: *** [CHMfactor.o] Error 1 ERROR: compilation failed for package 'Matrix' ** Removing '/home/sdb231/R/Matrix' ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
-- Brian D. Ripley, [EMAIL PROTECTED] 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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.