Tk Library Source Code

View Ticket
Login
Ticket UUID: 500543
Title: tcllib man pages trouble
Type: Bug Version: None
Submitter: nobody Created on: 2002-01-07 20:24:09
Subsystem: None Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-01-12 04:52:25
Resolution: Duplicate Closed By: andreas_kupries
    Closed on: 2002-01-11 21:52:25
Description:
On some systems (at least mine) the tcllib man pages
cannot be displayed with the normal 'man csv' command.

Instead the formatted page, only a lot of error
messages  showed up.

make install works smoothly.

man.macros is in place.

It seems, the problem is the inclusion of man.macros
into the tcllib man pages with the instruction
.so man.macros

If I copy the context of man.macros directly into the
man page and remove the '.so man.macros' instruction,
everything works.

The tcl core man pages have man.macros literaly
included and work smoothly. The inclusion is done by a
sed command during the installation process. Out of
Tcl8.3.4 Makefile on Linux (after ./configure):

        @echo "Installing command (.n) docs";
        @cd $(TOP_DIR)/doc; for i in *.n; \
            do \
            rm -f $(MANN_INSTALL_DIR)/$$i; \
            sed -e '/man\.macros/r man.macros' -e
'/man\.macros/d' \
                    $$i > $(MANN_INSTALL_DIR)/$$i; \
            chmod 444 $(MANN_INSTALL_DIR)/$$i; \
            done;

(see target install-doc).