You are not logged in.

#1 2008-07-01 03:09:53

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

[RESOLVED] gnomesword...configure: error: needs a gtk 2 gecko build

I am trying to update gnomesword in the aur to 2.3.4, but every time I try to compile it, I get an error.  I am just doing a "$ ./configure" and here are the last 10 lines:

checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for GTKHTML... no
checking for GTKHTML... no
checking for GTKHTML... yes
checking for gawk... (cached) gawk
checking which gecko to use... libxul
checking for compiler -fshort-wchar option... yes
checking whether to enable C++ RTTI... no
checking whether we have a gtk 2 gecko build... configure: error: This program needs a gtk 2 gecko build

I have a bad feeling that I am missing a dependency.  Any help or suggestions would be greatly appreciated.  Thanks in advance for the help.

Last edited by TripleE (2008-07-01 20:51:16)


HP Chromebook 14

Offline

#2 2008-07-01 20:46:42

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

Re: [RESOLVED] gnomesword...configure: error: needs a gtk 2 gecko build

Emailed the gnomesword-users mailing list, and they suggested to use "$ ./configure --enable-gtkhtml".  It worked for me, and I uploaded the PKGBUILD to AUR.  Please let me know if you have any problems.


HP Chromebook 14

Offline

#3 2008-11-25 20:51:44

tom4jean
Member
From: Buffalo, NY USA
Registered: 2008-11-23
Posts: 3

Re: [RESOLVED] gnomesword...configure: error: needs a gtk 2 gecko build

Greetings,

I tried "$ ./configure --enable-gtkhtml"  and all seemed to go well ending in the following message;

Summary of GnomeSword configuration:
mozilla:                  disabled
install directory:      /usr/local/bin
gtk-unix-print:          enabled

So I then issued "make" and got the following error at the end;

Making all in editor
make[3]: Entering directory `/home/tom4jean/Desktop/gnomesword-2.4.1/src/editor'
make[3]: *** No rule to make target `/Editor.idl', needed by `Editor-common.c'.  Stop.
make[3]: Leaving directory `/home/tom4jean/Desktop/gnomesword-2.4.1/src/editor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tom4jean/Desktop/gnomesword-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom4jean/Desktop/gnomesword-2.4.1'
make: *** [all] Error 2

So, I tried "$ ./configure --enable-gtkhtml" again and ran "make check"
and I got the following error;

Making check in po
make[1]: Entering directory `/home/tom4jean/Desktop/gnomesword-2.4.1/po'
make[1]: *** No rule to make target `../ui/editor.xml', needed by `gnomesword.pot'.  Stop.
make[1]: Leaving directory `/home/tom4jean/Desktop/gnomesword-2.4.1/po'
make: *** [check-recursive] Error 1
[root@myhost gnomesword-2.4.1]#

So finally I decied to try "make install" and got;

Making install in editor
make[2]: Entering directory `/home/tom4jean/Desktop/gnomesword-2.4.1/src/editor'
make[2]: *** No rule to make target `/Editor.idl', needed by `Editor-common.c'.  Stop.
make[2]: Leaving directory `/home/tom4jean/Desktop/gnomesword-2.4.1/src/editor'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/tom4jean/Desktop/gnomesword-2.4.1/src'
make: *** [install-recursive] Error 1

The same error message I got after "make".

Any Ideas on how to fix it?

I am new to linux in the past month and just got Archlinux up and running a few days ago so this is all new to me. I am really enjoying linux, and especially Archlinux! after trying Ubuntu, but please keep that in mind as you reply. big_smile
I'm reading, reading, and reading again to figure out how to do all this.
But I would really like to get GnomeSword running if I can.
Thanks and God Bless,
Tom


John 8:12
12 Then spake Jesus again unto them, saying, I am the light of the world: he that followeth me shall not walk in darkness, but shall have the light of life.

Offline

#4 2009-05-20 11:25:04

edyeeh
Member
Registered: 2009-05-20
Posts: 6

Re: [RESOLVED] gnomesword...configure: error: needs a gtk 2 gecko build

I was searching for the same problem when I found this thread.

If you still need a solution (since its already an old post), I found my solution by installing the following packages.


libgtkhtml3.14-dev
libgtkhtml-editor-dev

Offline

Board footer

Powered by FluxBB