[R] problem compilation on AIX

Delphine RAMALINGOM delphine.ramalingom at univ-reunion.fr
Tue Oct 24 12:21:30 CEST 2006

I'm trying to install R-2.4.0 on AIX 5.2. But, I have an error message 
during the compilation.
Can you help me please?

I have used :
export OBJECT_MODE=64
export CC=/usr/bin/xlc_r
export F77=/usr/bin/xlf_r
export CXX=/usr/bin/xlC_r
export LDFLAGS='-brtl'
export CFLAGS='-O2 -qstrict'
export FFLAGS='-O2 -qstrict'
export CXXFLAGS='-O2 -qstrict'

./configure --prefix =/home/..... --without-readline
That's ok.

But, when I made the command "make", I obtained :
/usr/bin/xlc_r -Wl,-G -Wl,-bexpall -Wl,-bnoentry -brtl -o grDevices.so 
chull.o devNull.o devPicTeX.o devPS.o devQuartz.o init.o  -lm
make[5]: Leaving directory `/home/source/R-2.4.0/src/library/grDevices/src'
make[4]: Leaving directory `/home/source/R-2.4.0/src/library/grDevices/src'

 *** caught segfault ***
address 6f6c207761732096, cause 'memory not mapped'

 1: .Call("R_lazyLoadDBfetch", key, file, compressed, hook, PACKAGE = 
 2: lazyLoadDBfetch(key, datafile, compressed, envhook)
 3: .Call("La_dgesv", a, b, tol, PACKAGE = "base")
 4: solve.default(rgb)
 5: solve(rgb)
 6: drop(whitexyz %*% solve(rgb))
 7: make.rgb(red = c(0.625, 0.34), green = c(0.28, 0.595), blue = 
c(0.155,     0.07), gamma = 1.8, white = "D65", name = "Apple RGB")
 8: eval(expr, envir, enclos)
 9: eval(i, envir)
10: sys.source(codeFile, env, keep.source = keep.source)
11: try(sys.source(codeFile, env, keep.source = keep.source))
12: loadNamespace(package, lib.loc, keep.source, TRUE, TRUE)
13: code2LazyLoadDB(package, lib.loc = lib.loc, keep.source = 
keep.source,     compress = compress)
14: tools:::makeLazyLoading("grDevices")
aborting ...
make[3]: *** [all] Segmentation fault (core dumped)
make[3]: Leaving directory `/home/source/R-2.4.0/src/library/grDevices'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/source/R-2.4.0/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/source/R-2.4.0/src'
make: *** [R] Error 1

Thanks in advance.

Delphine Ramalingom
Numericien Engineer
Computing Center of University of Reunion Island

More information about the R-help mailing list