<div class="gmail_quote">On Fri, Apr 2, 2010 at 6:38 PM, Samium Gromoff <span dir="ltr"><_<a href="mailto:deepfire@feelingofgreen.ru">deepfire@feelingofgreen.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have eventually figured out that one way to make ECL's<br>
configure to pick up system's boehmgc is to install the latter<br>
into /usr.<br></blockquote><div><br></div><div>Is it really so obscure? I mean, this is the natural convention for searching paths in autoconf'ed software.</div><div><br></div><div>More precisely, if your software depends on a library, say gmp or gc or foo, this library has to be installed somewhere to be found by the software.</div>
<div><br></div><div>The search path of the compiler and linker and indicated by the environment variables CPPFLAGS and LDFLAGS, so for instance in NetBSD, where the Boehm-Weiser garbage collector is installed using /usr/pkg as a prefix, then one has to configure using</div>
<div><br></div><div>./configure {whatever-flags-you-wish} CPPFLAGS=-I/usr/pkg/include LDFLAGS=-L/usr/pkg/lib</div><div><br></div><div>This is like that for all software that relies on autoconf.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I looked at configure's --help output, and it has a section about<br>
--x-libraries and --x-includes. This didn't work for X being 'boehm'.<br>Neither was there a dedicated --with-boehm-prefix, like there<br>
was for gmp.<br></blockquote><div><br></div><div>The fact that there is one option for gmp is merely accidental. The recommended way of looking for libraries is the previous one.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In the end, I think this deserves to be mentioned in a somewhat<br>
more obvious place.<br>
Or maybe I missed something?<br></blockquote><div><br></div><div>It is so standard for this kind of software that I thought it was obvious. I will add a line in the "Autoconf based configuration"</div><div><br>
</div><div>And sorry for the inconvenience but indeed it is more than one year and the developers of the garbage collector did not bother producing a "release".</div><div><br></div><div>Juanjo </div></div><br>-- <br>
Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>