I was trying to build gnubg from the 27-5 cvs snapshot on a fresh ubuntu 8.04 install, but when I ran the configure script I got the error that the libxml2.0 package could not be found. However, I did install it. Here is the last bit of the output I got:
checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool
checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTHREAD... yes checking for LIBXML2... configure: error: Package requirements (libxml-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 LIBXML2_CFLAGS
and LIBXML2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
address@hidden:~/gnubg$ sudo apt-get install libxml2 Reading package lists... Done Building dependency tree
Reading state information... Done libxml2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.