Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Andreas, > I have a problem with the libxml2 library. I have installed it, but it > does not get detected by the configure script. Libxml2 is what has (recently) been holding up the CVSNT 2.5.04 release: http://customer.march-hare.com/webtools/bugzilla/ttshow_bug.cgi?id=5159&tt=1 Tony recently made some changes to resolve this and get us back on track for a release (basically to include libxml2 source in CVSNT) and I haven't really had a chance to test or build since - planning on making time for it later this week with a view to doing a stable release on June 30th. It looks like you've found some bugs though (albeit build bugs). > $ xml2-config --version > 2.6.32 > As the above (linked) notes discuss this in more detail - I discovered that CVSNT 2.5.04 didn't work unless libxml2 version was 2.6.2x (or higher - I didn't even know they'd gotten to 2.6.3x). Previously the configure script didn't check the version at all - so I assume that's new - perhaps if a new enough libxml2 is installed Tony anticipated that the build should use it rather than the internal one (I think that is how the zlib integration works). > The configure script says: > checking for xml2-config... /usr/bin/xml2-config > checking for libxml2... yes > checking libxml2 version > 2.6.26... yes That looks OK. > > config.log says: > configure:26013: found /usr/bin/xml2-config > configure:26025: result: /usr/bin/xml2-config > configure:26033: checking for libxml2 > configure:26055: result: yes > configure:26060: checking libxml2 version > 2.6.26 > configure:26094: gcc -o conftest -g -O2 -I/usr/include/libxml2 > conftest.c -lresolv -lresolv -lxml2 >&5 > configure:26097: $? = 0 > configure:26103: ./conftest > configure:26106: $? = 0 > configure:26121: result: yes > > But in config.h I find: > /* defined if libxml is available */ > /* #undef HAVE_LIBXML */ I'm not sure if libxml and libxml2 are the same... And the only thing I am certain of is that the libxml2 requirements in cvsapi are not #ifdef'd - so it wouldn't matter anyway. In fact I just did a search of all the source and cannot find HAVE_LIBXML used anywhere. > > Also ldd shows no dependency on libxml2 > What are you ldd'ing? The dependency is from cvsapi.so to libxml2.so. > > As a second problem, the configuration within the libxml directory seems > to be broken, because I cannot > make distclean > > Making distclean in libxml > make[1]: Entering directory `/home/andy/Programming/Projects/cvsnt/libxml' > make[1]: *** Keine Regel, um »distclean« zu erstellen. Schluss. > make[1]: Leaving directory `/home/andy/Programming/Projects/cvsnt/libxml' > make: *** [distclean-recursive] Fehler 1 > > Any thoughts? The cvsnt modules cvsapi and protocols also use the distclean-recursive macro, and I cannot see anything 'wrong' with the makefile's on a quick inspection. Can you trace out what make is actually trying to do here? If you do 'make distclean' in the libxml directory does it work OK, ie: is it just recursing into libxml that is broken or is it that libxml makefile.in itself is broken? Regards, Arthur