[squeak-dev] FFI issue in Squeak 4.2 ?
asqueaker at gmail.com
Mon Feb 21 16:39:32 UTC 2011
> Yes. I hacked together a basic Metacello configuration for Xtreams, which
> automatically loads FFI if the Xtras package is requested (and FFI is not
> loaded) and fixes the underscore problems for Squeak. I uploaded it to the
> MetacelloRepository (http://squeaksource.com/MetacelloRepository ). You can
> load Xtreams into Squeak 4.2 with it using the following script:
> Installer ss
> project: 'MetacelloRepository';
> install: 'ConfigurationOfXtreams'.
> (Smalltalk at: #ConfigurationOfXtreams) perform: #loadBleedingEdge
Hi, can you clarify whether this loads a fixed-configuration or a
I will document this in SqueakMap, but I think it's important to know
whether this "configuration" is a true configuration or if it's a
load-script that fetches the latest-and-greatest? #loadBleedingEdge
suggests the latter, and, if so, would you also specify a load-script
that will ensure longevity in Squeak 4.2?
I think we should be explicit about load-scripts kept in Metacello,
like we are now doing in SM, and say, "you can load the 'latest
bleeding-edge' Xtreams code with the following script" rather than
saying, "into Squeak 4.2" because there is no guarantee that will
remain the case.
Thanks and Regards,
> The Pharo version of this script should use Gofer instead of Installer to
> load the configuration itself, but the last line should remain the same.
> There are no versions yet, just a baseline, so one can only load the
> #bleedingEdge versions of the packages. This is equivalent with the current
> loader scripts.
> I also defined some groups which only load some, but not all packages (no
> tests, no Xtras, etc). See the commit message or the specification itself
> for details.
>>> I managed to load XTreams to Squeak Trunk (possibly works with 4.2 too)
>>> using the following script:
>>> I also uploaded a new version of Xtreams-Xtras to the repository which
>>> fixes XTHMACTest and XTHashTest for Squeak.
>>> With these changes, all tests are green on Windows.
>> Excellent! So that means the new Bcrypt based hashing worked for you too.
>> Thank you very much! I really appreciate your help.
> Yes. Before XP users start wondering why this doesn't work for them, bcrypt
> is only supported on Vista and later versions (according to msdn).
More information about the Squeak-dev