[libxml++] How to give libxml PATH to libxml++ installation



Hi all,
 
I would like to use libxml++. To install it, i have downloaded 2.18.0 libxml++ version. I have installed libxml2-2.6.28 and pkg-config-0.20. To install libxml++ i have done:
 
> setenv PKG_CONFIG_PATH /myProjectDir/bin/pkg-config
> setenv LIBXML_LIBS /myProjectDir/lib/libxml2.a
> ./configure --prefix = /myProjectDir
...

checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... configure: error: Package requirements (libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0) were not met:

No package 'libxml-2.0' found
No package 'glibmm-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

 
The link to libxml library is wrong. I don't khnow what to writ to resolve this problem.
Thank you for your help.


 
2007/5/15, Hamid Gasmi <h gasmi gmail com>:
Hi,

I would like to use libxml++.  I have downloaded libxml++-2.18.0. But, i have not succeed to install it. I have, in fact, the following problem: It asks me to install libxlk2 and glibmm-2.4 like you can see below:

> cd libxml++-2.18.0/
> setenv PKG_CONFIG_PATH /myProjectDir/
> ./configure --prefix= /myProjectDir/
... after many lines ...

checking for LIBXML... configure: error: Package requirements (libxml-2.0 >= 2.6.1 glibmm-2.4 >= 2.4.0) were not met:

No package 'libxml-2.0' found
No package 'glibmm-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

So, I have downloaded glibmm-2.12.1 and libxml2-2.2.0.

glibmm configuration gives me this lines:

> cd glibmm-2.12.1/
> ./configure --prefix= /myProjectDir/
... after many lines ...

checking for GLIBMM... configure: error: Package requirements (sigc++-2.0 >= 2.0.0 glib-2.0 >= 2.9.0 gobject-2.0 >=2.9.0 gmodule-2.0 >= 2.9.0) were not met:

No package 'sigc++- 2.0' found
Requested 'glib-2.0 >= 2.9.0' but version of GLib is 2.2.3
Requested 'gobject-2.0 >= 2.9.0' but version of GObject is 2.2.3
Requested 'gmodule-2.0 >= 2.9.0' but version of GModule is 2.2.3

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIBMM_CFLAGS
and GLIBMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Thank you.





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