[xml] configure/compile problem w/o schemas/xpath



Hello all!

I need a *very* small footprint libxml2. So I tried to configure libxml2 via 
the following:
--- snip --------------------------------------------
PATH="$UCLIBC_USR/bin":$PATH \
CFLAGS="-march=i486 -L$UCLIBC_ROOT/lib -I$UCLIBC_ROOT/include 
-DNO_LARGEFILE_SOURCE" \
CPPFLAGS="-I$UCLIBC_USR/include -DNO_LARGEFILE_SOURCE" \
LDFLAGS="-L$UCLIBC_USR/lib" \
./configure \
        --prefix=/usr/i386-linux-uclibc-0.9.19/usr \
        --host=i486-linux \
        --target=i486-linux \
        --build=i386-pc-linux-gnu \
        --with-zlib=/usr/i386-linux-uclibc-0.9.19/usr \
        --disable-nsl \
        --without-python \
        --without-readline \
        --without-history \
        --without-ftp \
        --without-http \
        --without-html \
        --without-catalog \
        --without-docbook \
        --without-xptr \
        --without-c14n \
        --without-xinclude \
        --without-iconv \
        --without-regexps \
        --without-debug \
        --enable-shared=no \
        --without-schemas
--- snap --------------------------------------------

If I leave out "--without-schemas" everythings compiles fine, but with schemas 
disabled I get:
--- snip --------------------------------------------
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include 
-I./include  -D_REENTRANT -I/usr/i386-linux-uclibc-0.9.19/usr/include   
-I/usr/i386-linux-uclibc-0.9.19/usr/include -DNO_LARGEFILE_SOURCE  
-march=i486 -L/usr/i386-linux-uclibc-0.9.19/lib 
-I/usr/i386-linux-uclibc-0.9.19/include -DNO_LARGEFILE_SOURCE -Wall -c 
xmlreader.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT 
-I/usr/i386-linux-uclibc-0.9.19/usr/include 
-I/usr/i386-linux-uclibc-0.9.19/usr/include -DNO_LARGEFILE_SOURCE -march=i486 
-L/usr/i386-linux-uclibc-0.9.19/lib -I/usr/i386-linux-uclibc-0.9.19/include 
-DNO_LARGEFILE_SOURCE -Wall -c xmlreader.c -o xmlreader.o
xmlreader.c: In function `xmlFreeTextReader':
xmlreader.c:1211: structure has no member named `rngSchemas'
xmlreader.c:1212: structure has no member named `rngSchemas'
xmlreader.c:1213: structure has no member named `rngSchemas'
...
xmlreader.c:2588: structure has no member named `rngValidErrors'
xmlreader.c:2589: structure has no member named `rngFullNode'
xmlreader.c: At top level:
xmlreader.c:435: warning: `xmlTextReaderValidatePush' defined but not used
xmlreader.c:497: warning: `xmlTextReaderValidateCData' defined but not used
xmlreader.c:2866: warning: `xmlBase64Decode' defined but not used
make[2]: *** [xmlreader.lo] Fehler 1
--- snap --------------------------------------------

The same holds true if I disable xpath :-(

Can someone shade some light on this "dark-configure-magic" :)

BTW: I'm trying with libxml2-2.5.7

TIA. Salut, Joerg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]