Building Evolution

Building against packaged GNOME

Build the relevant modules listed on the Git page and them. If you use a prefix different from where the rest of GNOME is installed (recommended), you will need to update the bonobo-activation configuration file, which will be:

<gnome prefix>/etc/bonobo-activation/bonobo-activation-config.xml
or /etc/bonobo-activation/bonobo-activation-config.xml

usually. Between the markers add:

<item>*evolution prefix*/lib/bonobo/servers</item>

You will need to restart the bonobo-activation-server process after this (either by logging out and back in or actually killing the process)

Building with jhbuild

You can get jhbuild information at http://library.gnome.org/devel/jhbuild/

It should now build 57 modules. If something fails for you, some common problems are listed below:

  1. Jhbuild throws a python exception
    Solution: You probably have a distro that maps 'python' to a version less than 2. Just change the installed jhbuild script (usually ~/bin/jhbuild) to use 'python2' instead of 'python'.

  2. Build fails in libxml
    ./autogen.sh --prefix /g/home/sig/src/gnome-install --enable-maintainer-mode --disable-static --disable-gtk-doc
    You should add the contents of`/g/home/sig/src/gnome-install/share/aclocal/libtool.m4' to`aclocal.m4'.
    acinclude.m4:4: warning: underquoted definition of AC_TRY_EVAL2 run info '(automake)Extending aclocal'
    Solution: Don't install automake 1.8 or do "jhbuild shell" and uninstall automake 1.8 from the jhbuild environment.
  3. Build fails in fontconfig
    docbook2txt local-fontconfig-user.sgml
    Using catalogs: /etc/sgml/sgml-docbook-3.1-1.0-17.cat
    Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#html
    Working on: /home/jpr/src/jhbuild-evo/fontconfig/doc/local-fontconfig-user.sgml
    No way to convert HTML to text found.
    Solution: Install lynx
  4. Build fails in Xrender
    ./configure: line 18388: syntax error near unexpected token `X,'
    ./configure: line 18388: `PKG_CHECK_MODULES(X, x11,'
    Solution: Install pkg-config during jhbuild bootstap
  5. gnome-vfs compilation fails
    In file included from /usr/include/openssl/ssl.h:179,
    from gnome-vfs-ssl.c:41:
    /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
    In file included from /usr/include/openssl/ssl.h:179,
    from gnome-vfs-ssl.c:41:
    /usr/include/openssl/kssl.h:134: parse error before "krb5_enctype"
    /usr/include/openssl/kssl.h:136: parse error before '*' token
    /usr/include/openssl/kssl.h:137: parse error before '}' token
    /usr/include/openssl/kssl.h:149: parse error before "kssl_ctx_setstring"
    Solution: Soft link (ln -s) openssl.pc to <jhbuild-prefix>/lib/pkg-config
  6. Build fails in libgnomeui
    In libgnomeui
    failed to load "./stock_attach.png": Couldn't recognize the image file
    format for file './stock_attach.png'
    Solution: Try rebuild gdk-pixbuf, your loaders file is empty.