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

HTH,

David

-- 
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                               Jabber: [EMAIL PROTECTED]


Reply via email to