Here's what I get when I try to configur the lates subversion:
Code:
checking for GMIME... configure: error: Package requirements ( gmime-2.0 >= 2.1.0 ) were not met:
No package 'gmime-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 GMIME_CFLAGS
and GMIME_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I've looked for gmime on my install and found (snipped):
Code:
/usr/lib/libgmime-2.0.so.2.2.3
While the path /usr/lib/ seems quite ordinary, I've gone ahead and added it to PKG_CONFIG_PATH, and rerun ./config, but to no avail...
I've also studied the relevant paragraph in the pkg-config manpages, and do not understand it enough to act on it.
Here it is:
Code:
PKG_CHECK_MODULES(VARIABLE-PREFIX,MODULES[,ACTION-IF-FOUND,[ACTION-IF-
NOT-FOUND]])
The macro PKG_CHECK_MODULES can be used in configure.ac to check
whether modules exist. A typical usage would be:
PKG_CHECK_MODULES([MYSTUFF], [gtk+-2.0 >= 1.3.5 libxml = 1.8.4])
This would result in MYSTUFF_LIBS and MYSTUFF_CFLAGS substitu‐
tion variables, set to the libs and cflags for the given module
list. If a module is missing or has the wrong version, by
default configure will abort with a message. To replace the
default action, specify an ACTION-IF-NOT-FOUND. PKG_CHECK_MOD‐
ULES will not print any error messages if you specify your own
ACTION-IF-NOT-FOUND. However, it will set the variable
MYSTUFF_PKG_ERRORS, which you can use to display what went
wrong.
Note that if there is a possibility the first call to
PKG_CHECK_MODULES might not happen, you should be sure to
include an explicit call to PKG_PROG_PKG_CONFIG in your config‐
ure.ac
Help?
jackn
Bookmarks