[squeak-dev] help loading latest Squeak FFI

Bert Freudenberg bert at freudenbergs.de
Sat Jun 9 10:47:24 UTC 2012


On 2012-06-09, at 01:11, Bert Freudenberg wrote:

> On 08.06.2012, at 23:47, Douglas McPherson <djm1329 at san.rr.com> wrote:
> 
>> Hi,
>> 
>> I'm trying to load the latest version of FFI for Squeak. (I'm using a recent Cog VM if it makes a difference)
>> 
>> 1. Start with Squeak4.4-11925.image from ftp.squeakfoundation.org.
>> 2. Update the image (latest update 12083).
>> 3. Add a Monticello repository 'http://www.squeaksource.com/MetacelloRepository'.
>> 4. Select and load latest configuration of FFI (ConfigurationOfFFI-tbn.23).
>> 5. In a workspace, do: 
>> ConfigurationOfFFI load
>> 
>> Results in an MNU:
>> ExternalFunction class(Object)>>doesNotUnderstand: callingConventionModifierFor:
>> 
>> 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 :)

I now tried your method. In addition to failing to install FFI correctly, it also installs 149 classes in 23 (!) unneeded packages.

> In Squeak we normally use Installer:
> 
> (Installer repository: 'http://source.squeak.org/FFI')
> install: 'FFI-Pools';
> install: 'FFI-Kernel';
> install: 'FFI-Tests'.

This does work. 

> (IIRC this is also in the "how to extend the system" workspace in squeak's menu)
> 
> - Bert -

I did remember correctly, it is in the workspace: click the "Help" menu, and choose the "Extending the system" item.

- Bert -




More information about the Squeak-dev mailing list