[Rd] problem compiling R-1.9.0beta with PGI compilers on amd64

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Apr 2 18:26:19 CEST 2004


On Fri, 2 Apr 2004, Liaw, Andy wrote:

> Dear R-devel,
> 
> I'm trying to compile R-1.9.0beta (2004-03-31) with the PGI compilers
> (15-day free evaluation:  after the 15 days the binaries will stop working).
> I'm running into some problems, that I hope some can offer pointers.
> 
> 1. After configure, the FLIBS include /usr/local/lib' --- note the extra '.
> I had to manually delete it in a couple of places.
> 
> In a previous thread on compiling R with ifc/icc, Saikat wrote:
> ===
> The problem is in the AC_F77_LIBRARY_LDFLAGS macro. It guesses the linker
> flags by passing a verbose option (-v for ifc) to the compiler. For ifc this
> produces a multiline output, one line continued to the next by a \
> character. It also contains some " characters. These together produces the
> wrong results. We can fix this by removing all \ and " from the variable
> ac_f77_v_output in that macro. I am not sure if this breaks anything in
> other compilers.
> ===
> Seems like this is related.
> 
> 2. `make' ran fine, until I get:
> make[3]: Leaving directory `/u1/scratch/R-1.9.0/src/library/ts'
> installing parsed NAMESPACE files
> make[2]: *** [R] Error 139
> make[2]: Leaving directory `/u1/scratch/R-1.9.0/src/library'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/u1/scratch/R-1.9.0/src'
> make: *** [R] Error 1
> 
> Does anyone know what might be causing this error?
> 
> Also, if I then run `bin/R', I just get a segfault.  Is this expected?  (I
> thought not, since it's at the package building stage...)

2. is trying to run R, so that is the cause.  You need to find out why R 
segfaults.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list