From Kurt.Hornik@wu-wien.ac.at  Sun Jun  2 14:36:31 2002
From: Kurt.Hornik@wu-wien.ac.at (Kurt Hornik)
Date: Sun, 2 Jun 2002 15:36:31 +0200
Subject: cluster installation hangs or too many args (PR#1624)
In-Reply-To: <20020602092224.P51@jimmy.harvard.edu>
References: <200206020045.CAA02841@pubhealth.ku.dk>
 <20020602092224.P51@jimmy.harvard.edu>
Message-ID: <15610.8031.910764.754414@mithrandir.hornik.net>

>>>>> Robert Gentleman writes:

> On Sun, Jun 02, 2002 at 02:45:55AM +0200, felix@sprintlabs.com wrote:
>> 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,
>> 

>  I can confirm this on my FreeBSD (4.5).
>  I believe that there have been a number of changes to configure for
>  the 1.5 release.

Yes and they are documented in the release notes.

>  I can also confirm that the fix also seems to work.

I assume the problem only occurs because R_HOME/bin is in PATH?

-k

>   Thanks,

>     Robert


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

> -- 
> +---------------------------------------------------------------------------+
> | Robert Gentleman                 phone : (617) 632-5250                   |
> | Associate Professor              fax:   (617)  632-2444                   |
> | Department of Biostatistics      office: M1B28
> | Harvard School of Public Health  email: rgentlem@jimmy.dfci.harvard.edu   |
> +---------------------------------------------------------------------------+
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

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


cluster installation hangs or too many args (PR#1624)
Kurt Hornik