R-1.6.1, Mac OS X 10.2.2 build failure

Gregory Wright gwright@packetstorm.com
Thu, 14 Nov 2002 18:22:04 -0500


dlcompat seems to be the same (the darwinports script downloads it from  
the fink project at sourceforge). I'm concentrating on g77--I've found  
at least on packaging error, but repairing it did not fix the R-1.6.1  
build. I will give it a go with a hand built g77.

(If the error is in darwinports I would at least like to give  
constructive feedback on how it might be fixed.)

More anon.

Best Wishes,
Greg

On Thursday, November 14, 2002, at 05:40 PM, Jan de Leeuw wrote:

> The dlcompat and g77 in darwinports (that Greg seems to be using)
> are different from the ones in fink.
>
> On Thursday, November 14, 2002, at 02:34 PM, Luke Tierney wrote:
>
>> You might want to double check the dlcompat you have.  THere was some
>> discussiion about this a week or two ago in conneciton with plain
>> darwin I think.  Mac compilers prepend underscores to C names; most
>> other systems don't.  R's config assumes that R has to prepend an
>> underscore.  But as I recall you can configure dlcompat to do that for
>> you, and if that is what you have then you are getting two underscores
>> instead of one.  Don't know if that is the problem, but it's something
>> to check.
>>
>> luke
>>
>> On Thu, 14 Nov 2002, Gregory Wright wrote:
>>
>>>
>>> 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
>>> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ 
>>> ._._._._._
>>>
>>
>> -- 
>> Luke Tierney
>> University of Iowa                  Phone:             319-335-3386
>> Department of Statistics and        Fax:               319-335-3017
>>    Actuarial Science
>> 241 Schaeffer Hall                  email:      luke@stat.uiowa.edu
>> Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu
>>
>>
> ===
> 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@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-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._