From gwright@packetstorm.com  Thu Nov 14 20:43:27 2002
From: gwright@packetstorm.com (Gregory Wright)
Date: Thu, 14 Nov 2002 15:43:27 -0500
Subject: R-1.6.1, Mac OS X 10.2.2 build failure
In-Reply-To: <75DF168B-F7F7-11D6-B1DB-000393860F3C@stat.ucla.edu>
Message-ID: <BA12AEFB-F811-11D6-952D-00039398F084@packetstorm.com>


On Thursday, November 14, 2002, at 12:35 PM, Jan de Leeuw wrote:

> I know what I would do. It does not rebuild "methods". I would do a
> make distclean in your build directory and configure from scratch.
>
>
>

Hi,

I unpacked a fresh 1.6.1 tarball, reconfigured and rebuilt from 
scratch. The results were similar:

<...stuff omitted..>
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
gcc -no-cpp-precomp -I../../../../include  -I/usr/local/include   
-fno-common  -g -O2 -c methods_list_dispatch.c -o 
methods_list_dispatch.o
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
gcc -no-cpp-precomp -I../../../../include  -I/usr/local/include   
-fno-common  -g -O2 -c method_meta_data.c -o method_meta_data.o
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
gcc -no-cpp-precomp -I../../../../include  -I/usr/local/include   
-fno-common  -g -O2 -c slot.c -o slot.o
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
gcc -no-cpp-precomp -I../../../../include  -I/usr/local/include   
-fno-common  -g -O2 -c class_support.c -o class_support.o
cc1: warning: changing search order for system directory 
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system 
directory
gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o 
methods.so do_substitute_direct.o methods_list_dispatch.o 
method_meta_data.o slot.o class_support.o
mkdir -p -- ../../../../library/methods/libs
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
make[4]: *** [../../../library/methods/R/all.rda] Error 1
make[3]: *** [all] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

The configuration was

bash-2.05a$ export TCLTK_LIBS="-framework Tcl -framework Tk"
bash-2.05a$ export 
TCLTK_CPPFLAGS="-I/Library/Frameworks/Tcl.framework/Headers 
-I/Library/Frameworks/Tk.framework/Headers"
./configure 
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh 
--with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh


and configure's summary was

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

   Source directory:          .
   Installation directory:    /usr/local

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

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

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

   Recommended packages:      yes


Is there something obvious that I should be examining to find the root 
of the this?

Best Wishes,
Greg Wright

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-1.6.1, Mac OS X 10.2.2 build failure
Gregory Wright