build fails dumping R code in 'methods' on i686-pc-linux-gnu (PR#1630)

John Chambers
Tue, 04 Jun 2002 14:04:25 -0000

aa056@chebucto.ca wrote:
>
> Using the same settings in config.site as were used for R-1.4.1,
> R-1.5.0 fails to build.
>
> ./configure --enable-R-shlib
>
> Using defaults and using PPro optimizations, the build failed in
> package methods:
>
> dumping R code in package 'methods'
> gmake[4]: *** [../../../library/methods/R/all.rda] Error 139
> gmake[4]: Leaving directory
`/mnt/Data/src/install/R-1.5.0/src/library/methods'
>
> The command that fails is:
>
>     ../../../bin/R --vanilla --verbose < all.R
>
> The same failure occurs using defaults for CFLAGS, etc.
>
> Install patches:
>
>   zcat R-release.diff.gz | patch -p1
>
> R is now configured for i686-pc-linux-gnu
>
>   Source directory:          .
>   Installation directory:    /usr/local
>   C compiler:                gcc  -D__NO_MATH_INLINES -mieee-fp -O2 \
>  -pipe -s -mpentiumpro -mcpu=pentiumpro -march=pentiumpro -mieee-fp \
>  -malign-loops=2 -malign-jumps=2 -malign-functions=2 \
>  -mpreferred-stack-boundary=2
>   C++ compiler:              g++  -mieee-fp -O2 -pipe -s  -mpentiumpro \
>  -mcpu=pentiumpro -march=pentiumpro -mieee-fp -malign-loops=2 \
>  -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2
>   FORTRAN compiler:          g77  -O2 -pipe -s -mpentiumpro \
> -mcpu=pentiumpro -march=pentiumpro -mieee-fp -malign-loops=2 \
> -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2
>   X11 support:               yes
>   Gnome support:             no
>   Tcl/Tk support:            yes
>   Readline support:          yes
>
>   R profiling support:       yes
>   R as a shared library:     yes
>
> The same error occurs using the patched version.
>

I couldn't reproduce this with the --enable-R-shlib in the
configuration, on either of my current Linux versions (Redhat 7.1, YDL
2.2); e.g.,

R is now configured for i686-pc-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local
  C compiler:                gcc  -D__NO_MATH_INLINES -mieee-fp -g
  C++ compiler:              g++  -mieee-fp -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:     yes



--
John M. Chambers                  jmc@bell-labs.com
Bell Labs, Lucent Technologies    office: (908)582-2681
700 Mountain Avenue, Room 2C-282  fax:    (908)582-3340
Murray Hill, NJ  07974            web: http://www.cs.bell-labs.com/~jmc
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._