Scripts not executable (PR#2091)

Peter Kleiweg kleiweg@let.rug.nl
Wed, 2 Oct 2002 12:19:40 +0200 (CEST)


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