Skip to content
Prev 5932 / 63462 Next

Compiling R (1.3.0) on AIX (4.3) fails (PR#1034)

[Well getting AIX right is not that easy.  Fortunately, R has Tom Vogels
to help ...]
You mean in the `-L' part?  Certainly correct ...
Yep.
Ok, great.  My assumption/hope is that this should work ...
I think I want to go this way.  Reason: the current situation is a
mixture of an R bug and a Tk inconsistency.  The R bug is that I had not
realized that the LIB_SPECs are meant as flags to ld.  The Tk problem is
that this is not true.

The whole thing is a bit tricky, and it might be interesting to see how
e.g. GNOME projects deal with this in their -config scripts.  As this is
hidden inside libtool could you maybe try compiling libxml2 on your AIX
system and see what xml2-config --libs does?

Also, what does
	./libtool --config | grep ^wl
give for configuration with native cc?

In general, the portable way would be to have package config scripts use
$wl or alike.  But that will not do in general: someone could have gcc
but a native C++ compiler and $wl might be different between these ...

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