csbac Posted April 11, 2007 Share Posted April 11, 2007 Hi!I'm trying to create an XML metadata schema in JasperETL (1.1.2), on Windows.I have a lot of problems there with XML::LibXML and others. Metadata->File xml->Create, give it a name.Pressing "Next", I get the (error) message "The Perl Module XML::Lib is not installed."Unfortunately, I cannot find this module anywhere ... the only matching one is libxml-perl (http://search.cpan.org/dist/libxml-perl-0.08/). Yet even though it is installed, the error msg persists. Going on, the following happens.I can open an xml file, the structure is shown.I set one of the nodes to Xpath loop expression, and one of the sub-nodes or values to Fields to extract. No matter how simple the XML file, not matter what I select, on pressing Preview I get the message "Preview error. Some settings must be changed.Note: Preview errors are generally due to a wrong encoding setting. Output not generated." Going on anyway to the next panel.Error message: "Guess failure Output not generated."Then, I only get "At least one item must exist on Schema". So I just add the (single) schema item myself, save, set to a FileOutputXML, connect to a FileOutputDelimited. Running the stuff, I get"Can't locate XML/LibXML.pm in @INC ..." So, XML::Lib, XML/LibXML _is_ necssary; but in which package do I find it?Are the UI errors related to this, or do they have a different cause? After some searching I found XML::LibXML ... unfortunately, it uses libxml2 ... Well, I'll try to install the stuff, yet maybe someone can give me a hint how to do it? Thanks,Sebastian Link to comment Share on other sites More sharing options...
csbac Posted April 11, 2007 Author Share Posted April 11, 2007 Hi again!I managed to install XML::LibXML, was quite a job ... libXML2, use Visual Studio, etc.If someone needs it, I can post a guide. Now it works, just the first error message in the UI keeps popping up - obviously, it checks for the existence of XML::Lib, which does not exist, instead of checking of XML::LibXML, which does exist and is installed now. Changing the check in the UI would greatly enhance the searching for the right package ... Yours,Sebastian Link to comment Share on other sites More sharing options...
ccarbone Posted April 14, 2007 Share Posted April 14, 2007 csbac wrote:Hi again!I managed to install XML::LibXML, was quite a job ... libXML2, use Visual Studio, etc.If someone needs it, I can post a guide. Hi Sebastian, I don't know our OS and our perl distribution, but with activestate and ppm tool, it's very easy to install XML-LibXML. Launch a command line and type the following commands : ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML-Common.ppd ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML.ppd Regards,Cedric Carbone Link to comment Share on other sites More sharing options...
csbac Posted April 14, 2007 Author Share Posted April 14, 2007 Thanks ... for the next time, I know it now ... It's Win XP with ActiveState, yes, otherwise compiling wouldn't have been such a problem ... Should have googled for the right keywords, it seems. Only found the source distribution (on CPAN). Thanx,Sebastian Link to comment Share on other sites More sharing options...
ccarbone Posted April 14, 2007 Share Posted April 14, 2007 csbac wrote:Thanks ... for the next time, I know it now ...It's Win XP with ActiveState, yes, otherwise compiling wouldn't have been such a problem ... Should have googled for the right keywords, it seems. Only found the source distribution (on CPAN).Thanx,Sebastian Don't forget the JasperETL installation guide. It is available under the tab Documentation on Jasperforge web site. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now