in reply to Installing XML::Parser

From the README:

This is a Perl extension interface to James Clark's XML parser, expat. It requires at least version 5.004 of perl and it requires that you ha +ve release 1.95.0 or greater of expat installed. You can download expat from: http://sourceforge.net/projects/expat/

Everything is there.

Replies are listed 'Best First'.
Re: Re: Installing XML::Parser
by snotnose (Novice) on Apr 14, 2004 at 22:14 UTC
    Yeah, that's where I got the source tarball from. But is there anywhere in particular I should install it? /bin? /usr/bin? /lib/expat.dll?
    OK, I just configured, built, and installed it to the default, which is /usr/local/{bin|lib}. But I still get the original error message.
    How exactly do I figure out where perl is looking for my code at? For that matter, how do I figure out *what* code perl is looking for? I've stared at Expat.pm, but as I don't know perl nothing jumps out at me.
      I don't know the particulars of how Cygwin manages its shell environment, and I would have expected the XML::Parser module installation to look in /usr/local/lib by default. Just as a wild guess, you might try doing this in the shell before you try installing the module:
      export LD_LIBRARY_PATH=/usr/local/lib
      That's what I would do if I was having this sort of trouble on a unix box. Whether Cygwin goes to this length in emulating unix is outside my experience.
        As the great one said, There's More Than One Way To Do It. I uninstalled the Cygwin perl, installed ActivePerl, and now things work like a champ.
        Seems like cheating, but hey!