[squeak-dev] FFI & Windows 7: troubled

Casimiro de Almeida Barreto casimiro.barreto at gmail.com
Tue Apr 16 22:01:32 UTC 2013


On 16-04-2013 18:15, Frank Shearar wrote:
> On 16 April 2013 21:14, Casimiro de Almeida Barreto
> <casimiro.barreto at gmail.com> wrote:
>> On 16-04-2013 12:34, Frank Shearar wrote:
>>> On 16 April 2013 16:26, Casimiro de Almeida Barreto
>>> <casimiro.barreto at gmail.com> wrote:
>>>> On 16-04-2013 06:41, Frank Shearar wrote:
>>>>> On 15 April 2013 20:07, Casimiro de Almeida Barreto
>>>>> <casimiro.barreto at gmail.com> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> It seems that FFI-win32 is broken: during load it'll complain about
>>>>>> classSide message (meta object). And there's indeed no classSide stuff.
>>>>>>
>>>>>> MCMethodDefinition>>actualClass
>>>>>>     ^Smalltalk at: className
>>>>>>         ifPresent: [ :class | classIsMeta ifTrue: [ class classSide ]
>>>>>> ifFalse: [ class ]]
>>>>> How did you try to load FFI? Into what version of Squeak?
>>>>>
>>>>> frank
>>>>>
>>>>>
>>>> Using monticello browser. Version 4.4 All-in-one updated from trunk (all
>>>> in one). Latest version of FFI from sources.squeak.org.
>>> I ask, because I know the Installer (head) version off SqueakMap loads
>>> cleanly into an up-to-date 4.4, even though a bunch of tests fail [1].
>>> Are you trying to load the FFI-Win32 package without first loading
>>> FFI-Kernel and FFI-Pools?
>>>
>>> Installer squeakMap
>>>   update;
>>>   install: 'FFI (head)'
>>>
>>> does the same thing as
>>>
>>> (Installer repository: 'http://source.squeak.org/FFI')
>>>     install: 'FFI-Pools';
>>>     install: 'FFI-Kernel';
>>>     install: 'FFI-Tests'
>>>
>>> but note that you _must_ have these packages loaded _before_ you load FFI-Win32.
>>>
>>> frank
>>>
>>> [1] http://build.squeak.org/job/ExternalPackages-Squeak4.4/39/#showFailuresLink
>>>
>>>> CdAB
>>>>
>>>>
>>>>
>>>>
>>>>
>> No.
>>
>> 1st: FFI-Pools
>> 2nd: FFI-Kernel
>> 3rd: FFI-win32
>>
>> But the problem is at MCMethodDefinition, at the message actualClass. If
>> the test for classIsMeta is true, then it tries the message classSide.
>> Such message does not exist. Was it deprecated ???
> What's the value of className in MCMethodDefinition >> #actualClass?
>
> frank
>
>
From: Environment>>at: aSymbol ifPresent: aBlock
aSymbol is #Win32Constants
aBlock is: (closure) allInstanceVars: outercontext:
MCMethodDefinition>>actualclass; startpc: 31 numargs: 1

Goes to: IdentityDictionary(Dictionary)>>at:ifPresent:

and then to the code snippet I sent MCMethodDefinition>>actualClass

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130416/69f9f6db/signature.pgp


More information about the Squeak-dev mailing list