[Uml-devel] Configure.in problems in Umbrello
Daniel Calviño Sánchez
danxuliu at gmail.com
Thu Aug 31 19:14:16 UTC 2006
Hi,
I was updating my SVN version (3.5 branch) of Umbrello to the last
revision and run into a problem. Configuring outputs the following
lines:
checking libxml2/libxml/xmlmemory.h usability... no
checking libxml2/libxml/xmlmemory.h presence... no
checking for libxml2/libxml/xmlmemory.h... no
checking libxslt/xslt.h usability... no
checking libxslt/xslt.h presence... no
checking for libxslt/xslt.h... no
checking if umbrello should be compiled... no
configure: creating ./config.status
I don't have libxslt installed, but libxml2 devel packages are
installed. I looked for libxml2/libxml/xmlmemory.h and it is in
/usr/include. As it can be seen in the output, configure script didn't
found it.
Moreover, even if it states "checking if umbrello should be
compiled... no", all the Makefiles are created and make can be
executed. Everything goes fine until it gets to where libxslt is used,
and then, of course, gcc fails because it can't find the headers.
Even if libxslt devel packages are also installed, it fails, because
they aren't found in configure, so I presume that LIBXSLT_LIBS and
LIBXML_LIBS aren't substituted by their real value.
Am I missing something or is really broken the current configure.in
file? (I suppose that the problem comes from the macros there).
I don't know how it works with KDE build system, but, as far as I
know, libxml and libxslt use pkg-config
(http://pkgconfig.freedesktop.org/) to ease checking for the libraries
in configure.in files. Here's some information about it:
http://www.openismus.com/documents/linux/using_libraries/using_libraries.shtml#configure
Maybe switching the macros checking for libxml and libxslt to the
pkg-config ones could help, but my knowledge about m4 and the
internals of KDE build system is null, so I have no idea if it is
worth doing it.
Regards,
Daniel
More information about the umbrello-devel
mailing list