[R] Re: failed rpm installation of R 1.2-1 (fwd)
Faheem Mitha
faheem at email.unc.edu
Wed Feb 7 22:25:55 CET 2001
On Wed, 7 Feb 2001, Albrecht Gebhardt wrote:
> On Wed, 7 Feb 2001, Faheem Mitha wrote:
> > error: failed dependencies:
> > BEGIN is needed by R-base-1.2.1-1
[snip]
> I guess, there is some executable file (a snippet of some script with mode
> 755 or similar) which starts with a line "BEGIN". ....
>
> Well, I just found it, it is an awk script:
> find -type f -exec grep -l BEGIN {} \;
> ...
> ./bin/maketitle.awk
>
> Clearly it doesn't need the executable bits so simply add
>
> chmod 644 $RPM_BUILD_ROOT/%{prefix}/R/bin/maketitle.awk
>
> to the end of the %install section of my spec file.
Actually, I think this should be
$RPM_BUILD_ROOT%{prefix}/lib/R/bin/maketitle.awk
With this change, the rpm installs successfully. Thanks a lot, Albrecht!
By the way, your rpm spec file is one of the best-written I have seen.
Just one more thing: could you briefly explain to me for future reference
(off-list) why there was a problem, and the above fixed things?
Sincerely, Faheem Mitha.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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