This page is not a bug tracker. If you run into a problem not listed here, please file a bug. |
List of common errors for the module evolution.
Error - nss enabled
Stage: build
camel-smime-context.c:36:17: cms.h: No such file or directory camel-smime-context.c:37:18: cert.h: No such file or directory camel-smime-context.c:38:20: certdb.h: No such file or directory camel-smime-context.c:39:20: pkcs11.h: No such file or directory camel-smime-context.c:40:19: smime.h: No such file or directory camel-smime-context.c:41:21: pkcs11t.h: No such file or directory camel-smime-context.c:42:22: pk11func.h: No such file or directory camel-smime-context.c:63: error: syntax error before "CERTCertDBHandle" camel-smime-context.c:63: warning: no semicolon at end of struct or union camel-smime-context.c:69: error: syntax error before ':' token ... camel-smime-context.c:1052: error: dereferencing pointer to incomplete type camel-smime-context.c:1053: error: dereferencing pointer to incomplete type make[3]: *** [camel-smime-context.lo] Error 1 make[3]: Leaving directory `/home/ups/bleeding/gnome2/evolution/camel' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ups/bleeding/gnome2/evolution/camel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ups/bleeding/gnome2/evolution' make: *** [all] Error 2 *** error during stage build of evolution: could not build module ***
Solution:
The error occurs when building evolution with nss enabled. See http://bugzilla.gnome.org/show_bug.cgi?id=154213. It should probably be fixed now, but if not, it can be worked around in a couple of ways; either copy the necessary nss headers to your include directory:
NOTE: replace <mozilla_directory> with the correctly versioned mozilla directory
$ mkdir $prefix/include/<mozilla_directory>/nss $ cp $source/mozilla/dist/public/nss/*.h $prefix/include/<mozilla_directory>/nss
or instruct jhbuild to use the libraries in /usr/lib (assuming you have the appropriate mozilla development libraries from your distribution installed) by adding something similar to the following (make sure to find the correct directories) to your ~/.jhbuildrc:
module_autogenargs['evolution'] = '--with-nss-includes=/usr/include/mozilla-1.7.10 --with-nspr-includes=/usr/include/mozilla-1.7.10 --with-nspr-libs=/usr/lib --with-nss-libs=/usr/lib' module_autogenargs['evolution-data-server'] = '--with-nss-includes=/usr/include/mozilla-1.7.10 --with-nspr-includes=/usr/include/mozilla-1.7.10 --with-nspr-libs=/usr/lib --with-nss-libs=/usr/lib'
Error - libgtkhtml-3.6 is required
libgtkhtml-3.6 is required
Solution:
This almost certainly means that gtkhtml was not built properly, possibly because you ignored an error jhbuild had with it or skipped the module. Go back and have jhbuild build gtkhtml ('jhbuild buildone gtkhtml' in another terminal, if you like)