<br><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 7:11 PM, Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>></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 <<a href="mailto:djm1329@san.rr.com" target="_blank">djm1329@san.rr.com</a>> wrote:</span><br></div><div><br></div><div>
</div><blockquote type="cite"><div><div>Hi,</div><div><div><br>I'm trying to load the latest version of FFI for Squeak. (I'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 '<a href="http://www.squeaksource.com/MetacelloRepository'" target="_blank">http://www.squeaksource.com/MetacelloRepository'</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)>>doesNotUnderstand: callingConventionModifierFor:<br>
<br>I'm sure I've got the process wrong somewhere. Should I be using a different repository? Maybe I'm trying something more appropriate to Pharo? Clearly, I'm confused. Help appreciated :)</div></div></div>
</blockquote><div><br></div></div></div>In Squeak we normally use Installer:<br><br>
(Installer repository: '<a href="http://source.squeak.org/FFI'" target="_blank">http://source.squeak.org/FFI'</a>)<br>
install: 'FFI-Pools';<br>
install: 'FFI-Kernel';<br>
install: 'FFI-Tests'.<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 "loaded" 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: '<a href="http://source.squeak.org/FFI'" target="_blank">http://source.squeak.org/FFI'</a>)<br>addPackage: 'FFI-Pools';<br>addPackage: 'FFI-Kernel';<br>
addPackage: 'FFI-Tests';</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 "how to extend the system" workspace in squeak's menu)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Bert -</div></font></span></div><br>
<br>
<br></blockquote></div><br>