Scripts not executable (PR#2091)

Kurt Hornik Kurt.Hornik@wu-wien.ac.at
Fri, 4 Oct 2002 10:32:25 +0200


>>>>> Peter Kleiweg writes:

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

Wonderful.  An install from the X consortium, documented as 'compatible
with the BSD install script, but [was] written from scratch' ...

On the HPUX system that I have access to this works without problems,
though.  The man page does not document '-m' but the code (shell script)
shows that this works.

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