Adam, Adam Griffiths wrote:
I'm planning to run AxKit under Cygwin, but haven't attempted it yet. I'm curious to hear more about your progress.Hi, Has anyone on this list managed to run AxKit with Cygwin (for the libxml libraries). If so I'd really appreciated some tips. If not, what is a better way to get AxKit running on a PC?
However, I have successfully installed XML::LibXML on Cygwin, which is what your message is really asking about. Read on.
I'm have the following problem:I've used cygwin's set up program to install 'libxml2' and 'libxslt', but it doesn't have an option to install 'libxml'. When I come to install XML::LibXML from CPAN I get the errors bellow, the first of interest is: Cannot open include file: 'libxml/parser.h' My \usr\include\ directory has the following sub directories:
[..]
[..]06/02/2003 14:20 <DIR> libxml2 06/02/2003 14:20 <DIR> libxslt
Under libxml2/ should be libxml/parser.h. You probably need to tell your build tools where to find it:
$ perl Makefile.PL INC=-I/usr/include/libxml2
I've had to do this on *n*x OS's too, not just Cygwin/Windows.
So should I have a DIR libxml also? If so am I right in thinking XML::LibXMLYou shouldn't need libxml. See the libxml FAQ: http://www.xmlsoft.org/FAQ.html
requires libxml as well as libxml2.
Also, I noticed that you're using M$ nmake and probably ActiveState's Perl. Since you're running Cygwin, why not use the GNU make and the Perl that comes with it? I've never used nmake, but I've had problems installing and linking to libx(ml|slt) with other non-GNU versions of make. Also, the Cygwin Perl is designed to work with other Cygwin components, so you may have better luck that way if you're going to use Cygwin's libx(ml|slt).
Otherwise, if you want to stick with ActivePerl, there should be a PPM packge of XML::LibXML, which may eliminate the need for Cygwin. Not sure about AxKit, though - you could try searching with the ppm shell.
Many Thanks Adam
HTH! David Naughton --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
