Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
08:23 • Ticket [217928ffff] 'make install' needs write-access to the source tree... artifact: cb770dd46d user: dgp
2000-10-26
08:10 • Closed ticket [217928ffff]. artifact: 0072b55708 user: welch
00:46 • New ticket [217928ffff]. artifact: 46d5af62d8 user: nobody

'make install' needs write-access to the source tree

Closed / Fixed217928ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:46:10
OriginalBugID: 3389 Bug
Version: 8.2.1
SubmitDate: '1999-11-05'
LastModified: '2000-01-12'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 3367
OS: SunOS
OSVersion: 2.7
FixedDate: '2000-10-25'
FixedInVersion: 8.3b2
ClosedDate: '2000-01-12'


Name:
Reinhard Förster

Extensions:
tcl-8.2.1

Comments:
Makefile.in should be patched to check the x-flags before using the
    commands named obove.  After unpacking tcl the permissions are good (x
    is set) and the chmod commands are not really useful.
    
    BTW: tk-8.2.1 has the same problem.

ReproducibleScript:
configure + make tcl-8.2.1 for unix:
    CC=gcc ./configure --prefix=/usr/local/pkg/tcl-8.2.1 --enable-shared
    make
    make install (as root)
    
    output:
    Installing libtcl8.2.so
    chmod +x ./install-sh
    chmod: WARNING: can't change ./install-sh
    *** Error code 1
    make: Fatal error: Command failed for target `install-binaries'

ObservedBehavior:
tcl was build  on a NFS-Share which has (of course) no write accsess for
    root.  Installing it as root
    to /usr/local/somewhere fails because  'make install'  needs
    write-access in the source tree which is not
    allowed for root in NFS-environments. There are 3 lines in the
    autogenerated Makefile:
    
    2 times "chmod +x $(SRC_DIR)/install-sh"
    1 time   "@chmod +x $(UNIX_DIR)/mkLinks"



fixed in 8.3b2 as per bug id 3367. 
-- 01/12/2000 hobbs
welch Closed ticket [217928ffff]. [History diff]2000-10-26 08:10:54
dgp Ticket [217928ffff]: 3 changes [History diff]2001-04-05 08:23:13
Log in (anonymous is fine) to add a comment.