After setting the flags to -fPIC using ./configure --with-x=no --with-lapack="/apps/lib/LAPACK/lapack_LINUX.a" CPICFLAGS=-fPIC FPICFLAGS=-fPIC I still get the following errors:cc -std=gnu99 -shared -L/usr/local/lib -o grDevices.so chull.o devNull.o devPicTeX.o devPS.o devQuartz.o init.o 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 0x0e65d864 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 --------------------------------- Thanks, Vivek
> > > uname -a gives me this:========== > > > Linux XXXXXXXX 2.6.21.1-xserve #17 SMP Thu Jun 14 19:45:57 MDT 2007 > > ppc64 > > > ppc64 ppc64 GNU/Linux > > > =========== > > > Also when I configure I see the foll. output: > > > ==================== > > > R is now configured for powerpc64-unknown-linux-gnu > > > > That might be the problem: 'powerpc64' not 'ppc64'. What Linux distro > > is > > this? > > > > I am using Yellow Dog Linux distro. > > > Source directory: . > > > Installation directory: /usr/local > > > > > > C compiler: gcc -std=gnu99 -g -O2 > > > Fortran 77 compiler: gfortran -g -O2 > > > > > > C++ compiler: g++ -g -O2 > > > Fortran 90/95 compiler: gfortran -g -O2 > > > Obj-C compiler: > > > > > > Interfaces supported: > > > External libraries: readline > > > Additional capabilities: PNG, iconv, MBCS, NLS > > > Options enabled: shared BLAS, R profiling, Java > > > > > > Recommended packages: yes > > > ============================ > > > Do you have any suggestions?? > > > > And what is the setting of the flags I mentioned? See the manual I > > pointed you to, or the Makeconf file? > > > > I checked the Makeconf file and found the following settings: > CPICFLAGS = -fpic > FPICFLAGS = -fpic > > > Thanks, > Vivek > > > > Thanks, > > > Vivek > > > On 6/25/07, Prof Brian Ripley < [EMAIL PROTECTED]> wrote: > > >> > > >> 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@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, [EMAIL PROTECTED] > > >> 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 > > >> > > > > > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@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.