[greenstone-devel] How to install perl module into greenstone perl library

From Bossaporn Eampornchai
DateTue, 30 Mar 2004 00:09:37 -0800 (PST)
Subject [greenstone-devel] How to install perl module into greenstone perl library
Dear all,
I want to insert word segmentation code into one
part of greenstone plugin. The word segmentation
program is actually written in C language. Luckily,
the creator has added perl module to make a call to C

Previously, I've tested word segmentation program
individually using ActiveState ActivePerl on Window XP
and it does work fine. However, after I merged the
program with Basplug.pm and ,then, tried to process
import.pl, it produced the following error message.

Can't locate loadable object for module ttool in @INC
(@INC contains: D:Program
Filesgsdlcollect esttha/perllib D:Program
Filesgsdl/perllib/classify D:Pr
ogram Filesgsdl/perllib/plugins D:Program
Filesgsdl/perllib/cpan D:Program F
ilesgsdl/perllib D:/Program
Files/gsdl/bin/windows/perl/lib D:/Program Files/gs
dl/bin/windows/perl/site/lib .) at D:Program
Filesgsdl/perllib/thseg.pm line 33

I guess it was probably because I has installed word
segmentation package into ActivePerl library not
greenstone's perl library.

I've also tried to copy installed module from
ActivePerl to gs's perl library and modify some path
values in .packlist file, but it introduced a severe
problem of microsoft IE instead.

So, the problem here is I don't know howto install
word segmentation perl module into gs's perl library.

Any suggestions?

Thank you very much in advance,

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.