paulacocacola has asked for the wisdom of the Perl Monks concerning the following question:
enable native perl UTF8 looking for -lxml2... no looking for -llibxml2... libxml2 not found Try setting LIBS and INC values on the command line Or get libxml2 from http://www.libxml.org/ If you install via RPMs, make sure you also install the -devel RPMs, as this is where the headers (.h files) are. no
The CPAN documentation on how to install modules, refer to problems using perl makefile.pl on windows, and they say that the way to install is retrieving the .pm file and placing it on one of the paths on @INC.
I've tried this but perl complains that the LibXML::Common (required for LibXML). Doesn't have a loadable object:
Can't locate loadable object for module XML::LibXML::Common in @INC (@ +INC contai ns: C:/Perl/lib C:/Perl/site/lib .) at LibXML.pm line 11 Compilation failed in require at LibXML.pm line 11. BEGIN failed--compilation aborted at LibXML.pm line 11.
Why is this? Is this a problem of connecting to the libxml2.dll ? or is it a problem on perl?
In any case how do i solve this? The persons who complained of the same found a solution?
And finally: I need a XML module for a application that needs to have a document object, this object may be built at runtime, and must be compliant width a DTD.
I saw some docs and decided to try out libxml, but if there is a module, simpler to install on windows, please tell me.
thank you!
(this is urgent)
Edited by BazB added code tags, minor cleanups.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl & XML & LibXML
by castaway (Parson) on Jan 17, 2004 at 08:31 UTC | |
|
Re: Perl & XML & LibXML
by ajt (Prior) on Jan 17, 2004 at 10:23 UTC | |
|
Re: Perl & XML & LibXML
by vek (Prior) on Jan 17, 2004 at 15:01 UTC |