Usage of invalid -S option in install-sh on MacOS X
Closed / Fixed3152308fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2011-01-06 07:18:42
Building Tcl/Tk 8.6 from the sources (on MacOS X 10.6.5) using the typical
lines
make -C tcl${ver}/macosx
make -C tk${ver}/macosx
make -C tcl${ver}/macosx install-embedded INSTALL_ROOT="$HOME/Tcl/distrib/mac-builds/${dest}/"
make -C tk${ver}/macosx install-embedded INSTALL_ROOT="$HOME/Tcl/distrib/mac-builds/${dest}/"
as described in the appropriate README/NSTALL files now fails with the current
cvs version when 'make install-binaries ..." is done:
make install-binaries install-libraries \
INSTALL_PROGRAM="/bin/sh /Users/Torsten/Tcl/distrib/tk/unix/../unix/install-sh -c -s" \
INSTALL_LIBRARY="/bin/sh /Users/Torsten/Tcl/distrib/tk/unix/../unix/install-sh -c -S -x"
The error is "invalid option: -S".
This option existed in version 1.3 of the install-sh script, both in the "tcl/unix" and "tk/unix"
directories. Since version 1.4 was checked in 2 months ago applying patch 3101127, the option
is gone, but is still used in the make files for MacOS X.
The appropriate fix would be to use "-s" instead and providing a different STRIPPROG via environment variables
(see also this thread on comp.lang.tcl: http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/ad1235df8ec2a0ef?hl=de)
wordtechplain2011-01-28 06:13:55
Setting environment variables here seems to be too complicated. What was the logic behind removing the -S option from the install-sh script? Can it be reverted?
wordtechplain2011-04-29 08:14:27
Committed fixes for Tcl and Tk based on suggestion provided by Torsten Berg on c.l.t--thanks Torsten!
Log in (anonymous is fine) to add a comment.