Trying to install Rio file handling package

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

Trying to install Rio file handling package

LawsonEnglish
   The Gallery addon for pier first requires that Rio be installed.

http://www.squeaksource.com/@7zePIlRlfoA0dT1I/VwzOlsoy


However, rio won't install due to errors:

FileMacOSXExectuive class as yet unclassified getenv:

getenv: varString
     " self getenv: 'HOME' "
     " self getenv: 'ZYZZYX' "

<> expected ->cdecl:  char* 'getenv' ( char* ) module: 'libc.dylib'>
     ^self externalCallFailed


Happens in both the latest Pharo and the latest Squeak.

Not sure how to fix this...


thanks for any advice.


Lawson

Reply | Threaded
Open this post in threaded view
|

Re: Trying to install Rio file handling package

Andreas.Raab
You need to install the FFI:

(Installer squeak)
        project: 'FFI';
                install: 'FFI-Pools';
                install: 'FFI-Kernel';
                install: 'FFI-Tests'.

and if you care you can also install the examples.

Cheers,
   - Andreas

On 8/20/2010 2:36 PM, Lawson English wrote:

>   The Gallery addon for pier first requires that Rio be installed.
>
> http://www.squeaksource.com/@7zePIlRlfoA0dT1I/VwzOlsoy
>
>
> However, rio won't install due to errors:
>
> FileMacOSXExectuive class as yet unclassified getenv:
>
> getenv: varString
> " self getenv: 'HOME' "
> " self getenv: 'ZYZZYX' "
>
> <> expected ->cdecl: char* 'getenv' ( char* ) module: 'libc.dylib'>
> ^self externalCallFailed
>
>
> Happens in both the latest Pharo and the latest Squeak.
>
> Not sure how to fix this...
>
>
> thanks for any advice.
>
>
> Lawson
>
>