<br><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 7:11 PM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div><div class="h5"><div><span>On 08.06.2012, at 23:47, Douglas McPherson &lt;<a href="mailto:djm1329@san.rr.com" target="_blank">djm1329@san.rr.com</a>&gt; wrote:</span><br></div><div><br></div><div>
</div><blockquote type="cite"><div><div>Hi,</div><div><div><br>I&#39;m trying to load the latest version of FFI for Squeak. (I&#39;m using a recent Cog VM if it makes a difference)<br><br>1. Start with Squeak4.4-11925.image from <a href="http://ftp.squeakfoundation.org/" target="_blank">ftp.squeakfoundation.org</a>.<br>
2. Update the image (latest update 12083).<br>3. Add a Monticello repository &#39;<a href="http://www.squeaksource.com/MetacelloRepository&#39;" target="_blank">http://www.squeaksource.com/MetacelloRepository&#39;</a>.<br>
4. Select and load latest configuration of FFI (ConfigurationOfFFI-tbn.23).<br>5. In a workspace, do: <br>ConfigurationOfFFI load<br><br>Results in an MNU:<br>ExternalFunction class(Object)&gt;&gt;doesNotUnderstand: callingConventionModifierFor:<br>
<br>I&#39;m sure I&#39;ve got the process wrong somewhere. Should I be using a different repository? Maybe I&#39;m trying something more appropriate to Pharo? Clearly, I&#39;m confused. Help appreciated :)</div></div></div>
</blockquote><div><br></div></div></div>In Squeak we normally use Installer:<br><br>
(Installer repository: &#39;<a href="http://source.squeak.org/FFI&#39;" target="_blank">http://source.squeak.org/FFI&#39;</a>)<br>
    install: &#39;FFI-Pools&#39;;<br>
    install: &#39;FFI-Kernel&#39;;<br>
    install: &#39;FFI-Tests&#39;.<br></div></blockquote><div><br></div><div>Off topic: I have been meaning to say something about this so I thought this would be a good opportunity. If you run this code you will notice that FFI-Pools gets &quot;loaded&quot; three times, and FFI-Kernel twice, because install: adds the package name to the packages collection and then installs all the packages in packages.</div>
<div><br></div><div>(Installer repository: &#39;<a href="http://source.squeak.org/FFI&#39;" target="_blank">http://source.squeak.org/FFI&#39;</a>)<br>addPackage: &#39;FFI-Pools&#39;;<br>addPackage: &#39;FFI-Kernel&#39;;<br>
addPackage: &#39;FFI-Tests&#39;;</div><div>install.
</div><div><br></div><div>avoids this redundancy (and probably cuts down on the repository traffic a bit).</div><div><br></div><div>John</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF">
<div><br></div><div>(IIRC this is also in the &quot;how to extend the system&quot; workspace in squeak&#39;s menu)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Bert -</div></font></span></div><br>
<br>
<br></blockquote></div><br>