From Kurt.Hornik@ci.tuwien.ac.at  Wed Jul  7 18:00:11 1999
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Wed, 7 Jul 1999 19:00:11 +0200 (CEST)
Subject: Almost succesfull build on AIX
In-Reply-To: <14211.33240.951879.123516@galadriel.ci.tuwien.ac.at>
References: <14211.33240.951879.123516@galadriel.ci.tuwien.ac.at>
Message-ID: <14211.34715.669060.317780@aragorn.ci.tuwien.ac.at>

>>>>> Friedrich Leisch writes:

> Hi,

> Kurt Hornik and myself have an almost successful build of R on AIX 
> including dynamic loading of libraries ... which fails make check :-(
> Anyway, as we have no AIX experience at all, maybe somebody else knows
> what's going on.

> Here's the problem:

>> 1/0
> [1]INF
>> is.finite(1/0)
> [1] TRUE

> R was built using the flags included below, gcc version is 2.7.2. Does
> anybody with experience on AIX know what's going on (the all uppercase
> INF looks somewhat suspicious).

> If you want to give it a try, in tomorrow's devel snapshot from CRAN
> all configure/make scripts should be sufficent for a usual compile,
> i.e., simply say
> 	configure; make
> using GNU make and the install-sh from the tools directory (the
> installbsd on our AIX machine fails).

If I may add.  Building for me only works with LDCMD and SHLIBLD as

	f77
or
	cc with `-lc -lm' added to DLLFLAGS and SHLIBLDFLAGS

It did not work with

	ld (gives an exec format error in the main binary)
or
	gcc (cannot find libgcc.a???)

I am not sure up to what extend this is a problem with AIX in general or
the specific system Fritz and I have access to, which in particular has
gcc built 3 years ago for AIX 3.something.

Perhaps someone knows more about this?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Almost succesfull build on AIX
Kurt Hornik