Is gtkhtml required to build gnucash?

Colin Law clanlaw at googlemail.com
Sun Sep 11 11:34:18 EDT 2011


On 11 September 2011 14:41, John Ralls <jralls at ceridwen.us> wrote:
>
> On Sep 11, 2011, at 6:26 AM, Colin Law wrote:
>
>> I am attempting to build the latest 2.4 version from the 2.4 git
>> branch, on Ubuntu Oneiric Beta (11.10).  When I run ./configure I get:
>>
>> checking the html engine... gtkhtml
>> checking for libgtkhtml-3.14... no
>> configure: error: cannot find GtkHTML >= 3.14
>>
>> I can get around this by installing libgtkhtml3.14-19,
>> libgtkhtml3.14-dev and libenchant-dev and then am able to build
>> successfully.
>> I thought I saw that libgtkhtml is no longer used.  Am I mistaken?
>>
>
> We left it as the default in 2.4 because last December, when we released 2.4.0, we weren't confident that we had the WebKit html interface stable. You can build in WebKit support instead of GtkHTML by passing --with-html-engine=webkit to configure.

OK, I did that and got through ./configure ok.  (using ./configure
--with-html-engine=webkit --enable-compile-warnings --enable-dbi)

but then running make I get

make[4]: Entering directory `/home/colinl/gnucash_git/src/bin'
/bin/bash ../../libtool --tag=CC   --mode=link gcc  -Werror
-Wdeclaration-after-statement -g -O2 -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations  -Wno-unused   -o gnucash
gnucash-bin.o  ../../src/report/report-gnome/libgncmod-report-gnome.la
../../src/gnome/libgnc-gnome.la
../../src/gnome-utils/libgncmod-gnome-utils.la
../../src/app-utils/libgncmod-app-utils.la
../../src/engine/libgncmod-engine.la
../../src/gnc-module/libgnc-module.la
../../src/core-utils/libgnc-core-utils.la
../../src/libqof/qof/libgnc-qof.la -pthread  -lguile -lltdl
-Wl,-Bsymbolic-functions -lgmp -lcrypt -lm -lltdl -pthread
-Wl,--export-dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt
-lglib-2.0   -pthread -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 -lgio-2.0
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0
-lfreetype -lfontconfig -lgconf-2 -lgmodule-2.0 -lgobject-2.0
-lgthread-2.0 -lrt -lglib-2.0   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0
-lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lm -lpthread  -lm
libtool: link: gcc -Werror -Wdeclaration-after-statement -g -O2 -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o
.libs/gnucash gnucash-bin.o -pthread -Wl,-Bsymbolic-functions -pthread
-Wl,--export-dynamic -pthread -pthread
../../src/report/report-gnome/.libs/libgncmod-report-gnome.so
../../src/gnome/.libs/libgnc-gnome.so
../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
../../src/app-utils/.libs/libgncmod-app-utils.so
../../src/engine/.libs/libgncmod-engine.so
../../src/gnc-module/.libs/libgnc-module.so
../../src/core-utils/.libs/libgnc-core-utils.so
../../src/libqof/qof/.libs/libgnc-qof.so -lguile /usr/lib/libgmp.so
-lcrypt /usr/lib/libltdl.so -lgnomeui-2 -lSM -lICE
/usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so -lgnomecanvas-2
/usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libbonobo-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so
/usr/lib/libart_lgpl_2.so /usr/lib/libgconf-2.so
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so
/usr/lib/i386-linux-gnu/libatk-1.0.so
/usr/lib/i386-linux-gnu/libgio-2.0.so
/usr/lib/i386-linux-gnu/libpangoft2-1.0.so
/usr/lib/i386-linux-gnu/libpangocairo-1.0.so -lgdk_pixbuf-2.0
/usr/lib/i386-linux-gnu/libcairo.so
/usr/lib/i386-linux-gnu/libpango-1.0.so
/usr/lib/i386-linux-gnu/libfreetype.so -lfontconfig
/usr/lib/i386-linux-gnu/libgobject-2.0.so
/usr/lib/i386-linux-gnu/libgmodule-2.0.so
/usr/lib/i386-linux-gnu/libgthread-2.0.so -lrt
/usr/lib/i386-linux-gnu/libglib-2.0.so -lpthread -lm -pthread
-Wl,-rpath -Wl,/usr/bin/gnucash2.4/lib/gnucash -Wl,-rpath
-Wl,/usr/bin/gnucash2.4/lib
/usr/bin/ld: warning: libgtkhtml-3.14.so.19, needed by
/usr/bin/gnucash2.4/lib/gnucash/libgncmod-html.so, not found (try
using -rpath or -rpath-link)
/usr/bin/gnucash2.4/lib/gnucash/libgncmod-html.so: undefined reference
to `gtk_html_write'

Colin

-- 
gplus.to/clanlaw



More information about the gnucash-user mailing list