From rhurlin at gwdg.de  Sun Jan 11 23:13:56 2009
From: rhurlin at gwdg.de (Rainer Hurling)
Date: Sun, 11 Jan 2009 23:13:56 +0100
Subject: [Rd] Package Matrix does not compile in R-devel_2009-01-10
Message-ID: <496A6F24.7050403@gwdg.de>

Dear developers,

today I tried to build and install R-devel_2009-01-10 on FreeBSD 
8.0-CURRENT (i386) for testing purposes.

All went well until compiling the now recommended (integrated) Matrix 
package. At this point the following break occured:

------------------------------------------------
begin installing recommended package Matrix
* Installing *source* package 'Matrix' ...
** libs
gcc -std=gnu99 -I/usr/local/R-devel/include -I./UFconfig 
-I/usr/local/include    -fpic  -g -O2 -c CHMfactor.c -o CHMfactor.o
[..snip..]
gcc -std=gnu99 -I/usr/local/R-devel/include -I../Include 
-I../../UFconfig -I/usr/local/include    -fpic  -g -O2 -c 
colamd_global.c -o colamd_global.o
gcc -std=gnu99 -I/usr/local/R-devel/include -I../Include 
-I../../UFconfig -I/usr/local/include    -fpic  -g -O2 -I../Include 
-DDLONG -c colamd.c -o colamd_l.o
ar -rucs ../../COLAMD.a colamd_global.o colamd_l.o # colamd.o
( cd Source ; make lib )
gcc -std=gnu99 -I/usr/local/R-devel/include -I../Include 
-I../../UFconfig -I/usr/local/include    -fpic  -g -O2 -c amd_global.c 
-o amd_global.o
make: don't know how to make amd_l_1.o. Stop
*** Error code 2
Stop in /tmp/Rtmpx5nUS8/R.INSTALL10d63af1/Matrix/src/AMD.
*** Error code 1
Stop in /tmp/Rtmpx5nUS8/R.INSTALL10d63af1/Matrix/src.
ERROR: compilation failed for package 'Matrix'
* Removing '/usr/local/R-devel/library/Matrix'
*** Error code 1
Stop in /usr/local/R-devel/src/library/Recommended.
*** Error code 1
Stop in /usr/local/R-devel/src/library/Recommended.
*** Error code 1
Stop in /usr/local/R-devel.
------------------------------------------------


Please note, that on FreeBSD there is a BSD 'make' as default. If I want 
to use gmake instead, I explicitly have to set it. Unfortunately this 
does not work within building the whole R-devel system.

With R-2.8.1 I have no problems installing and using R. When I want to 
build the (external) Matrix package I have to set an environment 
variable to gmake, found at /usr/local/bin/gmake and all works well.


Now my question: Is it possible to change the configure/build of the 
integrated Matrix package on R-devel? For all other packages there is no 
need to do so (at least for FreeBSD ;-)

Please let me know if I can help.

Thanks in advance,
Rainer Hurling



[Rd] Package Matrix does not compile in R-devel_2009-01-10
Rainer Hurling