2011年7月20日水曜日

No package 'libxml-2.0' found

問題:
checking for SHELL_CORE... configure: error: Package requirements (libxml-2.0 >= 2.5.0 gtk+-2.0 >= 2.21.5 gio-2.0 >= 2.25.11 gthread-2.0 ) were not met:

No package 'libxml-2.0' 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 SHELL_CORE_CFLAGS
and SHELL_CORE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
対策:
export PKG_CONFIG_PATH=/mingw/lib/pkgconfig/
libxml-2.0.pcを作出する:
prefix=/mingw
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libXML
Version: 2.7.8
Description: libXML library version2.
Requires:
Libs: -L${libdir} -lxml2
Libs.private: -L${libdir} -llibxml2
Cflags: -I${includedir}/libxml

0 件のコメント:

コメントを投稿