[WM] Webmake not finding certain images.

Ralph Pape webmake at mr-pape.de
Thu May 6 18:18:13 IST 2004


Hi jlm17,

jlm17 wrote:
> I am getting some errors with webmake like this:
> 
> Use of uninitialized value in string eq at 
> /usr/lib/perl5/site_perl/5.8.0/HTML/WebMake/Main.pm line 1732.
> Use of uninitialized value in string eq at 
> /usr/lib/perl5/site_perl/5.8.0/HTML/WebMake/Main.pm line 1732.
> ${IMGSIZE}: cannot find image file "images/cygwina.jpg" in "(html-cleaner)"
[...]

On W2K with Activeperl 5.8.3 I found the same. The fix for this is 
editing Main.pm on line 1807, because $dotdots must be not undefined. 
Else we run into this "undefined" errors caused in the second line of 
the  erfcatdir  function.

Change this:
     my $dotdots = $self->{current_subst}->{dotdots};

to this
     my $dotdots = $self->{current_subst}->{dotdots} || '';

Greetings Ralph



More information about the Webmake-talk mailing list