Re: [greenstone-users] Re: Linux - plugin problem- collection build fail

From Birgit Kellner
DateSat, 22 Jan 2005 02:38:39 +0100
Subject Re: [greenstone-users] Re: Linux - plugin problem- collection build fail
In-Reply-To (1106345041-6305-25-camel-dhcp-159-31)
Jim Elmborg wrote:

>(quoting from Farid)
>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 developer's guide.
>
>The same box shows up but for the following plugins:
>METSPlug.pm
>XMLPlug.pm
>RecPlug.pm"
>
>I can use GLI to tag the collection and proceed to build, but build
>fails instantly with this error
>
>Compilation failed in require at /usr/local/gsdl/perllib/plugin.pm line
>67. Looks like line 67 is the first time a plugin is called in the
>build.
>
>Both installations are from binary distribution (not compiled from
>source). When I tried to run pluginfo.pl GAPlug, I get the following
>message:
>
>Can't load
>'/usr/local/gsdl/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so'
>for module
>XML::Parser::Expat: /usr/local/gsdl/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so: undefined symbol: PL_stack_sp at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
> at /usr/local/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 15
>Compilation failed in require
>at /usr/local/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 15.
>BEGIN failed--compilation aborted
>at /usr/local/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 27.
>Compilation failed in require at /usr/local/gsdl/perllib/XMLParser.pm
>line 29.
>BEGIN failed--compilation aborted
>at /usr/local/gsdl/perllib/XMLParser.pm line 29.
>Compilation failed in require
>at /usr/local/gsdl/perllib/plugins/XMLPlug.pm line 36.
>BEGIN failed--compilation aborted
>at /usr/local/gsdl/perllib/plugins/XMLPlug.pm line 36.
>Compilation failed in require
>at /usr/local/gsdl/perllib/plugins/GAPlug.pm line 35.
>BEGIN failed--compilation aborted
>at /usr/local/gsdl/perllib/plugins/GAPlug.pm line 35.
>Compilation failed in require at /usr/local/gsdl/perllib/plugin.pm line
>66.
>
>The script seems to fail at line 15 of Parser.pm. That line reads:
>
>require XML::Parser::Expat;
>
>So I installed the XML::Parser::Expat thinking I might be missing that.
>Then I reinstalled Greenstone. Still same problems. Am taking a break
>now and hoping someone can help me figure out this installation.
>
>Any guidance much appreciated.
>
>Thanks,
>Jim Elmborg
>
>
>
at the risk of pointing out the obvious: have you checked this faq entry
-
http://www.greenstone.org/cgi-bin/library?e=p-en-faq-utfZz-8&a=p&p=faqbuild#33?

This is how I got rid of these errors - remove the modules that come
bundled with Greenstone, and install fresh ones from CPAN instead.

Best regards,

Birgit