[xml] Errors configuring to include "--with-dom"

This is the error i get when I run:
./configure \
--with-dom \
--with-xml \
--with-zlib \


checking for DOM support... yes
checking for DOM in default path... not found
configure: error: Please reinstall the libxml >= 2.2.7 distribution

So I downloaded libxml2-2.4.17 (I also tried 2.2.7, 2.4.10, and 2.4.16)
I run ./configure in the appropriate directory (libxml2- works fine
I run make and I get the following errors:
cc -dynamiclib -undefined suppress -o .libs/libxml2.2.4.17.dylib SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo globals.lo threads.lo c14n.lo -lz -lm -lc -install_name /usr/local/lib/libxml2.2.dylib -compatibility_version 7 -current_version 7.17
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libxml2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

can anyone please help me out on this problem... I cant seem to figure out what is causing this error, or what to do about it... Any help would be greatly appreciated... Thank You

Ilya Shindyapin

email: ilya_shindyapin hotmail com

url: http://www.personal.psu.edu/ivs101/

"If PERFECTION is cruising at an altitude of 30,000 ft
and at a speed of 630 mph, then I am still waiting in the
ticket line."

Send and receive Hotmail on your mobile device: http://mobile.msn.com

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