Discussion:
libxml and libxml2
Richard Hult
2003-03-04 21:51:00 UTC
Permalink
While running configure on libmrproject CVS tree,
----
configure: error: Library requirements (
glib-2.0 >= 2.0.4
libxml-2.0 >= 2.4.7
----
The above test checks for a libxml equal to or greater than 2.4.7, and
2.5 is just that.
Is there not an error in the configure script
since it confuses libxml and libxml2 ?
No, the RPM name has nothing to do with the name used in the pkg-config
check.

Make sure you have all requirements, i.e. libgsf, glib and libxml.

Regards,
Richard
--
Richard Hult ***@codefactory.se
CodeFactory AB http://www.codefactory.se/
Jérôme Bouat
2003-03-04 21:22:40 UTC
Permalink
While running configure on libmrproject CVS tree,
I got the following message:
----
configure: error: Library requirements (
glib-2.0 >= 2.0.4
libxml-2.0 >= 2.4.7
----

I searched in ftp://ftp.dit.upm.es/pub/GNOME/sources/
for the libxml library.
I found 2 libraries:
- libxml, version goes up to 1.8
- libxml2, version goes up to 2.5

Thus, the 2.4.7 version of libxml
seems not to exist
but it should exist a libxml2 2.4.7 version.

Moreover, as says the web site:
----
Table 1.1. libmrproject dependencies
Package
Version
glib
=2.0.4
libxml2
=2.4.7
----
And I had a libxml2 library installed:
----
[***@localhost libmrproject]$ rpm -q libxml2
libxml2-2.5.1-1mdk
[***@localhost libmrproject]$
----

Is there not an error in the configure script
since it confuses libxml and libxml2 ?

Jérôme
Benjamin BAYART
2003-03-04 22:04:47 UTC
Permalink
configure: error: Library requirements (
glib-2.0 >= 2.0.4
libxml-2.0 >= 2.4.7
----
Is there not an error in the configure script
since it confuses libxml and libxml2 ?
The error seems to be on your version of glib, I guess.

Benjamin.

Loading...