[R] IRIX build error of R-1.3.0 (and fix)

Tim Carlson tim.carlson at pnl.gov
Sun Jul 1 00:00:24 CEST 2001


On Sat, 30 Jun 2001, Prof Brian D Ripley wrote:

> We've hade a lot of discussion about this on R-devel and elsewhere.
> Basically the configure process is getting inconsistent answers.  Please do
> not change those files, but change src/include/config.h to read

ok.. sorry.. quick fix on a Friday afternoon :)

-snip-.. now to libz

> So if you are having problems, you must have an inconsistent header and
> library and perhaps you should correct that?  Or is the test not working
> and you do have an earlier version?

After further investigation, it turns out that I needed to pass an
LDFLAGS parameter to the configure line. My other architectures
(Solaris 2.6/8, AIX 4.3.1, Redhat 6.2/7.1) had been
happy with:

env R_PAPERSIZE=letter CPPFLAGS="-I/msrc/apps/include"
	LIBS="-L/msrc/apps/lib"
	./configure --prefix=/afs/msrc.pnl.gov/files/apps/R-1.3

But in the linking phase I then get the -L/msrc/apps/lib as the last of
the -L flags, so I end up getting the /usr/lib/libz.a instead of the one I
have stashed in /msrc/apps/lib/libz.a

adding a LDFLAGS="-L/msrc/apps/lib" to the above configure fixes the
problem I was having.

Thanks

Tim Carlson
Voice: (509) 375-5978
Email: Tim.Carlson at pnl.gov
EMSL UNIX System Support

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list