From kleiweg@let.rug.nl  Wed Oct  2 11:19:40 2002
From: kleiweg@let.rug.nl (Peter Kleiweg)
Date: Wed, 2 Oct 2002 12:19:40 +0200 (CEST)
Subject: Scripts not executable (PR#2091)
In-Reply-To: <15770.37148.514799.185521@mithrandir.hornik.net>
Message-ID: <Pine.LNX.4.44.0210021211180.1162-100000@kleigh.nl>

Kurt Hornik scribeva...

> >>>>> kleiweg  writes:
>
> > Running 'make' stops when it tries to build the recommended
> > (included) packages, because the script 'Rcmd' is not
> > executable. I have to do a 'chmod +x src/scripts/*' and rerun
> > 'make'.
>
> > In version 1.5.1 I also noticed the installed scripts were not
> > executable, but I could do a 'chmod +x lib/R/bin/*' after 'make
> > install'. But now the scripts are already needed during 'make'.
>
> > This error does not occur on Linux-PC and Linux-Alpha.
>
> The scripts are installed using INSTALL_SCRIPT, which according to my
> understanding should install as mode 755.
>
> After running configure, my top-level Makeconf contains
>
> INSTALL = /usr/bin/install -c
> INSTALL_DATA = ${INSTALL} -m 644
> INSTALL_PROGRAM = ${INSTALL}
> INSTALL_SCRIPT = ${INSTALL}
> INSTALL_DIR = ${INSTALL} -d
>
> What does yours look like?

INSTALL = /opt/imake/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_DIR = ${INSTALL} -d

According to the manpage of install, the options -m and -d are
not supported.

-- 
Peter Kleiweg


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


Scripts not executable (PR#2091)
Peter Kleiweg