On Monday 17 of October 2005 07:35, Kenneth Chan wrote:> > Hi,> >
I was trying to run the simple XML validation script, after the> > execution it could not locate loadable object the> > XML::LibXML::Common. I have download and installed included the> > Common.pm(> > XML-LibXML-Common-0.13.tar.gz<http://search.cpan.org/CPAN/autho> >rs/id/P/PH/PHISH/XML-LibXML-Common-0.13.tar.gz>) module from> > CPAN into the correct directory, but it still gave the error as> > the following> >
C:\Perl\perlscript>perl parse_validation.pl memo.xml> > Can't locate loadable object for module XML::LibXML::Common in> > @INC (@INC contai> > ns: c:/Perl/lib c:/Perl/site/lib .) at> > c:/Perl/lib/XML/LibXML.pm line 11 Compilation failed in require> > at c:/Perl/lib/XML/LibXML.pm line 11. BEGIN failed--compilation> > aborted at c:/Perl/lib/XML/LibXML.pm line 11. Compilation> > failed in require at parse_validation.pl line 1. BEGIN> > failed--compilation aborted at parse_validation.pl line 1.> >
Any idea or thought?> >
Ken
Windows, right? This might be because you also need to have libxml2.dll somewhere around (either in your PATH or in the same dir as Common.so). Maybe, if you use ActivePerl, it is a better idea to install LibXML from the ppm packages at http://theoryx5.uwinnipeg.ca/ppms/. They contain a script that fetches and installs the .dll for you.
-- best regards, randy kobes _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
I can successfully installed those modules by using ppm utility from my PC.> However I got different error messages and still stuck on the packaging> stuff.>
It popup box and said that "This application has failed to start because> zlib1.dll was no found. Re-installing the application may fix this problem"> After clicked to "OK"
I'm not sure what would be causing this - what modules is the parse_validation.pl script using? And where did you get these modules?
C:\Perl\perlscript>perl parse_number.pl customers.xml> Can't load 'c:/Perl/site/lib/auto/XML/LibXML/Common/Common.dll' for module> XML::> LibXML::Common: load_file:The specified module could not be found at> c:/Perl/lib> /DynaLoader.pm line 230.> at c:/Perl/site/lib/XML/LibXML.pm line 11> Compilation failed in require at c:/Perl/site/lib/XML/LibXML.pm line 11.
When you installed XML::LibXML::Common, a post-install script should have been run, asking you if you want to fetch and install a library called libxml2.dll. Did you do that? If so, what directory did you install it in? This directory has to be somewhere in your PATH environment variable - one easy was to ensure this is, assuming Perl is in your PATH, moving libxml2.dll to the location of the Perl bin directory (eg, C:\Perl\bin).
-- best regards, randy _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
If you install XML::SAX from our http://theoryx5.uwinnipeg.ca/ppms/ repository, a post-install script should be run, offering to do this for you.
-- best regards, randy _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Please help me to install the XML::LibXML, I couldnot find libxml2 which is a pre-requisit for the above. I am using PPM version 4.03 and ActivePerl version 5.10.0.1004 on MS-Windows-XP
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .