From Martin Maechler <maechler@stat.math.ethz.ch>  Wed Jul 14 16:07:25 1999
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Wed, 14 Jul 1999 17:07:25 +0200
Subject: 0.65 && AIX|HPUX
In-Reply-To: <14220.34132.594207.790328@fangorn.ci.tuwien.ac.at> (message from
 Kurt Hornik on Wed, 14 Jul 1999 14:40:52 +0200 (CEST))
References: <14220.34132.594207.790328@fangorn.ci.tuwien.ac.at>
Message-ID: <199907141507.RAA27266@sophie.ethz.ch>


    KH> I've made some more changes to configure/make which still don't solve
    KH> everything but I think I have to stop for now.

too bad (the "stop for now").

    KH> Status AIX:

    KH> * I can compile with gcc/f77/make.
    KH> * AIX make check fails (cannot build base-Ex.R).
    KH> * GNU make check fails in the contour example.
    KH> * Plotting is broken (tickmarks go all the way thru).

This is exactly the typical result of the next item :
In my experience, whenever  is.finite(), finite()  1/0, 0/0 etc weren't ok
(and as Peter emphasized, they are *not at all* as long as you get
 "INF" and "NaNQ"  instead of "Inf" and "NaN")
then the graphics show the above symptome.

The way that I found that -D_XOPEN_SOURCE_EXTENDED
will save me, was by looking into /usr/include/math.h

It seems that you (and Thomas Vogels !) have a different one, than, even
though Thomas said that he had AIX 4.2 as well?
This is what I have :

    $ uname -a
    AIX percol 2 4 000333104600

    $ ls -l /usr/include/math.h
    -r--r--r--   1 bin      bin        14620 Oct 14 1996  /usr/include/math.h

What versions of AIX 4.2 are around?


    KH> * IEEE fp stuff is strange (will look into this).
    KH> * I still need f77 for linking.  Using ld with the suggested flags gives
    KH> a binary with `exec format error'.  The problem seems to be with an
    KH> unreferenced __start.
    KH> * The basic add-ons seem to work, though.


    KH> Status HPUX:

    KH> * I can compile the main binary with c89/f77/make.
    KH> * Compilation fails in eda (syntax error in etc/Makeconf).  The problem
    KH> disappears when the SHLIB target is commented ... but then building
    KH> the shared lib fails.  I tried xlispstat -Wl,-E instead but no.
				       ~~~~~~~~~
				       sure about that ??

    KH> * QUESTION: what about src/unix/hpdlfcn.c?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


0.65 && AIX|HPUX
Martin Maechler