[R] Compiling R in 64-bit mode under AIX
Dr. Christoph Pospiech
pospiech at de.ibm.com
Sat Apr 12 18:55:01 CEST 2003
Hi all,
I am trying to compile R in 64-bit addressing mode under AIX 5.1. Currently, I
am using the following.
./configure -without-x CC='xlC_r' F77='xlf_r' CXX='xlC_r' CFLAGS='-q64 -g
-qfullpath' FFLAGS='-q64 -g -qfullpath' CXXFLAGS='-q64 -g -qfullpath'
MAIN_LDFLAGS='-q64 -g -qfullpath' LDFLAGS='-q64' SHLIB_CXXLDFLAGS='-q64'
SHLIB_LDFLAGS='-q64' AR='ar -X32_64' MAKE='gmake' && gmake
I am getting stuck at the following part of the make process.
xlC_r -q64 -G -q64 -o methods.so do_substitute_direct.o
methods_list_dispatch.o method_meta_data.o slot.o class_support.o tests.o
-lm
gmake[5]: Leaving directory `/xhome/cp/bench/DKFZ/R/src/library/methods/src'
gmake[4]: Leaving directory `/xhome/cp/bench/DKFZ/R/src/library/methods/src'
gmake[4]: Entering directory `/xhome/cp/bench/DKFZ/R/src/library/methods'
dumping R code in package 'methods'
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/home/cp/bench/DKFZ/R/library/ctest/libs/ctest.so":
No such file or directory
^C
Execution halted
^C
[cp at polar R]$
I know that the R help page states the following for AIX.
"Also, the R main program is unable to dynamically load modules (such as X11)
with the dlopen call."
But how do you get across the above part of the make process ? It gets stuck
at using dlopen to link /home/cp/bench/DKFZ/R/library/ctest/libs/ctest.so.
Inspecting with dbx, I found that dlopen returns the NULL pointer.
Any hints ?
--
Mit freundlichen Gruessen/Best Regards
Dr. Christoph Pospiech
High Performance & Parallel Computing
Advanced Computing Technology Center
Phone +49-621-469450, Fax: ...-469200, eMail: pospiech at de.ibm.com
Mobile +49-171 765 5871
---- Please Note new Tel+FAX Number ----
More information about the R-help
mailing list