Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c4664cf62826bb7e49d75e81e8329f273c71779
Ticket: 3152308fffffffffffffffffffffffffffffffff
Usage of invalid -S option in install-sh on MacOS X
User & Date: treincke on 2011-01-06 07:18:42
Changes

  1. assignee changed to: "stwo"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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)
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "treincke"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to:
    Usage of invalid -S option in install-sh on MacOS X
    
  12. type changed to: "Bug"