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

Coincidentally enough, I also found this out yesterday.

It looks to me like the xmlreader.c file isn't finished. I started working
on adding the required #ifdef support, but it was a big job and I haven't
got time to do it right now.

If I find time I'll submit a patch to the mailing list.

I'm pretty sure you have configured correctly (at least as far as disabling
schema support is concerned), but you've just encountered some unfinished


On Thu, May 08, 2003 at 07:28:30AM +0200, Joerg Schmitz-Linneweber wrote:
Hello all!

I need a *very* small footprint libxml2. So I tried to configure libxml2 via 
the following:
--- snip --------------------------------------------
CFLAGS="-march=i486 -L$UCLIBC_ROOT/lib -I$UCLIBC_ROOT/include 
./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 \
--- 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 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT 
-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

xml mailing list, project page
xml gnome org

Gary Pennington
Solaris Kernel Development,
Sun Microsystems
Gary Pennington sun com

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