Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Bad glob pattern in tools/tcltk-man2html.tcl

Closed / Wont Fix1464441fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-04-04 19:36:06
I get the following error when trying to install Tcl
from CVS HEAD:

using Tcl source directory tcl8.4
scanning section Tcl Applications
no files matched glob pattern
"/Users/neilmadden/Dev/tcl/unix/../../{tcl8.4}/doc/*.1"
no files matched glob pattern
"/Users/neilmadden/Dev/tcl/unix/../../{tcl8.4}/doc/*.1"
    while executing
"glob $manual(wing-glob)"
    (procedure "make-man-pages" line 32)
    invoked from within
"make-man-pages $webdir  "$tcltkdir/{$appdir}/doc/*.1
\"$tcltkdesc Applications\" UserCmd {$usercmddesc}" 
[expr {$build_tcl ? "$tcltkdir/$tcldir/doc/*..."

This is generated from the script
tools/tcltk-man2html.tcl (around line 145). I'm trying
to install using the Mac OS X Makefile. I'm building
from a ~/Dev/ directory which contains the tcl/
directory (CVS) and the build/ directory for the
output. However, it also contains a tcl8.4/ directory
in which I build tcl 8.4. It seems this script finds
both directories, and then chooses the wrong one.

I'm not sure what this glob is for (isn't the directory
known?), so I'm not sure what the fix should be.
dkf Ticket [1464441fff]: 1 change [History diff]2006-04-17 21:01:16
dkfplain2006-04-17 22:23:50
Logged In: YES 
user_id=79902

The [glob]s in there are moderately complex and I don't see
any way to remove them without breaking other things.

Suggested workarounds:
  1: Add a --useversion= argument (yes, with no value after
the = symbol) to override its choice of tcl source tree.
  2: Change the name of your development dir to, say,
tclHEAD so that it comes after tcl8.4 in a [lsort
-dictionary] list of versions.
dkf Pending ticket [1464441fff]. [History diff]2006-04-17 22:27:46
sf-robotplain2006-05-03 09:20:20
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.