On Wednesday, June 12, 2002, at 04:00  PM, Phil Dobbin wrote:

> I ran make install with Expat and that went fine but now trying to get 
> cpan to install XML::Parser::Expat presents me with the problem that 
> Perl can't find Expat in /usr/local/lib/ (which is Expat's default via 
> the recommended [cpan advised] sourceforge install).
>
> Looking in set I find my path sez:
>
> path    (/sw/bin /sw/sbin /Users/phil/bin/powerpc-apple-darwin 
> /Users/phil/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin 
> /sbin /usr/X11R6/bin)
>
> so I figure the easiest way to get Perl to see Expat is to add 
> /usr/local/lib/ to my path (I don't really want to point a specific 
> makefile.pl at the directory as I think /usr/local/lib/ _should_ be in 
> my path anyway ;-)

nooooooooooo...;-)

Expat isn't a executable, and thus adding /usr/local/lib to your $path 
won't make any sense. You want to tell the compiler
where to find the libraries, though.

What's the exact output you get from the XML::Parser make process?

I just installed expat and XML::Parser and it worked out of the box:

tar xfz expat-1.95.3.tar.gz
cd expat-1.95.3
../configure
make
sudo make install

perl5.8.0RC1 -MCPAN -eshell
cpan> install XML::Parser

done.

Kay

Reply via email to