[Rd] Buidling R on Linux (Itanium) fails (PR#7897)

Christophe Pouzat christophe.pouzat at univ-paris5.fr
Thu May 26 12:09:23 CEST 2005


here is the "configure" command line I used for an Intel PIV processor 
with icc, ifort and the intel mkl:

./configure CC=icc CFLAGS="-O2 -mp -prec_div" F77=ifort CXX=icc 
CXXFLAGS="-O2 -mp -prec_div" FFLAGS="-C90 -w90 -w95 -mp -prec_div" 
SHLIB_LDFLAGS=-shared SHLIB_CXXLDFLAGS=-shared --with-blas="-lmkl_lapack 
-lmkl -lguide -lpthread"

In my experience using "FPICFLAGS=-shared" is mendatory to get the 
compilation working. The other options are mainly there to pass almost 
all the tests (except one) of "make check".


Bader at lrz.de wrote:

>Full_Name: Reinhold Bader
>Version: 2.1.0
>Submission from: (NULL) (
>I tried to build R using the Intel compilers (icc, ifort) and the Math Kernel
>Optimizations used were -O3, and the 
>was exported.
>The build failed with the following error message:
>dumping R code in package 'methods'
>Saving namespace image ...
>initializing class and method definitions now ...Error in
>makePrototypeFromClassDef(properties, ClassDef, immediate, where) :
>        in making the prototype for class "SClassExtension" elements of the
>prototype failed to match the corresponding slot class: coerce (class
>“character” ), test (class “character” ), replace (class “character” ), simple
>(class “character” ), dataPart (class “character” )
>Error: .onLoad failed in 'loadNamespace' for 'methods'
>Execution halted
>I am not a R specialist; how do I continue from here?
>make[4]: *** [../..
>R-devel at stat.math.ethz.ch mailing list

A Master Carpenter has many tools and is expert with most of them.If you
only know how to use a hammer, every problem starts to look like a nail.
Stay away from that trap.
Richard B Johnson.

Christophe Pouzat
Laboratoire de Physiologie Cerebrale
UFR biomedicale de l'Universite Paris V
45, rue des Saints Peres
75006 PARIS

tel: +33 (0)1 42 86 38 28
fax: +33 (0)1 42 86 38 30
web: www.biomedicale.univ-paris5.fr/physcerv/C_Pouzat.html

More information about the R-devel mailing list