[WM] Invalid argument at sitecache.pm line 74

Justin Mason jm.jmason.org
Thu May 8 11:50:52 IST 2003


Patrick Colgan said:

> I've installed Webmake on Win2K using ActivePerl 5.6.  The modules seem 
> installed properly, but I can't seem to get it to run.  I tried all of this 
> with IndigoPerl and had similar problems.
> 
> My $HOME is c:\home, and I can see a cache.db file being created under the 
> c:\home\.webmake folder.

It sounds like windows perls do not support the dup() call, used by
the <{perl}> logic.

Could you try the "bleeding edge" CVS version from the web page?

--j.



> When I try to test it by running maketest , I get this error:
> c:/webmake $ maketest.bat
> t/attrdefault.......cannot open log/attrdefault.html at t/WMTest.pm line 80.
> 	Not found: html = **Test.**
> 	Not found: ettext = <strong>Test.</strong>
> dup Invalid argument at C:/Perl/site/lib/HTML/WebMake/SiteCache.pm line 74.
> FAILED tests 2-5
> 	Failed 4/5 tests, 20.00% okay
> t/basic.............cannot open log/basic.html at t/WMTest.pm line 80.
> 	Not found: foo =  Foo!
> 
> If I try to run it directly with the "news_site" webmake example, I get 
> something similar.
> 
> c:/webmake/examples $ webmake news_site.wmk
> <{perl}> code failed: dup Invalid argument at 
> C:/Perl/site/lib/HTML/WebMake/SiteCache.pm line 74.
> 
> Code: # create a ${all_stories} variable containing the list
>          # of all text files just loaded.
>          $_ = '';
>          foreach my $pg (sorted_content_matching ("score title", "*.txt"))
> 	{
>            $pg =~ s/\.txt$//; $_ .= "$pg ";
>          }
>          set_content ("all_stories", $_);
>          '';
> webmake: error: No target "news_site.wmk" found!
> 
> Any suggestions would be much appreciated.
> 
> Pat
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise solutions
> www.enterpriselinuxforum.com
> 
> _______________________________________________
> webmake-talk mailing list
> webmake-talk at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/webmake-talk
> 
> 




More information about the Webmake-talk mailing list