[R] Building R on Mac OS X-"dumping methods" problem

Tom Kennedy tom.kennedy at bigpond.com
Sat Oct 19 02:37:10 CEST 2002

I have also had the same problem in trying to get R to build on MacOS X.

dumping R code in package 'methods'
Error in .Call("R_initialize_methods_metadata", table, PACKAGE = 
"methods") :
         .Call function name not in load table
Execution halted

OS	10.2.1
gcc	3.1 --supplied by apple
g77	GNU Fortran (GCC 3.1 20020420 (prerelease))
./configure --with-aqua --without-x --enable-R-shlib CPPFLAGS=''

which gives

R is now configured for powerpc-apple-darwin6.1

   Source directory:          .
   Installation directory:    /usr/local

   C compiler:                gcc  -g -O2
   C++ compiler:              g++  -g -O2
   Fortran compiler:          g77  -g -O2

   X11 support:               no
   Gnome support:             no
   Tcl/Tk support:            no
   Readline support:          no

   R profiling support:       yes
   R as a shared library:     yes

   Recommended packages:      no

I have used a number of differing configurations all without success.

./configure --with-x
./configure --with-aqua --without-x

I used have darwinports instead of fink to get dlcompat.
I don't think darwinports current has a g77 for instllation. I got mine 
from http://gravity.psu.edu/~khanna/g77v3-bin.tar.gz .
I build without atlas or tcltk.
Why do you need to get a curses lib and bzip2, there are already 
versions installed in 10.2?

The cvs version of fink for 10.2 always kernel panics my machine during 
the apt compile, so I have not been able to use fink.

I had the same error on a solaris box (2.6) which resolved when gcc was 
upgraded to 3.3.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list