yelekeri has asked for the wisdom of the Perl Monks concerning the following question:

All, I am trying to build a downloaded package, DBI-1.51 and HTML-Parser-3.55, but getting some weird error. In fact I built it earlier, only this time it is giving this error.

Running Mkbootstrap for HTML::Parser ()
chmod 644 Parser.bs
rm -f blib/arch/auto/HTML/Parser/Parser.so
cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib Parser.o -o blib/arch/auto/HTML/Parser/Parser.so
\ chmod 755 blib/arch/auto/HTML/Parser/Parser.so
cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs
chmod 644 blib/arch/auto/HTML/Parser/Parser.bs
Undefined subroutine &main::UpdateHTML_blib called at -e line 1.
*** Error code 255
make: Fatal error: Command failed for target `htmlifypods'

Replies are listed 'Best First'.
Re: make problem
by syphilis (Archbishop) on Oct 25, 2006 at 02:15 UTC
    Looks like some problem with pod2html. Do you need to htmlify your pod docs ? If not the simplest way might be to modify the generated Makefile, so that the htmlificationof the pod docs is skipped.

    Not sure how best to do that and, since there's no attempt made to "htmlifypods" when I build HTML::Parser-3.55 (or any other module, ftm) on both my Win32 and mandrake Linux, it's hard for me to experiment. But I would just try removing the entire "MakeMaker htmlifypods section" from the generated Makefile (along with any other references to htmlifypods that it contains) - then run make, and see what happens.

    ie:
    1) run make clean
    2) run perl Makefile.PL
    3) modify the generated Makefile
    4) run make

    Keep repeating until you get it to work ... or until you get sick of it :-)

    Of course, if you really do need to htmlify the pods, then you'll have to fix the problem. Start with trying to find out where UpdateHTML_blib is being called from. I searched my entire Perl installation for both "UpdateHTML_blib" and "htmlifypods" and all it turned up was a couple fo references to "htmlifypods" in the "Changes" file. When I search the HTML-Parser-3.55 build directory for the same strings I get no match at all.

    Cheers,
    Rob
      Well, looks like I have some wrong version of the Perl. Not sure what happened, the installation 'site/lib' directory was completely empty. I attempted to install again with the same result. Then I went back to some old verson of Perl, and things are ok now. Thanks for your reply.