pbl installing Firefox

walt wa1ter at myrealbox.com
Tue Mar 29 15:25:44 PST 2005



On Tue, 29 Mar 2005, Raphael Marmier wrote:

> trying to install Firefox from port, it fails complaining p5-XML::Parser  is
> not installed.
>
> dragonfly# make install
> ===>  Installing for p5-XML-Parser-2.34_1
> ===>   p5-XML-Parser-2.34_1 depends on file: /usr/local/bin/perl5.8.6 - found
> ===>   p5-XML-Parser-2.34_1 depends on shared library: expat.5 - found
> ===>   Generating temporary packing list
> ===>  Checking if textproc/p5-XML-Parser already installed
> Installing
> /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/XML/Parser/Expat/Expat.so
>
> <snip>
>
> /usr/local/lib/perl5/5.8.6/man/man3/XML::Parser::Style::Stream.3
> Writing /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/XML/Parser/.packlist
> ===>   Compressing manual pages for p5-XML-Parser-2.34_1
> ===>   Registering installation for p5-XML-Parser-2.34_1
> dragonfly# perl
> use XML::Parser;
> Can't locate XML/Parser.pm in @INC (@INC contains:
> /usr/local/lib/perl5/site_perl/5.005/i386-dragonfly /usr/local/lib/perl5
> BEGIN failed--compilation aborted at - line 2.
> dragonfly#
>
> I can notice it is looking in the wrong site-perl. How do we fix that, if
> possible permanently?

This is just a guess:  try running "use.perl port" from a shell command line.

There are lots of confusing symbolic links installed by perl, and maybe some
of those symlinks are out of date on your machine.

BTW, any time you do a 'make upgrade' in /usr/src you will need to repeat
the 'use.perl port' command to re-create the symlinks.






More information about the Users mailing list