Problem building GnuCash 2.2.7 on Ubuntu 8.04 (Hardy Heron)

oef88 oef88 at TheFlynnConsultancy.co.za
Fri Nov 14 15:03:05 EST 2008


Hi,

(I am not sure which list this should go to - I am hoping someone on 
either list will assist me!)\


I was running Gnucash 2.2.4, but I decided to upgrade to GnuCash 2.2.7.
I have Ubuntu Hardy Heron (8.04).
I used be be quite technical - but have got rusty! So I need some help!

I downloaded the source file (gnucash-2.2.7.tar.bz2), and unpacked it 
successfully.

The procedure to build this version is to run the configure script, then 
run 'make', and finally 'make install'.

I ran the configure, and it took me a couple of hours to get all the 
packages that I needed, but now I can get a clean, full run of configure.
(it exits with a 0).

Then I do a make - it churns for about 3 minutes, and then I get the 
following messages.  (I have deleted the top 500 lines, that all worked 
successfully).

I have no idea what to do next - please can you help:

<500 lines that worked>
Making all in ui
make[5]: Entering directory 
`/home/oef/Downloads/gnucash-2.2.7/src/business/business-gnome/ui'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/oef/Downloads/gnucash-2.2.7/src/business/business-gnome/ui'
make[4]: Leaving directory 
`/home/oef/Downloads/gnucash-2.2.7/src/business/business-gnome'
Making all in business-reports
make[4]: Entering directory 
`/home/oef/Downloads/gnucash-2.2.7/src/business/business-reports'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/oef/Downloads/gnucash-2.2.7/src/business/business-reports'
make[4]: Entering directory `/home/oef/Downloads/gnucash-2.2.7/src/business'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src/business'
make[3]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src/business'
Making all in optional
make[3]: Entering directory `/home/oef/Downloads/gnucash-2.2.7/src/optional'
Making all in xsl
make[4]: Entering directory 
`/home/oef/Downloads/gnucash-2.2.7/src/optional/xsl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/oef/Downloads/gnucash-2.2.7/src/optional/xsl'
make[4]: Entering directory `/home/oef/Downloads/gnucash-2.2.7/src/optional'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src/optional'
make[3]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src/optional'
Making all in bin
make[3]: Entering directory `/home/oef/Downloads/gnucash-2.2.7/src/bin'
Making all in .
make[4]: Entering directory `/home/oef/Downloads/gnucash-2.2.7/src/bin'
/bin/bash ../../libtool --tag=CC   --mode=link gcc -I../.. -pthread 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   
-pthread -DORBIT2=1 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 
-I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 
-I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 
-I/usr/lib/gnome-vfs-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/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 
-I/usr/include/freetype2 -I/usr/include/atk-1.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 
-I/usr/include/pixman-1 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -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/freetype2 
-I/usr/include/libpng12 -I/usr/include/pixman-1  -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 gnucash-bin gnucash-bin.o 
-lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -pthread 
-Wl,--export-dynamic -L/usr/local/lib -lgthread-2.0 -lrt -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0   -pthread -L/usr/local/lib -lgnomeui-2 -lSM 
-lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt 
-lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 
-lpango-1.0 -lcairo -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 
-lgobject-2.0 -lglib-2.0   -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0   
../../lib/libqof/qof/libgnc-qof.la ../../src/engine/libgncmod-engine.la 
../../src/gnome/libgnc-gnome.la 
../../src/gnome-utils/libgncmod-gnome-utils.la 
../../src/app-utils/libgncmod-app-utils.la 
../../src/core-utils/libgnc-core-utils.la 
../../src/gnc-module/libgnc-module.la -lpopt -lm -lpthread  -lm
libtool: link: gcc -I../.. -pthread -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -pthread -DORBIT2=1 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 
-I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 
-I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-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/libxml2 
-I/usr/include/pango-1.0 -I/usr/include/gail-1.0 
-I/usr/include/freetype2 -I/usr/include/atk-1.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 
-I/usr/include/pixman-1 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -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/freetype2 
-I/usr/include/libpng12 -I/usr/include/pixman-1 -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 -Wl,--export-dynamic -pthread  -L/usr/local/lib 
../../lib/libqof/qof/.libs/libgnc-qof.so 
../../src/engine/.libs/libgncmod-engine.so 
../../src/gnome/.libs/libgnc-gnome.so 
/home/oef/Downloads/gnucash-2.2.7/src/register/ledger-core/.libs/libgncmod-ledger-core.so 
/home/oef/Downloads/gnucash-2.2.7/src/register/register-gnome/.libs/libgncmod-register-gnome.so 
/home/oef/Downloads/gnucash-2.2.7/src/register/register-core/.libs/libgncmod-register-core.so 
/home/oef/Downloads/gnucash-2.2.7/src/report/report-gnome/.libs/libgncmod-report-gnome.so 
/home/oef/Downloads/gnucash-2.2.7/src/report/report-system/.libs/libgncmod-report-system.so 
/home/oef/Downloads/gnucash-2.2.7/src/gnome-search/.libs/libgncmod-gnome-search.so 
/home/oef/Downloads/gnucash-2.2.7/src/gnome-utils/.libs/libgncmod-gnome-utils.so 
../../src/gnome-utils/.libs/libgncmod-gnome-utils.so 
/home/oef/Downloads/gnucash-2.2.7/src/backend/file/.libs/libgnc-backend-file-utils.so 
/home/oef/Downloads/gnucash-2.2.7/src/app-utils/.libs/libgncmod-app-utils.so 
-lgtkhtml-3.14 /usr/lib/libgnomeui-2.so -lSM -lICE 
/usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so 
/usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so 
/usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so 
/usr/lib/libORBit-2.so /usr/lib/libgmodule-2.0.so 
/usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so 
/usr/lib/libglib-2.0.so -lgoffice-0.6 -lgsf-1 /usr/lib/libglade-2.0.so 
/usr/lib/libart_lgpl_2.so /usr/lib/libxml2.so 
../../src/app-utils/.libs/libgncmod-app-utils.so 
/home/oef/Downloads/gnucash-2.2.7/src/engine/.libs/libgncmod-engine.so 
/home/oef/Downloads/gnucash-2.2.7/src/gnc-module/.libs/libgnc-module.so 
/home/oef/Downloads/gnucash-2.2.7/src/calculation/.libs/libgncmod-calculation.so 
/home/oef/Downloads/gnucash-2.2.7/lib/libqof/qof/.libs/libgnc-qof.so 
../../src/core-utils/.libs/libgnc-core-utils.so 
../../src/gnc-module/.libs/libgnc-module.so 
/home/oef/Downloads/gnucash-2.2.7/src/core-utils/.libs/libgnc-core-utils.so 
/usr/lib/libgconf-2.so /usr/lib/libgtk-x11-2.0.so 
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so 
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so 
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so 
-lz -lfontconfig -lpng12 -lXrender -lX11 -lpixman-1 /usr/lib/libguile.so 
/usr/lib/libguile-ltdl.so /usr/lib/libqthreads.so -lcrypt 
/usr/local/lib/libgthread-2.0.so -lrt /usr/local/lib/libgobject-2.0.so 
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so 
/usr/lib/libpopt.so -lpthread -lm -pthread -Wl,-rpath 
-Wl,/usr/local/lib/gnucash
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_poll'
/usr/local/lib/libgio-2.0.so.0: undefined reference to `g_set_error_literal'
collect2: ld returned 1 exit status
make[4]: *** [gnucash-bin] Error 1
make[4]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src/bin'
make[2]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7/src'
make[2]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oef/Downloads/gnucash-2.2.7'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


To me it looks like the linker can't find the 'g_poll' or 
'g_set_error_literal' routines.
Nor can I!

Can anyone help?

Thanks
Oweson




More information about the gnucash-user mailing list