Tcl Library Source Code

View Ticket
Login
Ticket UUID: 1537469
Title: "make install" fails on cygwin
Type: Bug Version: None
Submitter: carolusmagnus Created on: 2006-08-09 15:16:07
Subsystem: Installation Assigned To:
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2014-12-09 22:57:53
Resolution: None Closed By:
    Closed on:
Description:
tcllib installation fails on cygwin using ./configure;
make install.  No error messages noted during
installation, but afterward
 
"package require fileutil" 
returns "cant't find package fileutil"

Nevertheless, installation succeeds by the alternate
installation method, simply calling installer.tcl

Windows XP Home Edition v. 5.1 Build 2600 Service Pack 2
cygwin DLL version 1.5.19
ash 20040127-3
bash 3.0-14
tcltk 20030901-1
User Comments: aku added on 2014-12-09 22:57:53:
(1) Please put a valid email address into the 'Contact' field to get notification email when this ticket is edited.

(2) What does happen if you remove the `cypath -w ...` construct from the Makefile and simply use the paths as they are ?

anonymous (claiming to be Current truck version.) added on 2014-12-09 22:33:15:
This is what I get for the current trunk version.

anonymous (claiming to be A few details.) added on 2014-12-09 22:31:47:
>>> set tcl_version
8.5

>>> uname -a

CYGWIN_NT-6.3-WOW64 username_t_w0 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin

>>> ./configure --prefix=/cygdrive/c/Users/username/Software/Bin/TclTk --exec-prefix=/cygdrive/c/Users/username/Software/Bin/TclTk

checking executable extension based on host type... .exe
checking for tclsh... /../bin/tclsh8.5.exe
configure: creating ./config.status
config.status: creating Makefile

>>> make install

/../bin/tclsh8.5.exe `cygpath -w ./installer.tcl` \
	-no-examples -no-html \
	-pkg-path   `cygpath -w /cygdrive/c/Users/username/Software/Bin/TclTk/lib/tcllib1.16` \
	-app-path   `cygpath -w /cygdrive/c/Users/username/Software/Bin/TclTk/bin` \
	-nroff-path `cygpath -w /cygdrive/c/Users/username/Software/Bin/TclTk/man/mann` \
	-no-wait -no-gui
Installing Tcllib 1.16
You have chosen the following configuration ...

Packages:      C:\Users\username\Software\Bin\TclTk\lib\tcllib1.16
Applications:  C:\Users\username\Software\Bin\TclTk\bin
Examples:      Not installed.
Documentation:

	NROFF:  C:\Users\username\Software\Bin\TclTk\man\mann
	HTML:   Not installed.

Install error:
 can't create directory "C:\Users\username\Software\Bin\TclTk\lib\tcllib1.16": no such file or directory
    while executing
"run file mkdir $dest"
    (procedure "xcopy" line 3)
    invoked from within
"xcopy  [file join $distribution modules $module]  [file join $libdir $module]  0 *.tcl"
    (procedure "_tcl" line 3)
    invoked from within
"_tcl aes {C:\Users\username\Software\Bin\TclTk\lib\tcllib1.16}"
    ("eval" body line 1)
    invoked from within
"eval $guide($m,$type) $m $args"
    (procedure "xinstall" line 4)
    invoked from within
"xinstall   pkg $config(pkg,path)"
    (procedure "doinstall" line 16)
    invoked from within
"doinstall"
    (procedure "main" line 11)
    invoked from within
"main"

andreas_kupries added on 2007-08-22 06:22:56:
Logged In: YES 
user_id=75003
Originator: NO

Does this happen for the current CVS head as well ? I just checked and the installer code in the CVS head does not contain 'package require fileutil', so the problem might be gone.

If not note that the Makefile calls on 'installer.tcl' as well, with a series of arguments for non-gui operation. So, when you call the installer directly, using them same arguments, does the error then happen ?