waldek wrote:
> hi,
> I've tried to compile Gimp 2.4 today. During the process I hit a strange 
> problem, apparently perl cannot find XML::Parser on my system although 
> it is installed.
>
> configure gives the following error message:
>
> checking for perl... /usr/bin/perl
> checking for XML::Parser... configure: error: XML::Parser perl module is 
> required for intltool
> make: *** No targets specified and no makefile found.  Stop.
>
> but XML::Parser is part of perlxml which I have installed:
>
> $ pacman -Q perlxml
> perlxml 2.34-4
>
> $pacman -Ql perlxml
> /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm
>
> $ perl
> use XML::Parser;
> Can't locate XML/Parser.pm in @INC (@INC contains: 
> /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 
> /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at - line 1.
> BEGIN failed--compilation aborted at - line 1.
>
> then I found with google that I could modify the search path like this:
>
> export PERL5LIB=/usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML
>
>
> $perl -V
>
> ..
> ..
>    Built under linux
>    Compiled at Oct 22 2007 10:46:27
>    %ENV:
>      PERL5LIB="/usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML"
>    @INC:
>      /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML
>      /usr/lib/perl5/5.8.8/i686-linux-thread-multi
>      /usr/lib/perl5/5.8.8
>      /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
>      /usr/lib/perl5/site_perl/5.8.8
>      /usr/lib/perl5/site_perl
>
> but it still cannot find the module:
>
> $ perl
> use XML::Parser;
> Can't locate XML/Parser.pm in @INC (@INC contains: 
> /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML 
> /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 
> /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at - line 1.
> BEGIN failed--compilation aborted at - line 1.
>
> so something is still missing.
> Is it a problem? I mean I know in this particular case it causes problem 
> but can it have any other impact?
>
> Cheers
>
> waldek
>
>
> _______________________________________________
> arch mailing list
> [email protected]
> http://archlinux.org/mailman/listinfo/arch
>   
Have tried to reinstall perl and/or perlxml
Dunno if it'll help or not but its worth a try

_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to