[R] Problem with making Matrix

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jan 11 09:05:22 CET 2006


You are mixing makes.  GNU make (presumably gmake) passes on its -w 
argument to sub-makes, and my guess is that make is a BSD make that does 
not accept it.

The simplest way out is to have the 'make' first in your path as GNU make 
whilst doing this.

BTW, this really is not the appropriate place: the posting guide suggests 
the maintainers and then R-devel.

On Wed, 11 Jan 2006, Andrew Robinson wrote:

> Hi R-help citizens,
>
> I'm having trouble making version 0.99-6 of Matrix on FreeBSD 6.0.
> The error message is:
>
>
> * Installing *source* package 'Matrix' ...
> ** libs
> gcc -I/usr/local/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES  -fPIC  -g -O2 -c Csparse.c -o Csparse.o
>
> ... numerous lines deleted ...
>
> gcc -I/usr/local/lib/R/include  -I/usr/local/include -D__NO_MATH_INLINES  -fPIC  -g -O2 -c triplet_to_col.c -o triplet_to_col.o
> f77   -fPIC  -g -O2 -c zpotf2.f -o zpotf2.o
> f77   -fPIC  -g -O2 -c zpotrf.f -o zpotrf.o
> touch CHOLMOD.stamp UMFPACK.stamp COLAMD.stamp CCOLAMD.stamp AMD.stamp Metis.stamp LDL.stamp
> gmake[1]: Entering directory `/tmp/R.INSTALL.WMODs1/Matrix/src/CHOLMOD'
> ( cd Lib ; make )
> make: don't know how to make w. Stop
> gmake[1]: *** [library] Error 2
>
>
> I am running:
>
>
>> version
>         _
> platform i386-unknown-freebsd6.0
> arch     i386
> os       freebsd6.0
> system   i386, freebsd6.0
> status
> major    2
> minor    2.1
> year     2005
> month    12
> day      20
> svn rev  36812
> language R
>
>> sessionInfo()
> R version 2.2.1, 2005-12-20, i386-unknown-freebsd6.0
>
> attached base packages:
> [1] "methods"   "stats"     "graphics"  "grDevices" "utils"     "datasets"
> [7] "base"
>
>
> NB I was able to install Matrix 0.98-7 using the FreeBSD make without any
> problem.  If I try to make version 0.99-6 using the FreeBSD make then
> it fails with "Missing dependency operator" errors.
>
> Does anyone have any suggestions?
>
> Thanks much,
>
> Andrew
> -- 
> Andrew Robinson
> Department of Mathematics and Statistics            Tel: +61-3-8344-9763
> University of Melbourne, VIC 3010 Australia         Fax: +61-3-8344-4599
> Email: a.robinson at ms.unimelb.edu.au         http://www.ms.unimelb.edu.au
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
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