Fred> Override.pm overrides it.  Simply removing the definition in
    Fred> Override.pm makes things work.  This seems to be the most

Hmmh, just a wild guess: I discovered that the calls to getcwd from
within latex2html use a sloppy syntax, that is &getcwd instead of
getcwd(). This comes from days before getcwd was defined in
Override.pm. Can you check that your call in question does indeed call
getcwd()?

    Fred> portable and simplest fix.  Is there a platform for which
    Fred> Cwd::getcwd() isn't a working version of getcwd()?

Yup, at least mine :-(

> latex2html -init_file
> ./home/fdrake/projects/python/Python-1-5/Doc/perl/l2hinit.perl
> /home/fdrake/projects/python/Python-1-5/Doc/api/api.tex
> initialising with file:
> /home/fdrake/projects/python/Python-1-5/Doc/perl/l2hinit.perlPrototype mismatch: sub 
>Override::getenv ($) vs none at /depot/gnu/plat/lib/perl5/5.00403/POSIX.pm line 0 
> Usage: POSIX::getcwd() at
> /depot/sundry/latex2html-98.1p4/Override.pm line 177

Apprently there is prototype mismatch between getenv in Override.pm
and POSIX.pm. What happens if don't export getenv from Override.pm?

Override.pm was introduced before the existence of POSIX.pm came to my
mind.

        Cheers

                Uli

-- 
        Uli Wortmann
        Dept. of Geology       Fax (Switzerland) (1) 632  1080
        ETH-Zuerich            Fon                        3694
        email: [EMAIL PROTECTED], http://bonk.ethz.ch

Reply via email to