<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>(Resending this message with zipped up logfiles)</div><div><br></div>Yeah, that&#39;s how I figured it should work, but on my system it doesn&#39;t seem to be doing that.<div>
<br></div><div>I&#39;ve attached config.log, configure output, along with `which libgcrypt-config` output and `ls /opt/libgcrypt/bin`.</div><div><br></div><div>If you compare the configure parameters used and the output, you&#39;ll see that it finds the libraries in /opt/libgcrypt but uses /usr/bin/libgcrypt-config.</div>
<div><div><br></div><div>-Tim</div></div></span><br><br>
<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 9:55 AM, Florian Forster <span dir="ltr">&lt;<a href="mailto:octo@verplant.org">octo@verplant.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Tim,<br>
<div class="im"><br>
On Tue, Oct 06, 2009 at 08:57:18AM -0400, Tim Henrich wrote:<br>
&gt; Finally, I realized the -with-libgcrypt-prefix=[PFX] needed to point<br>
&gt; to the same place as --with-libgcrypt=[PREFIX].<br>
<br>
</div>yeah, unfortunately not all --with-foo options behave exactly the same,<br>
because some libraries provide foo-config scripts, some use pkg-config,<br>
some don&#39;t provide anything and many are simply weird.<br>
<br>
We usually do it like this if the library provides a foo-config script:<br>
<br>
  * If the argument to --with-foo is a file and executable, then this<br>
    executable is used as the foo-config script.<br>
<br>
  * If the argument is a directory and ${argument}/bin/foo-config exists<br>
    and is executable, then this is used as foo-config script.<br>
<br>
  * If the argument is a directory (but no appropriate script exists)<br>
    then the directories ${argument}/include and ${argument}/lib are<br>
    added to the CPP- and LD-flags.<br>
<br>
  * Else: The argument is ignored.<br>
<br>
This is how it&#39;s supposed to work. If it behaves different for you,<br>
we&#39;ll need the `config.log&#39; and ideally the output of `configure&#39; to<br>
debug this.<br>
<br>
Regards,<br>
—octo<br>
<font color="#888888">--<br>
Florian octo Forster<br>
Hacker in training<br>
GnuPG: 0x91523C3D<br>
<a href="http://verplant.org/" target="_blank">http://verplant.org/</a><br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFKy0xTHdggu3Q05IYRAumnAJ97nIST54R594SZrN0H8FhW15nRbwCfSTwh<br>
q8GItYvE85E4BPWFDEB0Y9Q=<br>
=SAyB<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br>