in reply to Re: Installing XML::Parser
in thread Installing XML::Parser

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.

Replies are listed 'Best First'.
Re: Re: Re: Installing XML::Parser
by graff (Chancellor) on Apr 15, 2004 at 00:39 UTC
    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!