Gentoo Archives: gentoo-dev

From: Mikael Hallendal <hallski@g.o>
To: gentoo-dev@g.o, gentoo-user@g.o
Subject: [gentoo-dev] libxml/libxml2 problems.
Date: Sat, 10 Nov 2001 06:59:16
Message-Id: 1005400727.3244.4.camel@zoidberg
1 Hi!
2
3 I've now tracked down the problem (thanks alpha for having the problem
4 :)
5
6 The problem was that libxml2 just recently changed to install in
7 /usr/include/libxml2/libxml instead of /usr/include/libxml. This
8 resulted in apps changing there includes from
9
10 #include <gnome-xml/libxml.h>
11
12 to
13
14 #include <libxml/libxml.h>
15
16 and controlling which libxml to use from configure by either calling
17 xml-config --cflags
18 or
19 xml2-config --cflags
20
21 so if you had an old libxml2 (libxml2 2.4.41 was doing wrong at least)
22 that resulted in the makefile finding /usr/include/libxml before
23 /usr/include/gnome-xml/libxml (which it should).
24
25 So, the fix, unmerge all old versions of libxml2 and remerge libxml2
26 >2.4.9
27
28 Regards,
29 Mikael Hallendal
30
31 --
32
33 Mikael Hallendal
34 Gentoo Linux Developer, Desktop Team Leader
35 CodeFactory AB, Stockholm, Sweden