[Rd] broken build with LDFLAGS (PR#1141)

dks@phy.hr dks@phy.hr
Wed, 24 Oct 2001 11:28:12 +0200 (MET DST)


Full_Name: Denis Sunko
Version: 1.3.1
OS: HP-UX 11.0
Submission from: (NULL) (161.53.2.114)


I invoked configure by

env LDFLAGS=/opt/fortran90/lib ./configure --with-f77=f90

Problem: although configure completed to (its own) satisfaction, the LDFLAGS
information was not propagated everywhere; I had to change the line

PKG_LIBS =   -l:libF90.a -lcl -lisamstub

to

PKG_LIBS =   -L/opt/fortran90/lib -l:libF90.a -lcl -lisamstub

in the files

src/library/ctest/src/Makefile
src/library/modreg/src/Makefile
src/library/mva/src/Makefile
src/library/ts/src/Makefile

by hand.

------
On the wish-list level (not really a bug): it would be nice if configure broke
with a less cryptic message than `f90 and gcc do not agree on int and double',
when all that happens is that it cannot find the fortran library. I suggest
putting -l:libF90.a on the compiler line of a previous (dummy) test program,
just to check for this.


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