Subject: Re: libbonobo configure and missing XML/Parser.pm
To: Jeremy C. Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 02/12/2005 19:55:36
Have you 'make replace'd perl?  If so I bet that's your problem.

(The only time that happened to me, IIRC, was when I switched from
perl to perl-thread, something I did manually, without rebuilding
anything.)

Cheers,


On Sat, 2005-02-12 at 10:30 -0800, Jeremy C. Reed wrote:
> I have p5-XML-Parser-2.34nb2 installed. It provides
> lib/perl5/site_perl/5.8.5/i386-linux/XML/Parser.pm
> 
> I have perl, v5.8.6 installed. It is perl-5.8.6nb3. I see it has a
> MESSAGE:
> 
> ===========================================================================
> $NetBSD: MESSAGE,v 1.1 2004/01/08 19:18:00 jlam Exp $
> 
> perl-5.8.6nb3 will use the following directory as the default
> location of the site-specific Perl modules:
> 
>         /usr/lib/perl5/site_perl/5.8.6
> 
> ===========================================================================
> 
> When building devel/libbonobo, it fails with:
> 
> checking for perl... /usr/bin/perl
> checking for XML::Parser... configure: error: XML::Parser perl module is
> required for intltool
> 
> config.log has:
> configure:2072: error: XML::Parser perl module is required for intltool
> 
> Which leads me to try:
> 
> $ perl -e "require XML::Parser"
> Can't locate XML/Parser.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl
> /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 .) at -e
> line 1
> 
> 
> Should I expect the 5.8.5 version of XML::Parser to work? (I think it
> should, but perl MESSAGE suggests it may not.)
> 
> So when perl is updated to a new directory numbering, should all
> dependencies be bumped? I don't think so.
> 
> Anyways, what is the best way to handle this.
> 
> The workaround of rebuilding and textproc/p5-XML-Parser will work, but
> then I will end up with a new package with identical version name
> (p5-XML-Parser-2.34nb2) but with different contents.
> 
> (I have same problem with not-found XML::Parser on two systems.)
> 
>  Jeremy C. Reed
> 
>  	  	 	 open source, Unix, *BSD, Linux training
> 	  	 	 http://www.pugetsoundtechnology.com/
> 
-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/