Tk Library Source Code

View Ticket
Login
Ticket UUID: 940375
Title: tcllib 1.6 install error due to doc. generation bug
Type: Bug Version: None
Submitter: rcalmbac Created on: 2004-04-22 21:53:02
Subsystem: None Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-04-23 05:09:28
Resolution: Duplicate Closed By: andreas_kupries
    Closed on: 2004-04-22 22:09:28
Description:
There is a problem generating the nroff documentation,
which causes the installation of tcllib 1.6 to fail.

In detail: When selecting the "Doc. Nroff" checkbox in
the installer GUI, keeping "Simulate installation" off,
and clicking on "Install", I get this output and error
message:

<47 triton->tcllib-1.6> wish installer.tcl 
Installing Tcllib 1.6
You have chosen the following configuration ...

Packages:      install/lib/tcllib1.6
Examples:      install/bin/tcllib_examples1.6
Documentation:

        NROFF:  install/man/mann
        HTML:   install/lib/tcllib1.6/tcllib_doc

Error in startup script: @--> invalid command name "option"
    while executing
"::doctools::_format dt {[comment {-*- tcl -*- doctools
manpage}]
[comment { $Id: s.multiplexer.man 1.4 04/02/10
23:36:58-08:00 [email protected] $ }]
..."
    ("eval" body line 1)
    invoked from within
"eval [list ::doctools::_$cmd $name] $args"
    (procedure "::doctools::DoctoolsProc" line 15)
    invoked from within
"dt format [get_input $f]"
    (procedure "_man" line 17)
    invoked from within
"_man multiplexer nroff n install/man/mann"
    ("eval" body line 1)
    invoked from within
"eval $guide($m,$type) $m $args"
    (procedure "xinstall" line 4)
    invoked from within
"xinstall doc nroff n    $config(doc,nroff,path)"
    (procedure "doinstall" line 18)
    invoked from within
"doinstall"
    (procedure "main" line 11)
    invoked from within
"main"
    (file "installer.tcl" line 484)


My wish shell is v8.4.5. This error happens whether I'm
on Solaris or on Linux. The error seems to be caused by
a problem encountered when processing the
multiplexer.man documentation file. The same error also
occurs for graph.man and struct_tree.man (both in
module struct).

These errors did not occur in tcllib 1.4.

It would be good to fix this since it is somewhat
frustrating for users to have the installation fail
halfway through.

I am not familiar with doctools or the doctools
documentation format, but hopefully someone who is can
identify the source of the problem from these symptoms.
User Comments: andreas_kupries added on 2004-04-23 05:09:28:
Logged In: YES 
user_id=75003

This is actually a duplicate of
http://sourceforge.net/tracker/index.php?func=detail&aid=784519&group_id=12883&atid=112883

Tcllib 1.4 has the bug in the multiplexer manpage, and
during installation of Tcllib 1.6 it seems to take the 1.4
doctools for the doc generation instead of its own and
fails. After removal of the installed 1.4 you should be able
to install 1.6.