Re: [greenstone-users] GLI plugins loading error

> Lian Liming wrote:
>
>> Hi all,
>> When i start the GLI , it appears a banner of "Loading Plugins".
>> And it stops with an error:
>> "Unable to determin the arguments for the GAPlug.pm" plugin.
>> Please ensure that the plugin in question provides the -xml flag by
>> running the pluginfo.pl script described in section 2.1 of the
>> Greenstone Developers Guide".
>> I check the Greenstone Developer Guide, and find there is very
>> hard for me to get the meaning(i am not familiar with the greenstone
>> source).
>> I did not change any code after downloading the greenstone
>> installation source.
>>
>> What is the possible wrong? and how can i fix it?
>>
>> Thank you for suggestions.
>>
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users>>
> Another helpful information is that:
>
> I get the following message by the command "pluginfo.pl GAPlug" at
> command prompt:
>
> Can't load
> '/var/www/greenstone/gsdl/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so'
> for module XML::Parser::Expat:
> /var/www/greenstone/gsdl/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so:
> undefined symbol: PL_stack_sp at /usr/lib/perl/5.8/DynaLoader.pm line
> 225.
> at /var/www/greenstone/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 15
> Compilation failed in require at
> /var/www/greenstone/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 15.
> BEGIN failed--compilation aborted at
> /var/www/greenstone/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 27.
> Compilation failed in require at
> /var/www/greenstone/gsdl/perllib/XMLParser.pm line 29.
> BEGIN failed--compilation aborted at
> /var/www/greenstone/gsdl/perllib/XMLParser.pm line 29.
> Compilation failed in require at
> /var/www/greenstone/gsdl/perllib/plugins/XMLPlug.pm line 36.
> BEGIN failed--compilation aborted at
> /var/www/greenstone/gsdl/perllib/plugins/XMLPlug.pm line 36.
> Compilation failed in require at
> /var/www/greenstone/gsdl/perllib/plugins/GAPlug.pm line 35.
> BEGIN failed--compilation aborted at
> /var/www/greenstone/gsdl/perllib/plugins/GAPlug.pm line 35.
> Compilation failed in require at
> /var/www/greenstone/gsdl/perllib/plugin.pm line 66.
>
>
> It seems something wrong with my perl && xml, i am a newbie on these
> two technology.
> Can someone help me for what is the possible wrong and how to fix it?
>
> Any help is appreciated.
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users>
ok, i find the season for my problem from the FAQ of greenstone.org
website:
Following the solution, hope that it can help someone with the same problem

Our prebuilt Linux and Mac OS X Greenstone distributions are built on
machines using Perl 5.6, and these distributions contain a few binary
perl modules. These cause problems if you are using a recent version of
perl like 5.8 or 5.8.1 (you can type "perl -v" from the command line to
see the version).

On the Mac, our distribution contains modules for both perl 5.6 and 5.8
and the correct one should (hopefully) be installed.

To remedy this, you need to remove the "gsdl/perllib/cpan/XML" and
"gsdl/perllib/cpan/auto" directories. Then you need to install the perl
XML::Parser natively for your system, and get Greenstone to use this
instead.