Hi thanks for you help.<br><br>I have version 0.23 for pkg-config<br><br>When I run the pkg-config --print-errors --cflags xt .... I get:<br><br>Package xt was not found in the pkg-config search path.<br>Perhaps you should add the directory containing &#39;xt.pc&#39; <br>
to the PKG_CONFIG_PATH environment variable<br>No package &#39;xt&#39; found.<br><br>I added the path:<br><br>export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig<br><br>and still get the same error message. If I run:<br>
<br>pkg-config --cflags glib-2.0<br><br>I get:<br><br>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include<br><br>I checked /usr/share/aclocal/ for the pkg.m4 file but It is not there.<br><br>So I reinstalled the pkg-config-0.23. <br>
./configure --prefix=/usr<br>make<br>make install<br><br>then I: <br>autoreconf the libXt-1.0.8<br>this thime no warnings were diplayed<br>I ran:<br>./configure --prefix=/usr<br>make<br>make install<br><br>now when I run:<br>
pkg-config --modversion xt<br><br>I get:<br>1.0.8<br><br>Thanks for your help.<br><br>Regards<br><br><br><div class="gmail_quote">On Tue, Aug 24, 2010 at 8:47 AM, Gaetan Nadon <span dir="ltr">&lt;<a href="mailto:memsize@videotron.ca">memsize@videotron.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
  

<div><div class="im">
On Mon, 2010-08-23 at 17:59 -0500, Pedro Parra wrote:<br>
<blockquote type="CITE">
    It seems as if the pkgconfig packages is not installed but I believe it is installed, since I can type pkg-config --help and I get the help menu. I can see all the .pc files from different libraries under /usr/lib/pkgconfig<br>

    <br>
</blockquote></div>
Perhaps you have an old version or a damaged installation. I have version 0.22 but version 0.18.1 should do.<br>
The macros are in /usr/share/aclocal/pkg.m4 on a Debian Linux distro.<br>
All X packages would fail they all use those statements.<br>
<br>
You should be able to display the C flags:
<blockquote>
<pre>pkg-config --print-errors --cflags xt
</pre>
</blockquote>
<br>
See <a href="http://wiki.x.org/wiki/ModularDevelopersGuide#RequiredTools" target="_blank">http://wiki.x.org/wiki/ModularDevelopersGuide#RequiredTools</a> for toolchain requirements.<br>
<br>
<br>
</div>

</blockquote></div><br>