Skip to content

make fails on R r50499 ( openSuSE 11.0 x86-64)

3 messages · Simone Giannerini, Brian Ripley

#
Dear all,

I encountered a problem when compiling the source of R patched 2.10.0
r50499 (19-11-2009)
linked to ACML single threaded (4.2.0 or 4.3.0)
OS: openSuSE 11.0 x86-64

make fails when it comes to installing mgcv with the following

[snip]
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
  non esiste un pacchetto chiamato 'Matrix'
package 'Matrix' does not exist  ## TRANSLATED BY ME
ERROR: lazy loading failed for package ?mgcv?
* removing ?/home/giannerini/Desktop/R-patched/library/mgcv?
make[2]: *** [mgcv.ts] Error 1
make[2]: Leaving directory
`/home/giannerini/Desktop/R-patched/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2
make[1]: Leaving directory
`/home/giannerini/Desktop/R-patched/src/library/Recommended'
make: *** [stamp-recommended] Error 2

I think that the source of package Matrix is where it is supposed to
be so that I have no clues.
Compilation and installation on the same machine with both the latest
R devel (2.11.0)  and the following version were successful
_
platform       x86_64-unknown-linux-gnu
arch           x86_64
os             linux-gnu
system         x86_64, linux-gnu
status
major          2
minor          10.0
year           2009
month          10
day            26
svn rev        50208
language       R
version.string R version 2.10.0 (2009-10-26)
[1] "LC_CTYPE=it_IT.UTF-8;LC_NUMERIC=C;LC_TIME=it_IT.UTF-8;LC_COLLATE=it_IT.UTF-8;LC_MONETARY=C;LC_MESSAGES=it_IT.UTF-8;LC_PAPER=it_IT.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=it_IT.UTF-8;LC_IDENTIFICATION=C"

for the moment we stay with r50208,
any hints appreciated, thanks

regards

Simone
#
What has happened is that mgcv now depends on Matrix, but the author 
hasn't told us that.  Add to the line in 
src/library/Recommended/Makefile.in so it becomes

mgcv.ts: nlme.ts MASS.ts Matrix.ts

and it should work.

The tarballs will catch up in due course.
On Fri, 20 Nov 2009, Simone Giannerini wrote:

            

  
    
#
Thank you,  now it works

kind regards,

Simone

2009/11/20 Prof Brian Ripley <ripley at stats.ox.ac.uk>: