edit the file (I should have sent in a patch for this....).

change

_default_catalog( self, catalog )
        SV * self
        SV * catalog
    PREINIT:
#ifdef LIBXML_CATALOG_ENABLED
        xmlCatalogPtr catal = (xmlCatalogPtr)SvIV(SvRV(catalog));
#endif
    INIT:
        if ( catal == NULL ) {
            croak( "empty catalog" );
        }
    CODE:
        warn( "this feature is not implemented" );
        RETVAL = 0;
    OUTPUT:
        RETVAL

to

_default_catalog( self, catalog )
        SV * self
        SV * catalog
    PREINIT:
#ifdef LIBXML_CATALOG_ENABLED
        xmlCatalogPtr catal = (xmlCatalogPtr)SvIV(SvRV(catalog));
#endif
    INIT:
#ifdef LIBXML_CATALOG_ENABLED
        if ( catal == NULL ) {
            croak( "empty catalog" );
        }
#endif
    CODE:
        warn( "this feature is not implemented" );
        RETVAL = 0;
    OUTPUT:
        RETVAL


On Friday, August 15, 2003, at 03:54 pm, steve muskiewicz wrote:


Thanks for the suggestion.  Unfortunately now I seem to have a problem
rebuilding the perl XML::LibXML (1.54) libraries and it's complaining
about what looks like a catalog function:

/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap LibXML.xs >
LibXML.xsc && mv LibXML.xsc LibXML.c
gcc -c -I/usr/include/libxml2 -fno-strict-aliasing -I/usr/local/include
-O2 -march=i386 -mcpu=i686   -DVERSION=\"1.54\" -DXS_VERSION=\"1.54\"
-fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DHAVE_UTF8 -DHAVE_BLANK
LibXML.c
LibXML.xs: In function `XS_XML__LibXML__default_catalog':
LibXML.xs:2077: `catal' undeclared (first use in this function)
LibXML.xs:2077: (Each undeclared identifier is reported only once
LibXML.xs:2077: for each function it appears in.)
make: *** [LibXML.o] Error 1

Any ideas as to how I get around this?

thanks
-steve

I had similar problems on OSX, the solution i believe was to
rebuild libxml/xslt without catalog support.

mike.


On Thursday, August 14, 2003, at 09:23 pm, steve muskiewicz wrote:


Hello,

I'm trying to build AxKit 1.6.2 on a RH 7.3 system. It seems to
compile ok, but when I go to run the tests, the xslt-basic tests fail,
so it seems as if something's wrong with the stylesheet includes. I
uncommented the warn() lines in the tests and ran in verbose mode and
it looks like nothing is being returned at all from the tests that are
failing:


[snip]
xslt-basic/01.......1..1
ok 1
ok
xslt-basic/02_include.1..1
GOT CONTENT: at xslt-basic/02_include.t line 10.
not ok 1
# Test 1 got: '0' (xslt-basic/02_include.t at line 15)
# Expected: '1' (Testing stylesheet include behavior.)
FAILED test 1
Failed 1/1 tests, 0.00% okay
xslt-basic/03_document_1arg.1..1
GOT CONTENT: at xslt-basic/03_document_1arg.t line 10.
not ok 1
# Test 1 got: '0' (xslt-basic/03_document_1arg.t at line 15)
# Expected: '1' (Testing stylesheet include behavior.)
FAILED test 1
Failed 1/1 tests, 0.00% okay
xslt-basic/04_document_2args.1..1
GOT CONTENT: at xslt-basic/04_document_2args.t line 10.
not ok 1
# Test 1 got: '0' (xslt-basic/04_document_2args.t at line 15)
# Expected: '1' (Testing stylesheet include behavior.)
FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List
of Failed
--------------------------------------------------------------------- --
---------xslt-basic/02_include.t 1 1 100.00% > 1
xslt-basic/03_document_1arg.t 1 1 100.00% 1
xslt-basic/04_document_2args.t 1 1 100.00% 1
3 subtests skipped.
!!! error running tests (please examine t/logs/error_log)


I've also attached the Apache error_log from the test run, I don't see
any "error" lines in there but I'm still pretty new to AxKit to not
really sure what I should be looking for.


System/SW info:
I'm running a RH 7.3 system with the "stock" apache (1.3.27-2), perl
(5.6.1-34.99.6), and mod_perl (1.26-5) RPMs.  I've got the latest
libxml2 (2.5.9) and libxslt (1.0.32) RPMs from xmlsoft.org and
XML::LibXSLT 1.53 from CPAN.  Apache::Test version is 1.03.

I'm wondering if I've got some bad (or too new?) combination of the
libxml2/libxslt and/or CPAN libraries? Anyone have any suggestions as
to what I might have wrong here?


Thanks in advance!

-steve

<axkit-
test_error.log>------------------------------------------------------ --
-------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



Reply via email to