Absolutely. Patches always welcome.<div><br></div><div>Linux is still my 3rd-most used OS, so I may not be the best one to invent new functionality that&#39;s Linux-specific...<br><br></div><div>If the full path is available in ldd output, then the regex should match it and avoid a future search. Otherwise, it should match just the library name and then search for it in the (optional) paths provided as args to get_prerequisites.</div>
<div><br></div><div>The &quot;system&quot; detection is kind of fuzzily defined, if you will. On the Mac, stuff that&#39;s in &quot;/System&quot; or &quot;/usr/lib&quot; is considered a &quot;system&quot; library and is expected to be available on any other Mac where you might install/run your application.</div>
<div><br></div><div>The basic task is to identify prerequisite libraries that you would need to copy to make your app work on another machine. If the libraries are going to be available on another machine with the same path then they should be considered &quot;system&quot; libraries for get_prerequisites purposes.</div>
<div><br></div><div>I will wait to hear a little more from you before I do any commits to CVS HEAD... :-)</div><div><br></div><div><br></div><div>Thanks for the attention on this,</div><div>David</div><div><br></div><div>
<br><div class="gmail_quote">On Fri, Oct 24, 2008 at 9:59 AM, Mike Arthur <span dir="ltr">&lt;<a href="mailto:mike@mikearthur.co.uk">mike@mikearthur.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Friday 24 October 2008 14:49:49 David Cole wrote:<br>
&gt; Ah ha. Thanks for that. I will commit this today to CVS HEAD...<br>
</div>I&#39;m not sure if this works fully yet though. Should the regexp match just the<br>
library name or the full path?<br>
<br>
I&#39;m not quite sure how I would be meant to use GetPrerequisites to install<br>
some libraries. Also, the &quot;system&quot; detection seems to not work on Linux<br>
either.<br>
<br>
Presumably you&#39;d welcome a patch on this stuff.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">Cheers,<br>
Mike Arthur<br>
<a href="http://mikearthur.co.uk/" target="_blank">http://mikearthur.co.uk/</a><br>
</div></div></blockquote></div><br></div>