<p>Okay a crazy question, do you have pkgconfig installed then?</p>
<p>K.r.<br>
René Kj.</p>
<div class="gmail_quote">On Nov 3, 2010 9:28 PM, "Terrell Prude&apos; Jr." <<a href="mailto:microman@cmosnetworks.com">microman@cmosnetworks.com</a>> wrote:<br type="attribution">> Wols Lists wrote:<br>
>> On 03/11/10 19:44, Terrell Prude' Jr. wrote:<br>>> <br>>>> OK, folks, I've got another issue, this time when running autogen.sh.<br>>>><br>>>> Here's the command I'm running (OS is CentOS 5).<br>
>>><br>>>> ./autogen.sh --with-git --with-num-cpus=3 --without-junit --disable-kde4<br>>>><br>>>> I get the following configure error:<br>>>><br>>>> checking for autoconf... yes<br>
>>> checking for flex... yes<br>>>> checking for bison... yes<br>>>> checking for ccache... no<br>>>> checking for distcc... no<br>>>> checking for widget sets... checking for FOO_GTK... no<br>
>>> configure: error: Gtk+ library requirements were not met<br>>>><br>>>> If I throw the "--disable-gtk" switch, autogen.sh is happy. I<br>>>> checked, and I'm seeing the gtk+-devel and gtk2-devel packages installed.<br>
>>> BTW, this is a new box, a 64-bit Core 2 Duo running 64-bit CentOS 5. <br>>>> Both the 32- and 64-bit versions of the gtk+ and gtk2 binaries and<br>>>> "-devel" packages appear to be installed. I made sure by yum<br>
>>> install'ing these packages, and they're showing up as already installed.<br>>>><br>>>> Suggestions?<br>>>><br>>>> <br>>> First thing. Have you got a file gtk+-2.0.pc in /usr/lib/pkgconfig? If<br>
>> not, any ideas why not? If a similar file, what's that called?<br>>><br>>> <a href="http://configure.in">configure.in</a> is using pkgconfig to see what libraries you have on your<br>>> system, and that's the library it's looking for. If it can't find it,<br>
>> that's why it's moaning that gtk isn't present.<br>>><br>>> Let me know more, and I'll dig deeper (I'm trying to get the Qt version<br>>> of this test working correctly :-)<br>
>><br>>> Cheers,<br>>> Wol<br>> Just checked. Looks like the file is there. Here's an ls -l, and the <br>> contents of the file.<br>> <br>> [root@tprude01 pkgconfig]# ls -l gtk*<br>> -rw-r--r-- 1 root root 322 May 24 2008 gtk+-2.0.pc<br>
> -rw-r--r-- 1 root root 373 Mar 14 2007 gtk2-java.pc<br>> -rw-r--r-- 1 root root 156 Mar 14 2007 gtk-engines-2.pc<br>> -rw-r--r-- 1 root root 171 Mar 14 2007 gtk+.pc<br>> -rw-r--r-- 1 root root 294 May 24 2008 gtk+-unix-print-2.0.pc<br>
> -rw-r--r-- 1 root root 322 May 24 2008 gtk+-x11-2.0.pc<br>> [root@tprude01 pkgconfig]# pwd<br>> /usr/lib/pkgconfig<br>> [root@tprude01 pkgconfig]# more gtk+-2.0.pc<br>> prefix=/usr<br>> exec_prefix=/usr<br>
> libdir=/usr/lib<br>> includedir=/usr/include<br>> target=x11<br>> <br>> gtk_binary_version=2.10.0<br>> gtk_host=i686-redhat-linux-gnu<br>> <br>> Name: GTK+<br>> Description: GIMP Tool Kit (${target} target)<br>
> Version: 2.10.4<br>> Requires: gdk-${target}-2.0 atk cairo<br>> Libs: -L${libdir} -lgtk-${target}-2.0<br>> Cflags: -I${includedir}/gtk-2.0<br>> [root@tprude01 pkgconfig]# <br>> <br>> _______________________________________________<br>
> LibreOffice mailing list<br>> <a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div>