[Libreoffice] FOO_GTK error when running autogen.sh

Terrell Prude' Jr. microman at cmosnetworks.com
Wed Nov 3 12:53:06 PDT 2010



Terrell Prude' Jr. wrote:
> OK, folks, I've got another issue, this time when running autogen.sh.
>
> Here's the command I'm running (OS is CentOS 5).
>
> ./autogen.sh --with-git --with-num-cpus=3 --without-junit --disable-kde4
>
> I get the following configure error:
>
> checking for autoconf... yes
> checking for flex... yes
> checking for bison... yes
> checking for ccache... no
> checking for distcc... no
> checking for widget sets... checking for FOO_GTK... no
> configure: error: Gtk+ library requirements were not met
>
> If I throw the "--disable-gtk" switch, autogen.sh is happy.  I 
> checked, and I'm seeing the gtk+-devel and gtk2-devel packages installed.
> BTW, this is a new box, a 64-bit Core 2 Duo running 64-bit CentOS 5.  
> Both the 32- and 64-bit versions of the gtk+ and gtk2 binaries and 
> "-devel" packages appear to be installed.  I made sure by yum 
> install'ing these packages, and they're showing up as already installed.
>
> Suggestions?
>
> --TP 

OK, I kept going just to see how the compilation would go on this box.  
Apparently LibreOffice also wants to build Mozilla/Seamonkey!  Hmm...

Well, make is quitting with a "GTK2 is needed to build mozilla" error.  
Here's a snippet of the checks leading up to it.

************ BEGIN SNIPPET ***************
checking which boost to use... internal
checking which vigra to use... internal
checking which odbc headers to use... internal
checking whether to enable build of Mozilla/Mozilla NSS-using 
components... yes
checking whether to build Mozilla addressbook connectivity... yes
checking whether to build XML Security support... yes
checking whether to build LDAP configuration backend... yes
checking which LDAP SDK to use... Netscape/Mozilla
checking which mozilla to use... internal
checking for toolkit mozilla should use... gtk2
checking whether to build Mozilla/SeaMonkey... yes
checking whether to build provided NSS module... yes
checking for mozilla sources... checking for 
a169ab152209200a7bad29a275cb0333-seamonkey-1.1.14.source.tar.gz... found
checking for MOZLIBREQ... no
configure: error: GTK2 is needed to build mozilla.
make: *** [stamp/build] Error 1
[terrell at tprude01 build]$
************ END SNIPPET ***************

And here is a list of the GTK packages I have installed on this box.  
Any hints as to what I'm missing?

************ BEGIN LIST ***************
[root at tprude01 ~]# rpm -qa | grep gtk | sort
authconfig-gtk-5.3.21-6.el5
gnome-python2-gtksourceview-2.16.0-3.el5
gtk+-1.2.10-56.el5
gtk+-1.2.10-56.el5
gtk2-2.10.4-20.el5
gtk2-2.10.4-20.el5
gtk2-devel-2.10.4-20.el5
gtk2-devel-2.10.4-20.el5
gtk2-engines-2.8.0-3.el5
gtk2-engines-2.8.0-3.el5
gtk+-devel-1.2.10-56.el5
gtk+-devel-1.2.10-56.el5
gtk-doc-1.7-1.fc6
gtkhtml2-2.11.0-3
gtkhtml3-3.16.3-1.el5
gtkhtml3-3.16.3-1.el5
gtksourceview-1.8.0-1.fc6
gtkspell-2.0.11-2.1
gtkspell-2.0.11-2.1
gtk-vnc-0.3.8-3.el5
gtk-vnc-python-0.3.8-3.el5
gtk-xfce-engine-2.4.2-1.el5.centos
libgtk-java-2.8.7-3.el5
libgtk-java-2.8.7-3.el5
libgtk-java-devel-2.8.7-3.el5
libgtk-java-devel-2.8.7-3.el5
pygtk2-2.10.1-12.el5
pygtk2-libglade-2.10.1-12.el5
usermode-gtk-1.88-3.el5.2
[root at tprude01 ~]#
************ END LIST ***************



More information about the LibreOffice mailing list