[Libreoffice] FOO_GTK error when running autogen.sh
René Kjellerup
rk.katana.steel at gmail.com
Wed Nov 3 15:22:06 PDT 2010
Okay a crazy question, do you have pkgconfig installed then?
K.r.
René Kj.
On Nov 3, 2010 9:28 PM, "Terrell Prude' Jr." <microman at cmosnetworks.com>
wrote:
> Wols Lists wrote:
>> On 03/11/10 19:44, 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?
>>>
>>>
>> First thing. Have you got a file gtk+-2.0.pc in /usr/lib/pkgconfig? If
>> not, any ideas why not? If a similar file, what's that called?
>>
>> configure.in is using pkgconfig to see what libraries you have on your
>> system, and that's the library it's looking for. If it can't find it,
>> that's why it's moaning that gtk isn't present.
>>
>> Let me know more, and I'll dig deeper (I'm trying to get the Qt version
>> of this test working correctly :-)
>>
>> Cheers,
>> Wol
> Just checked. Looks like the file is there. Here's an ls -l, and the
> contents of the file.
>
> [root at tprude01 pkgconfig]# ls -l gtk*
> -rw-r--r-- 1 root root 322 May 24 2008 gtk+-2.0.pc
> -rw-r--r-- 1 root root 373 Mar 14 2007 gtk2-java.pc
> -rw-r--r-- 1 root root 156 Mar 14 2007 gtk-engines-2.pc
> -rw-r--r-- 1 root root 171 Mar 14 2007 gtk+.pc
> -rw-r--r-- 1 root root 294 May 24 2008 gtk+-unix-print-2.0.pc
> -rw-r--r-- 1 root root 322 May 24 2008 gtk+-x11-2.0.pc
> [root at tprude01 pkgconfig]# pwd
> /usr/lib/pkgconfig
> [root at tprude01 pkgconfig]# more gtk+-2.0.pc
> prefix=/usr
> exec_prefix=/usr
> libdir=/usr/lib
> includedir=/usr/include
> target=x11
>
> gtk_binary_version=2.10.0
> gtk_host=i686-redhat-linux-gnu
>
> Name: GTK+
> Description: GIMP Tool Kit (${target} target)
> Version: 2.10.4
> Requires: gdk-${target}-2.0 atk cairo
> Libs: -L${libdir} -lgtk-${target}-2.0
> Cflags: -I${includedir}/gtk-2.0
> [root at tprude01 pkgconfig]#
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101103/ea708c5b/attachment.htm>
More information about the LibreOffice
mailing list