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. | [reply] [d/l] |
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.
| [reply] |
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. | [reply] [d/l] |
Did you get the Cygwin version of expat? There is a Cygwin package, installed through the Cygwin setup, for expat. I am assuming it includes the DLL and development headers. You will also need the development tools, gcc, make, etc.
| [reply] |