GtkHTML vs WebKit on Windows for GnuCash 2.4.0

Phil Longstaff plongstaff at rogers.com
Wed Mar 3 08:15:11 EST 2010


On Wed, 2010-03-03 at 19:23 +0900, Yasuaki Taniguchi/谷口康明 wrote:
> Hello,
> 
> 2010/3/3 Derek Atkins <warlord at mit.edu>:
> > I believe the hope is to get Webkit for 2.4 on all platforms.
> 
> I see, but when I start compiling GnuCash on Linux with
> --with-html-engine=webkit,
> an linker error occurs.
> 
> My environment is Ubuntu 9.04, and the version of webkit seems to be
> 1.0.1 provided by Ubuntu.
> http://packages.ubuntu.com/search?searchon=names&keywords=libwebkit
> 
> What is the minimal version of webkit required in order to compile GnuCash?
> 
> === linker error ===========
> libtool: link: gcc -Werror -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -g -Wall -Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wno-unused -g -o
> .libs/gnucash-bin gnucash-bin.o -Wl,-Bsymbolic-functions -pthread
> -Wl,--export-dynamic -pthread
> ../../src/libqof/qof/.libs/libgnc-qof.so
> ../../src/engine/.libs/libgncmod-engine.so
> ../../src/gnome/.libs/libgnc-gnome.so
> /home/yasuaki/devel/svn/build/src/register/ledger-core/.libs/libgncmod-ledger-core.so
> /home/yasuaki/devel/svn/build/src/register/register-gnome/.libs/libgncmod-register-gnome.so
> /home/yasuaki/devel/svn/build/src/register/register-core/.libs/libgncmod-register-core.so
> /home/yasuaki/devel/svn/build/src/report/report-gnome/.libs/libgncmod-report-gnome.so
> /home/yasuaki/devel/svn/build/src/report/report-system/.libs/libgncmod-report-system.so
> /home/yasuaki/devel/svn/build/src/gnome-search/.libs/libgncmod-gnome-search.so
> /home/yasuaki/devel/svn/build/src/html/.libs/libgncmod-html.so
> /home/yasuaki/devel/svn/build/src/gnome-utils/.libs/libgncmod-gnome-utils.so
> -lgoffice-0.6 -lgsf-1 -lwebkit-1.0
> ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
> /home/yasuaki/devel/svn/build/src/backend/xml/.libs/libgnc-backend-xml-utils.so
> /home/yasuaki/devel/svn/build/src/app-utils/.libs/libgncmod-app-utils.so
> /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/libart_lgpl_2.so /usr/lib/libglade-2.0.so /usr/lib/libxml2.so
> -lX11 ../../src/app-utils/.libs/libgncmod-app-utils.so
> /home/yasuaki/devel/svn/build/src/engine/.libs/libgncmod-engine.so
> /home/yasuaki/devel/svn/build/src/gnc-module/.libs/libgnc-module.so
> /home/yasuaki/devel/svn/build/src/calculation/.libs/libgncmod-calculation.so
> /home/yasuaki/devel/svn/build/src/libqof/qof/.libs/libgnc-qof.so
> /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so
> /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so
> /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so
> /usr/lib/libgio-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so
> /usr/lib/libfreetype.so -lz -lfontconfig
> ../../src/core-utils/.libs/libgnc-core-utils.so
> ../../src/gnc-module/.libs/libgnc-module.so
> /home/yasuaki/devel/svn/build/src/core-utils/.libs/libgnc-core-utils.so
> /usr/lib/libgconf-2.so /usr/lib/libgthread-2.0.so -lrt
> /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so
> /usr/lib/libglib-2.0.so /usr/lib/libguile.so /usr/lib/libguile-ltdl.so
> -ldl /usr/lib/libqthreads.so -lcrypt /usr/lib/libpopt.so -lpthread -lm
> -pthread -Wl,-rpath -Wl,/home/yasuaki/gnucash-dev/lib -Wl,-rpath
> -Wl,/home/yasuaki/gnucash-dev/lib/gnucash
> /home/yasuaki/devel/svn/build/src/html/.libs/libgncmod-html.so:
> undefined reference to `webkit_web_frame_print_full'

Sigh.  This is the danger of trying to use software which is under
development, where one distro has a pre-released version with features
that another pre-released version doesn't.  I'll commit a fix soon.

Phil



More information about the gnucash-devel mailing list