Tcl Library Source Code

View Ticket
Login
Ticket UUID: 1289692
Title: bug in installer.tcl
Type: Bug Version: None
Submitter: nobody Created on: 2005-09-13 12:07:58
Subsystem: None Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-09-27 06:34:11
Resolution: Out of Date Closed By: andreas_kupries
    Closed on: 2005-09-26 23:34:11
Description:
Hi,

  I get the error from the bottom of the page:

the problem are the two variables:
tcl_pkgPath</global/mqm/home/mqusers/mqm/otto/Proj
ects/OpMenu2/ext/lib>
libdir</global/mqm/home/mqusers/mqm/otto/Projects/Op
Menu2/ext/lib>

the tclsh was build on a other node where /global is 
available... the current node does has no /global avilable 
but tcl tries to install the components in a /globale/... 
directory

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

>make install-libraries
/export/home/mqusers/mqm/scripts/OpMenu/tclsh 
`echo ./installer.tcl` \
        -pkg-
path   /export/home/mqusers/mqm/scripts/OpMenu/ext/li
b/tcllib1.7 \
        -no-examples -no-html -no-nroff \
        -no-wait -no-gui
Installing Tcllib 1.7
You have chosen the following configuration ...

Packages:      /export/home/mqusers/mqm/scripts/OpM
enu/ext/lib/tcllib1.7
Applications:  /global/mqm/home/mqusers/mqm/otto/Proj
ects/OpMenu2/ext/bin
Examples:      Not installed.
Documentation: Not installed.

..................................................................................
..................................................................................
..................................................................................
...................................................
Generating /export/home/mqusers/mqm/scripts/OpMenu/
ext/lib/tcllib1.7/pkgIndex.tcl
can't create directory "/global": permission denied
    while executing
"file mkdir [file dirname  $adst]"
    (procedure "ainstall" line 14)
    invoked from within
"ainstall"
    (procedure "doinstall" line 26)
    invoked from within
"doinstall"
    (procedure "main" line 11)
    invoked from within
"main"
    (file "./installer.tcl" line 540)
make: *** [install-libraries] Error 1
mpsun17:mqm:/export/home/mqusers/mqm/scripts/OpM
enu/src/tcllib-1.7\>
User Comments: andreas_kupries added on 2005-09-27 06:34:11:
Logged In: YES 
user_id=75003

I believe the problem is that the makefile target
install-libraries does not define the option -app-path, and
so takes a default directly from the executing tcl shell.
This was fixed in the CVS Head at March 25.