After a few days of trying to get wyd.pl running on my Windows 7 machine, I'm finally pretty close. I've installed a working version of Cygwin on what must be the 5th attempt, and I now have a working bash shell.
However, when running the following WyD command in bash:
$ wyd.pl -b -e -t -s 3 -o "OUTPUTFILE" "TARGETDIRECTORY"
...I get an error for a single missing dependency:
Can't locate object method "init" via package "wlgmod::doc" (perhaps you forgot to load "wlgmod::doc"?) at /cygdrive/c/WYD/wyd.pl line 284.
Sometimes wlgmod::doc
is replaced with wlgmod:jpeg
or wlgmod::plain
, but it's the same basic error. This is a welcome change from when I tried to run the program in CMD, which came back with tens of missing dependencies, but I'd like to figure out how to make this final one go away so I can finally run the program.
Looking in the directory where WyD is installed on Windows - C:\WYD
- I see a folder called wlgmod, which contains doc.pm
, jpeg.pm
, html.pm
, etc. Presumably, these are the 2packages" that bash is asking for, but judging by the output of the above error, it seems to be running WyD from that very same directory, so I'm confused as to why it can't find those files.
The only thing I can guess is that all this has something to do with the version of Perl being run. Doing perl -v
in both consoles bolsters this a little.
CMD - V5.24.1
Cygwin/bash - V5.22.3
Other than that... I'm really confused and I have no idea what I'm doing.