This question about : Answered
Can't locate NativeTWikiSearch.pm
I've installed
NativeSearchContrib successfully on windows. I can run the following from cmd line
perl test.pl -i -l NativeTWikiSearch test.pl Makefile.PL NativeTWikiSearch.xs
and it returns
RESULT
test.pl
Makefile.PL
FoswikiNativeSearch.xs
However, when i select Foswiki::Store::SearchAlgorithms::Native it reports the following error :
Error: Sorry, I could not find the required components for Native search. The error was: Can't locate
NativeTWikiSearch.pm in @INC (@INC contains: E:/Foswiki/Foswiki/lib . C:/strawberry/perl/lib C:/strawberry/perl/site/lib E:/Foswiki/Foswiki/lib/CPAN/lib//arch E:/Foswiki/Foswiki/lib/CPAN/lib//5.10.0/MSWin32-x86-multi-thread E:/Foswiki/Foswiki/lib/CPAN/lib//5.10.0 E:/Foswiki/Foswiki/lib/CPAN/lib/) at (eval 873) line 2. BEGIN failed--compilation aborted at (eval 873) line 2. #
Its looking for
NativeTWikiSearch.pm which makes no sence. I've search the whole directory for the
NativeTWikiSearch.pm string without any success. I cannot find reference to it anywhere. Any idea's
Yes, sorry, I need to finish porting it to Foswiki! Watch
NativeSearchContrib or
NativeSearchContrib for an update.
--
CrawfordCurrie - 10 Mar 2009
While waiting for the patch to make it into some post 1.0.5 release modify
foswikiroot/lib/Foswiki/Configure/Checkers/RCS/SearchAlgorithm.pm needs to be tweaked not to look for
FoswikiNativeSearch instead of
NativeTWikiSearch. Crawford has his patched release up already to go with it. Thanks to Babar for tracking down the remaining tweak!
--
DrewStevenson
The checker was updated some time ago; AFAIK it was correct in 1.0.5
--
CrawfordCurrie - 15 May 2009
i downloaded
http://softlayer.dl.sourceforge.net/sourceforge/foswiki/Foswiki-1.0.5.tgz and it does indeed contain
NativeTWikiSearch
instead of
FoswikiNativeSearch
, but subversion contains the correct line. therefore, this fix will ship with Foswiki 1.0.6.
--
WillNorris - 15 May 2009