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
./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.
-Tom
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Building R on Mac OS X-"dumping methods" problem
3 messages · Tom Kennedy, Peter Dalgaard, Jan de Leeuw
Tom Kennedy <tom.kennedy at bigpond.com> writes:
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
Hmm. Now I don't know OSX, but this points quite squarely at a dynamic library loading failure. Does this affect other .Call() instances? Is it possible that you're picking up another version of methods.so (or whatever the extension is)? Are there "ldd" and "nm" command in MOSX? If so, what do they tell you about the dyn.lib.? Is there an R_initialize_methods_metadata in it?
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
It's something local. One thing that comes to mind is: did he unpack the R-1.6.0 archive with Stuffit Expander ? Older versions truncate long filenames. Always use tar or pax. nm methods.so | grep R_initialize should tell Tom if the symbol is there
On Saturday, October 19, 2002, at 02:50 AM, Peter Dalgaard BSA wrote:
Tom Kennedy <tom.kennedy at bigpond.com> writes:
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
Hmm. Now I don't know OSX, but this points quite squarely at a dynamic library loading failure. Does this affect other .Call() instances? Is it possible that you're picking up another version of methods.so (or whatever the extension is)? Are there "ldd" and "nm" command in MOSX? If so, what do they tell you about the dyn.lib.? Is there an R_initialize_methods_metadata in it? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- .-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ ._._._._
=== Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw at stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au ------------------------------------------------------------------------ ------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._