On 12/6/02 at 09:42, [EMAIL PROTECTED] (David Wheeler) wrote:

> On 6/12/02 7:00 AM, "Phil Dobbin" <[EMAIL PROTECTED]> claimed:
> 
> > 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).
> 
> I found that I had to install Expat like this:
> 
> cd /usr/local/src/expat-1.95.2
> .../configure
> perl -i.bak -p -e \
>   's/LDFLAGS\s*=\s*-static/LDFLAGS=/' examples/Makefile
> perl -i.bak -p -e \
>   's/LDFLAGS\s*=\s*-static/LDFLAGS=/' xmlwf/Makefile
> make
> make install
> 
> And then install XML::Parser like this:
> 
> perl Makefile.PL EXPATLIBPATH=/usr/local/lib \
>   EXPATINCPATH=/usr/local/include
> make
> make test
> make install
> 
> Details here:
> 
>   http://david.wheeler.net/osx.html

That's great stuff :-)

I'm glad somebody else had the same experience of Expat being blind...

Lots of good stuff on the web page, too.

Many thanks,

Regards,

Phil.

Reply via email to