Kjetil Kjernsmo wrote:
> If it was 2.6.11, then, I don't quite, but since 2.6.11 is newer than 
> XML::LibXML, the latter was not aware of the former when it was 
> released. In that case, it may not mean anything. If it works for you, 
> I wouldn't worry. Perhaps some others on the list can chime in on that?

It was 2.6.11. However, the installation XML::LibXML and XML::LibXSLT
still failed (I found a fix...keep reading). CPAN prints out a number
of nasty warnings but doesn't actually fail until its compiling
something called perl-libxml-mm.c. It prints out a couple compile
errors and then dies. 

And the compile errors...

cc -c -I/usr/include/libxml2 -DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"1.58\" -DXS_VERSION=\"1.58\" -fPIC
-I/usr/lib/perl/5.6.1/CORE -DHAVE_UTF8 -DHAVE_BLANK perl-libxml-mm.c
perl-libxml-mm.c: In function `nodeC2Sv':
perl-libxml-mm.c:968: parse error before `*'
perl-libxml-mm.c:972: `decoded' undeclared (first use in this function)
perl-libxml-mm.c:972: (Each undeclared identifier is reported only once
perl-libxml-mm.c:972: for each function it appears in.)
make[1]: *** [perl-libxml-mm.o] Error 1

I googled around for a bit and found a post detailing a bug that
caused the troubles listed above with XML-LibXML v 1.58, which is the
version I am trying to install. The bug is fixed is version 1.58_1, so
I installed that version via CPAN before trying to install
AxKit. (AxKit, or CPAN, I'm not sure which, tries to install the buggy
version.) That worked and XML::LibXML is now installed. I started
working to install AxKit only to discover that I was missing packages
again for XML::LibXSLT, namely libxslt1-dev and another stable package
it depended on. (I love that package search on debian's site. Thank
you for that hint!) So, after some more apt-get voodoo, I was able to
sucessfully install XML::LibXSLT. Now only AxKit is left...

The AxKit install dies when it reaches the Apache mod_perl stuff. It
can't find any of the header files required. Would this be due the
fact that I installed mod_perl via a Debian package? For now, I put
back the old AxKit debian package just to see if the perl libraries
work and they do... YES!

Thanks for all the help, I've come a long way on this!

-- 
Aubrey Hutchings
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to