[R] problems compiling R on AIX5.1

Harald Servat Gelabert harald at cepba.upc.es
Mon May 5 18:44:59 CEST 2003


Thanks for your help. 

I've tried to delete the references to R.exp (it was faster to check :)
but I receive a new error.

---
        xlc_r -Wl,-G -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall
-L/usr/local/lib -o methods.so do_substitute_direct.o methods_list_dispatch.o
method_meta_data.o slot.o class_support.o tests.o   -lm 
mkdir -p -- ../../../../library/methods/libs
dumping R code in package 'methods'
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
        unable to load shared library
"/scratch_tmp/harald/R-1.7.0/library/methods/libs/methods.so":
  
Execution halted
make: 1254-004 The error code from the last command is 1.

---

But the shared library exists

p630n17:/scratch_tmp/harald/R-1.7.0>ls -la
/scratch_tmp/harald/R-1.7.0/library/methods/libs/
total 128
-rwxr-xr-x   1 harald   des           54758 May 05 18:10 methods.so

---

I've tried to compile with XLC and GCC3.1 and both fail on the same
location.

Does anyone any idea for solve this?

Best regards and many thanks,


Prof Brian Ripley wrote:
> 
> On Mon, 5 May 2003, Harald Servat Gelabert wrote:
> 
> > I'm trying to compile R (versions 1.6.0, 1.6.1, 1.6.2 and 1.7.0) on
> > our IBM Power3 Machine for an external user.
> >
> > I always used to configure with
> > ./configure --prefix=/scratch_tmp/harald/instala
> >
> > I've never achieved to compile 1.7.0 because it seems that a file
> > called R.exp is missing (or maybe it's not well referenced on the
> > makefile).
> 
> That one you can solve by installing pcre yourself, and then
> re-configuring.  You may have to do the same with bzip2 and zlib.
> Or you can try deleting the reference to R.exp in the load command in the
> Makefile.
> 
> --
> 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

-- 
________________________________________________________________________
             Harald Servat Gelabert (harald at cepba.upc.es)
   o//o      Centre Europeu de Paral.lelisme de Barcelona          CEPBA
  o//o       WWW...: http://www.cepba.upc.es       Tel: +34-93-401 74 23
 o//o        e-mail: suport at cepba.upc.es           Fax: +34-93-401 25 77
o//o  CEPBA  c/Jordi Girona, 1-3, Mòdul D6. E-08034 Barcelona, Catalunya
________________________________________________________________________

The optimist thinks that this is the best of all possible worlds,
and the pessimist knows it.
-- J. Robert Oppenheimer, "Bulletin of Atomic Scientists"

We scientists, whose tragic destiny it has been to make the methods
of annihilation ever more gruesome and more effective, must consider
it our solemn and transcendent duty to do all in our power in
preventing these weapons from being used for the brutal purpose for
which they were invented.
-- Albert Einstein,       "Bulletin of Atomic Scientists"




More information about the R-help mailing list