Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: jpeters on January 20, 2009, 03:08:24 PM

Title: perl xml parser
Post by: jpeters on January 20, 2009, 03:08:24 PM
I was trying to configure intltool-0-40.5, and got stuck on:

Code: [Select]
XML::Parser... configure: error: XML::Parser perl module is required for intltool
I've loaded perl5.tczl, perl_xml.tcz, and played around with exporting LD_LIBRARY_PATH, but no luck.
Is there a way to get this working?  Thanks

John
Title: Re: perl xml parser
Post by: curaga on January 20, 2009, 03:49:56 PM
You shouldn't load both perl5 and perl_xml; it's possible that the configure script found the wrong one.

That aside, do you need 0.40? 0.35.5 is in autotools.tcz
Title: Re: perl xml parser
Post by: jpeters on January 20, 2009, 05:57:09 PM
You shouldn't load both perl5 and perl_xml; it's possible that the configure script found the wrong one.

It seems to be looking at /usr/local/bin/perl, which is used for perl5.8.8. That didn't work, so I linked it to /usr/local/bin/perl15.10.0 which didn't work either. 

edit: actually, I think perl5.8.8  is put in /usr/bin....I'll try that.
edit2  That did the trick!!  Thanks

Quote
That aside, do you need 0.40? 0.35.5 is in autotools.tcz
  That might work, although I'd still like to know if there's something I should be doing differently.
Thanks

john
Title: Re: perl xml parser
Post by: jpeters on August 11, 2009, 06:48:50 AM
You shouldn't load both perl5 and perl_xml; it's possible that the configure script found the wrong one.

I just ran into a problem again with perl_xml, and revisited this thread. Perl5.tczl is a dependency for apps like cups, so it's likely to be loaded along with perl_xml. I found that perl_xml.tcz won't work, although perl_xml.tce will.  Are you saying that perl_xml can replace perl5 dependencies?  (if so, it's 3.6M lighter).
Title: Re: perl xml parser
Post by: Juanito on August 11, 2009, 07:52:18 AM
I made the perl_xml extension - basically perl plus the xml parser perl module - for compiling use. The perl5 (with shared lib) was intended for general use.

This being said, the perl_xml extension might well fit your needs.
Title: Re: perl xml parser
Post by: junan on August 11, 2009, 10:19:05 PM
why not change cups dep file? change perl5 to perl_xml.