[R] R-2.5.0 compilation problem on Linux powerpc

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 25 10:28:17 CEST 2007


Is this ppc32 or ppc64?  (What does uname -a say?)

If the former, you might need to set CPICFLAGS and FPICFLAGS to -fPIC 
(rather than -fpic): please look these up in the R-admin.html file (which 
INSTALL points you to).

For ppc64 configure should have found -fPIC.

On Mon, 25 Jun 2007, Vivek Menon wrote:

> Hello everybody,I am having an error while compiling R-2.5.0 on Linux
> powerpc.
> This is what I see when I do a make:
>
>
> gcc -std=gnu99 -shared -L/usr/local/lib -o grDevices.so chull.o devNull.o
> devPicTeX.o devPS.o devQuartz.o init.o
> ../../../../library/grDevices/libs/grDevices.so is unchanged
> make[5]: Leaving directory
> `/home/vivekv/sw_alg/R-2.5.0/src/library/grDevices/src'
>
> make[4]: Leaving directory `/home/vivekv/sw_alg/R-2.5.0
> /src/library/grDevices/src'
> Warning: unable to load shared library '/home/vivekv/sw_alg/R-2.5.0
> /modules//lapack.so':
>  /home/vivekv/sw_alg/R- 2.5.0/modules//lapack.so: R_PPC_REL24 relocation at
> 0x0e65d7e4 for symbol `strlen' out of range
> Error in solve.default(rgb) : lapack routines cannot be loaded
> Error: unable to load R code in package 'grDevices'
> Execution halted
> make[3]: *** [all] Error 1
> make[3]: Leaving directory `/home/vivekv/sw_alg/R-2.5.0
> /src/library/grDevices'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/home/vivekv/sw_alg/R- 2.5.0/src/library'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/home/vivekv/sw_alg/R-2.5.0/src'
> make: *** [R] Error 1
>
> Please let me know what needs to be done for a successful installation.
> Thanks,
> Vivek
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
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-help mailing list