The Xtras package in Xtreams uses libcrypto. The EVP_MD_CTX_init error is saying that the FFI call to the libcrypto library that comes with OpenSSH cannot be found. This library is used by Altitude to generate random URLs.

Open your Terminal and "man openssl" to see if you have libcrypto. I think it comes standard on a Mac. If that's the case, then perhaps your FFI cannot make the call to the library.

Chris




On 12-09-29 6:44 AM, Edgar J. De Cleene wrote:

      
server := ALServer on: 8624 application: ALExampleApplication new.
server start
I using the script in original mail for loading in Squeak4.4-11925, but
having the following error

EVP_MD_CTX_init: ctx
    <cdecl: void 'EVP_MD_CTX_init' (XTEVPMDCTX*) module: 'libcrypto'>
    ^self externalCallFailed

'External function is invalid'

See attached.

I'm on Mac Os X 10.6, don't know if this matter

Any help welcomed


Edgar




    










| oldPref oldAuth|





oldPref := Scanner prefAllowUnderscoreSelectors.

oldAuth := Utilities authorInitialsPerSe.



Scanner prefAllowUnderscoreSelectors: true.

Utilities setAuthorInitials: 'al-loader'.

$_ tokenish ifFalse: [

  Character

    compile: 'tokenish

  "Answer whether the receiver is a valid token-character--letter, digit, or

  colon."



  ^self == $_ or: [self == $: or: [self isLetter or: [self isDigit]]]'

    classified: 'testing'.

  String initialize ].



(Installer repository: 'http://source.squeak.org/FFI')

  install: 'FFI-Pools';

  install: 'FFI-Kernel';

  install: 'FFI-Tests';

  install: 'FFI-Win32';

  install: 'FFI-MacOS';

  install: 'FFI-Unix'.



(Installer wiresong project: 'al')

  addPackage: 'Xtreams-Support';

  addPackage: 'Xtreams-CoreTests';

  addPackage: 'Xtreams-Core';

  addPackage: 'Xtreams-Substreams';

  addPackage: 'Xtreams-Terminals';

  addPackage: 'Xtreams-Parsing';

  addPackage: 'Xtreams-Http';

  addPackage: 'Xtreams-Xtras';

  addPackage: 'Xtreams-ParsingTests';

  addPackage: 'Xtreams-TerminalsTests';

  addPackage: 'Xtreams-XtrasTests';

  addPackage: 'Xtreams-SubstreamsTests';

  addPackage: 'Xtreams-TransformsTests';

  addPackage: 'Xtreams-Transforms';

  addPackage: 'Xtreams-HttpTests';

  install.



Scanner prefAllowUnderscoreSelectors: oldPref.

Utilities setAuthorInitials: oldAuth.



(Installer wiresong project: 'mc')

  addPackage: 'FS-Core';

  addPackage: 'FS-Disk';

  addPackage: 'FS-Memory';

  addPackage: 'FS-AnsiStreams';

  addPackage: 'FS-Zip';

  addPackage: 'FS-Xtreams';

  addPackage: 'FS-FileStream';

  addPackage: 'FS-Tests-Core';

  addPackage: 'FS-Tests-AnsiStreams';

  addPackage: 'FS-Tests-Xtreams';

  addPackage: 'FS-Tests-Zip';

  addPackage: 'FS-Tests-Disk';

  addPackage: 'FS-Tests-FileStream';

  install.



(Installer wiresong project: 'al')

  addPackage: 'AL-Rendering';

  addPackage: 'AL-Http';

  addPackage: 'AL-Application';

  addPackage: 'AL-Serialization';

  addPackage: 'AL-Json';

  addPackage: 'AL-Html5';

  addPackage: 'AL-HtmlApp';

  addPackage: 'AL-User';
  addPackage: 'AL-Examples';

  addPackage: 'AL-Tests-Json';

  addPackage: 'AL-Tests-Html5';

  addPackage: 'AL-Tests-User';

  addPackage: 'AL-Tests-Serialization';

  addPackage: 'AL-Tests-Http';

  addPackage: 'AL-Tests-Application';

  install.