Skip to content
Prev 12074 / 398502 Next

IRIX build error of R-1.3.0 (and fix)

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

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

-snip-.. now to libz
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._