Problem building Gnucash 2.2.5 on Centos 5.1

Jeroen Coenders gnucash at universalgrid.nl
Fri Jul 11 05:28:40 EDT 2008


On Thursday 10 July 2008 11:39:07 pm Josh Sled wrote:
> Jeroen Coenders <gnucash at universalgrid.nl> writes:
> > I am trying to build Gnucash 2.2.5 on Centos 5.1.
> > I followed all steps in the wiki and everything goes fine until making
> > Gnucash.
> > It reports:
> > gcc -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0
> > -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
> > -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2
> > -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
> > -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
> > -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0
> > -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
> > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12
> > -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
> > -I../../lib/libqof/qof -I../../lib/libqof/qof -DPKGSYSCONFDIR=\"/usr!
> > /local/etc/gnucash\" -DPKGDATADIR=\"/usr/local/share/gnucash\"
> > -DGNC_HELPDIR=\"/usr/local/share\" -I../../src -I../../src
> > -I../../src/core-utils -I../../src/app-utils -I../../src/gnome-utils
> > -I../../src/engine -I../../src/gnome -I../../src/gnome-utils
> > -I../../src/gnc-module -Wdeclaration-after-statement -Wno-pointer-sign
> > -D_FORTIFY_SOURCE=2 -g -O2 -Wall -Wunused -Wmissing-prototypes
> > -Wmissing-declarations -Wno-unused -o .libs/gnucash-bin gnucash-bin.o
> > -pthread -pthread -Wl,--export-dynamic -pthread  -lguile -L/lib
> > -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lz
> > -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2
> > -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0
> > -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
> > -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> > ../../lib/libqof/qof/.libs/libgnc-qof.so
> > ../../src/engine/.libs/libgncmod-engine.so
> > ../../src/gnome/.libs/libgnc-gnome.so
> > ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
> > ../../src/app-utils/.libs/libgncmod-app-utils.so
> > ../../src/core-utils/.libs/libgnc-core-utils.so
> > ../../src/gnc-module/.libs/libgnc-module.so -lpopt -lpthread -lm 
> > -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib/gnucash
> > /usr/lib/libgoffice-0.6.so.6: undefined reference to `cairo_clip_extents'
> > collect2: ld returned 1 exit status
> > make[4]: *** [gnucash-bin] Error 1
> > make[4]: Leaving directory `/root/gnucash-2.2.5/src/bin'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/root/gnucash-2.2.5/src/bin'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/root/gnucash-2.2.5/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/gnucash-2.2.5'
> > make: *** [all] Error 2
> >
> > Any clue what is wrong?
>
> It looks like cario doesn't have a symbol that goffice-0.6 wants; what
> version of cairo are you buildings against `pkg-config --modversion cairo`?

It reported 1.2.4.

I seem to have solved it by manually upgrading cairo and pixman:
http://cairographics.org/releases/cairo-1.6.4.tar.gz
http://cairographics.org/releases/pixman-0.10.0.tar.gz

Make then works.

Thanks for the help.
Jeroen


More information about the gnucash-user mailing list