cluster installation hangs or too many args (PR#1623)

felix@sprintlabs.com felix@sprintlabs.com
Sun, 2 Jun 2002 02:45:24 +0200 (MET DST)


Full_Name: Felix Hernandez-Campos
Version: R-1.5.0
OS: IRIX, FreeBSD, Solaris
Submission from: (NULL) (208.30.174.32)


[R-1.5.0]

The installation of the package cluster fails in FreeBSD (4.2) and IRIX (6.5)
(but it works fine for Solaris). In FreeBSD, the installation hangs right after


f77   -fPIC  -g -O2 -c clara.f -o clara.o

(the first FORTRAN compile). In IRIX, the program also hangs at the same point,

but after a minute or two, it returns an error about an "arg list too long".
The
problem is in ~R/bin/f77. I added a print out statement in ~R/bin/f77 and it
shows
that this script is calling itself endlessly (rather than invoking the f77
compiler).
I have been able to solve the problem in both platforms by changing the
following 
line in ~R/bin/f77

: ${F77='f77'}

by

: ${F77='/usr/bin/f77'}

P.S. I was always able to install the package cluster without this modification
in
R-1.4 and R-1.3.

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