New to Natural Docs. Trying to run the bat file on a Win32 box. I've changed
the bat script to point to the absolute path of the Natural Docs folder, as
Invoking the bat thru Eclipse. I get this error:
Can't locate NaturalDocs/Constants.pm in @INC (@INC contains:.../usr/lib/perl5/5.8.8/msys..
Try putting -IC:\Natural Docs\Modules between perl and the path to Natural
Docs. That's a capital i (case matters) no space, then the path to Natural
Docs' Modules folder, which may be different than my example depending on
where you installed it. If that doesn't work try putting the path in quotes,
perl -I"C:\Natural Docs\Modules" "C:\Natural Docs\NaturalDocs"
Thanks, Greg. That fixed the import issue but unfortunately it exposed larger
I dug into it for a couple hours. My Perl is next to nil but I was able to
isolate a few bugs, at least where running Natural Docs on a Windows 7 32-bit
box is concerned. Those are:
File->PathIsAbsolute() uses File::Spec->file_name_is_absolute() which returns
for an absolute path on Win7.
The result of these bugs is that a Unix-style user dir directory is prepended
to paths specified as Natural Docs's input parameters -or- assumed from core
Perl modules, which results in many "file not found" errors during execution.
This is as far as I can take this. Unfortunately, that means I won't be able
to use Natural Docs on this Win7 box and I don't have the time nor the Perl
experience to participate as a bug reporter.
Log in to post a comment.