[Rd] Matrix package: compilation error
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Mar 31 20:01:26 CEST 2007
This is because of the GNUism in Matrix/src/Makefile
## get rid of this, once we have 'Depends: R (>= 2.5.0)':
ifeq (, $(findstring -lRlapack, $(LAPACK_LIBS)))
SOURCES_LAPACK =
else
SOURCES_LAPACK = zpotf2.f zpotrf.f zlacgv.f
endif
I guess you know what you need to do to fix it for BSD make?
On Sat, 31 Mar 2007, Rainer Hurling wrote:
> Trying to compile the package Matrix_0.9975-11.tar.gz with newest
> R-2.5.0 alpha (2007-03-31 r40986) on FreeBSD 7.0-CURRENT (i386) I get
> the following error:
>
> -----
> R CMD INSTALL Matrix_0.9975-11.tar.gz
> * Installing to library '/usr/local/lib/R/library'
> * Installing *source* package 'Matrix' ...
> ** libs
> ** arch -
> "Makefile", line 10: Missing dependency operator
> "Makefile", line 12: Need an operator
> "Makefile", line 14: Need an operator
> make: fatal errors encountered -- cannot continue
> ERROR: compilation failed for package 'Matrix'
> ** Removing '/usr/local/lib/R/library/Matrix'
> -----
>
>
> Under FreeBSD I have installed the LAPACK package (3.0.2) with library
> at location
>
> /usr/local/lib/liblapack.so.4
>
> Is it possible that the Makefile of package Matrix fails because of that?
Not used unless you asked for it during R's configure.
--
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-devel
mailing list