Is FFI (installation) broken?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is FFI (installation) broken?

John Cromartie
I followed the advice here: http://code.google.com/p/pharo/wiki/CodeSnippets

I tried to do:

  ScriptLoader loadFFI.

but the method loadFFI does not exist.

Reply | Threaded
Open this post in threaded view
|

Re: Is FFI (installation) broken?

Mariano Martinez Peck
Hi John. That link is outdated :(
We do not use ScriptLoader anymore to install packages. The recommended way to install external packages in Pharo is now using Metacello.

To install FFI in Pharo, evaluate:

Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfFFI';
    load.

((Smalltalk at: #ConfigurationOfFFI) project version: '1.3') load.


For more information about Metacello:

http://code.google.com/p/metacello/


On Sat, Nov 27, 2010 at 4:18 PM, John Cromartie <[hidden email]> wrote:
I followed the advice here: http://code.google.com/p/pharo/wiki/CodeSnippets

I tried to do:

 ScriptLoader loadFFI.

but the method loadFFI does not exist.