[Rd] R + OS X + gcc 3.5 = not quite there ..

Jan de Leeuw deleeuw at stat.ucla.edu
Sat Jul 31 21:15:51 CEST 2004


I tried R-devel (07/31/04) with

setenv CC gcc-3.5
setenv F77 gfortran
setenv CXX g++-3.5

Here gfortran is g-95, version 3.5, from Gaurav's site.

Configure goes fine, build goes fine, except for problems with 
macro-expansion
in plot.c, similar to the one you mention in starma.c. After clobbering 
those, the
compile is allright, the base package builds fine, and the binary runs. 
There
is a problem with loading packages, however (see below).

==================================================================

[cabledoc70:Developer/R/R-devel] deleeuw% bin/R
Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
         internal error in decompress1

R : Copyright 2004, The R Foundation for Statistical Computing
Version 2.0.0 Under development (unstable) (2004-07-30), ISBN 
3-900051-00-3

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.

 > library()
Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
         internal error in decompress1
==================================================================

With R-patched (07/31/04) there are no problems with plot.c, but there 
is the
problem with starma.c (I guess a cpp-3.5 bug). Even when fixing starma.c
the package stats still refuses to build because of
==================================================================

gfortran   -fno-common  -g -O2 -c ppr.f -o ppr.o
/var/tmp//ccSqEJAf.s:8241:FATAL:Symbol __BLOCK_DATA____ already defined.
make[5]: *** [ppr.o] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all] Error 1
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

and the "bad restore file magic number" errors are there as well.
==================================================================

[



More information about the R-devel mailing list