Gentoo 10.0

GNOME 2.28

Build requirements

  • gobject-introspection requires dev-libs/libffi

Problems

  • Problem: python cannot find site.py
    • Solution: Add these lines to you .jhbuildrc, changing the Python version where appropriate
      addpath('PYTHONPATH', '/usr/lib/python2.6/site-packages')
      addpath('PYTHONPATH', os.path.join(prefix, 'lib/python2.6/site-packages'))
  • Problem: gtk-doc can't find xml2po
    • Solution: add your jhbuild prefix (defined on .jhbuildrc) in your PATH (i.e: export=$PATH:/opt/gnome2/bin) and also to your .jhbuildrc

      addpath('PYTHONPATH', '/usr/lib/python2.6/site-packages')
      addpath('PYTHONPATH', os.path.join(prefix, 'lib/python2.6/site-packages'))
      addpath('PYTHONPATH', '/opt/gnome2/bin')
  • Problem: gnome-doc-utils fails at configure stage because of m4 or other automake black-voodoo things
    • jhbuild bootstrap --ignore-system is your friend (seems it doesn't like system's automake versions)

Gentoo 2005.1

Building GNOME 2.12

Build Requirements

Needs improvement. From a Gentoo 2005.1 system with gnome 2.12.1:

  • Evolution Data Server needed: openldap, at least mozilla versiob 1.7.12 , mit-krb5.
  • vte needed at gettext version 0.14.5.
  • lynx
  • docbook-sgml-utils (USE="tetex")
  • doxygen
  • pyrex

Usual problems

  • Running jhbuild sanitycheck complained about missing db2html though docbook-sgml-utils is installed. The solution is set a link with ln -s /usr/bin/docbook2html /usr/bin/db2html.

  • The first module (libxml2) fails with
    ...
    aclocal: couldn't open directory `/usr/local/share/aclocal': No such file or directory
    ...
    ./configure: line 1338: syntax error near unexpected token `config.h'
    ./configure: line 1338: `AM_CONFIG_HEADER(config.h)'
    Now type 'make' to compile libxml.
    *** Building libxml2 *** [1/121]
    make -j2
    make: *** No targets specified and no makefile found.  Stop.
    *** error during stage build of libxml2: could not build module *** [1/121]
    • The solution again is to set a link: ln -s /usr/share/aclocal /usr/local/share/

  • Problem: Building fontconfig fails with "No way to convert HTML to text found."
  • Problem: Building fontconfig fails with "docbook2pdf: command not found."
    • Solution: USE="tetex" emerge docbook-sgml-utils.

  • Problem: Building howl fails with:
    configure: error:
    *** [Gentoo] sanity check failed! ***
    *** libtool.m4 and ltmain.sh have a version mismatch! ***
    *** (libtool.m4 = 1.5.22, ltmain.sh = 1.4.2) ***
    Please run:
      libtoolize --copy --force
    if appropriate, please contact the maintainer of this
    package (or your distribution) for help.
    make: *** [config.status] Error 1
    • Solution:
      cd ~/lab/cvs/gnome2/howl-1.0.0/
      libtoolize --copy --force
      aclocal
      automake
  • Problem: Building dbus python bindings fails with
    pyrexc ./dbus_bindings.pyx -I. -o ./dbus_bindings.c
    Traceback (most recent call last):
      File "/usr/bin/pyrexc", line 7, in ?
        from Pyrex.Compiler.Main import main
      File "/usr/lib/python2.4/site-packages/Pyrex/Compiler/Main.py", line 13, in ?
        from Scanning import PyrexScanner
      File "/usr/lib/python2.4/site-packages/Pyrex/Compiler/Scanning.py", line 6, in ?
        import cPickle as pickle
    ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined symbol: PyUnicodeUCS4_AsUTF8String
    make[3]: *** [dbus_bindings.c] Error 1
    make[3]: Leaving directory `/home/eddy/lab/cvs/gnome2/dbus/python'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/eddy/lab/cvs/gnome2/dbus/python'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/eddy/lab/cvs/gnome2/dbus'
    make: *** [all] Error 2
    • Possibly related with bug #311563.

    • Solution: More of a workaround. This doesn't scale...
      # open a new shell outside jhbuild's environment
      cd ~/lab/cvs/gnome2/dbus/python
      pyrexc dbus_bindings.pyx -I. -o dbus_bindings.c
      pyrexc dbus_glib_bindings.pyx -I. -o dbus_glib_bindings.c
    • Solution: Works for me every time. Add these lines to you .jhbuildrc
      os.environ['PYTHONHOME'] = prefix
      addpath('PYTHONPATH', '/usr/lib/python2.4/site-packages')
      addpath('PYTHONPATH', os.path.join(prefix, 'lib/python2.4/site-packages'))
  • Problem: Building libxklavier fails with "/bin/sh: doxygen: command not found".
    • Solution: emerge doxygen

  • Problem: vte fails with:
    libpangocairo-1.0.so: undefined reference to `g_intern_static_string'
    libpangocairo-1.0.so: undefined reference to `g_slice_alloc'
    libpangocairo-1.0.so: undefined reference to `g_slice_alloc0'
    libpangocairo-1.0.so: undefined reference to `g_slice_free1'
  • Problem: ekiga requires pwlib 1.11.0, portage only has 1.8.7

Jhbuildrc file

With a 2005-11-24 jhbuild I was a able to compile a debug version of gnome 2.13.2 from 2005-11-24 to 2005-11-25. It was done on a Gentoo 2005.1 with gnome 2.12.1 system.

gentoo-gnome-2.13.2-jhbuildrc.txt


CategoryJhbuild

Projects/Jhbuild/Dependencies/Gentoo (last edited 2013-11-25 16:33:29 by WilliamJonMcCann)