Subject: Re: pkgsrc Linux 2.4.27-1-686/i386 bulk build results 2004-12-21
To: Min Sik Kim <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 12/22/2004 09:37:22
Min Sik Kim wrote:
> On Tue, 21 Dec 2004 21:52:08 -0800 (PST)
> "Jeremy C. Reed" <> wrote:
>>This is this error:
>> configure: error: XML::Parser perl module is required for intltool
>>I think this is the fourth package that I have seen with this problem. The
>>fix is to patch the configure from perl to $INTL_PERL.
>>What changed to make this necessary?
> The code to test the availability of perl and XML::Parser came from
> intltool.m4, which had a bug using "perl" instead of $INTLTOOL_PERL.
> Due to this bug, the test fails if the first "perl" in PATH is not
> from pkgsrc and that "perl" doesn't have XML::Parser.  This bug was
> fixed in the recent intltool, but there are still many packages with
> "configure" generated before the fix.
> We need to ask authors to regenerate their configure scripts using
> up-to-date intltool.
> Until all such packages are fixed, we can let intltool/
> correct configure.  See the patch below.

Instead of patching configure scripts, which can be tricky, we could 
instead add an entry in to symlink the perl executable into 
${TOOLDIR}/bin, which is prepended to the PATH for the configure phase 
and beyond.


	-- Johnny Lam <>