From Friedrich.Leisch@ci.tuwien.ac.at  Thu Jun 10 08:09:08 1999
From: Friedrich.Leisch@ci.tuwien.ac.at (Friedrich Leisch)
Date: Thu, 10 Jun 1999 09:09:08 +0200 (CEST)
Subject: [R] R on AIX (>4.2)
In-Reply-To: <199906100647.IAA00865@sophie.ethz.ch>
References: <199906092155.RAA29434@infiniti.ece.cmu.edu>
 <199906100647.IAA00865@sophie.ethz.ch>
Message-ID: <14175.25748.342750.147064@galadriel.ci.tuwien.ac.at>



[Taken to r-devel]

I tried 1-2 months ago to get R running on AIX ... besides some minor
things which I fixed in the sources everything compiled fine except
the dynloading :-)

It also seemed feasible to get dynloading to work, but you need a text
file containing the names of all objects a .so file wants to
export. As I didn't see an easy way of doing this at INSTALL time for
all our extension packages and wasn't in desperate need of R on AIX I
gave up at that point. I had also contact with people from essen on
this, and they also had no automatic procedure (like a Makefile fix or
so).

Look in the devel mail archives around may, there is a thread on AIX
where Arne Kovac explains the proper linker flags ... you might also
want to contact him to get their dynload.c. 

Fritz




>>>>> On Thu, 10 Jun 1999 08:47:55 +0200,
>>>>> Martin Maechler (MM) wrote:

MM> [Subject above:  You probably mean, ">= 4.2" right ?]
>>>>> "TomV" == Thomas Vogels <tov@infiniti.ece.cmu.edu> writes:

TomV> I'm determined to get R compiling & running on a machine
TomV> running AIX 4.2.
MM> Great!   
MM> Thank you in advance.

TomV> I've seen previous emails in the archive about
TomV> this topic.  The main obstacle is getting dynamic loading to
TomV> work, but it works for Tcl and hence is feasable.

MM> yes and yes.

TomV> Questions:
TomV> - is anybody _currently_ working with R on AIX?  
MM> don't know
TomV> - why have previous fixes to the sources not been introduced into
TomV> the released versions?
MM> I think we have never seen fixes patchable into the main sources.
MM> The only place I've heard that got it working was  uni-essen.de
MM> and they seem to have used an almost completely different version of
MM> src/unix/dynload.c  from Heiner Schwarte
MM> (and I think I've never seen their version..).

MM> Yes, it would really be great if this problem could finally be solved!

MM> Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
MM> Seminar fuer Statistik, ETH-Zentrum SOL G1;	Sonneggstr.33
MM> ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
MM> phone: x-41-1-632-3408		fax: ...-1086			<><
MM> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
MM> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
MM> Send "info", "help", or "[un]subscribe"
MM> (in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch
MM> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] R on AIX (>4.2)
Friedrich Leisch