[Vm-dev] SSL plugin for linux

Igor Stasenko siguctua at gmail.com
Fri Apr 27 17:29:37 UTC 2012


hi, i built ssl plugin

i didn't tested but at least it find it and loads and i were able to
run 1st primitive:

primitiveSSLCreate
       "Primitive. Creates and returns a new SSL handle in the VM plugin"

       <primitive: 'primitiveCreate' module: 'SqueakSSL'>

       ^ self primitiveFailed


i updated the configuration & added missing source files in this commit:

https://gitorious.org/cogvm/blessed/commit/59ef1cb1c70a93ed3c974b5d6beea0e4af970f15

to build SSL plugin you must have ssl, and ssl-dev libs installed:


sudo apt-get install openssl
sudo apt-get install libssl-dev


You can download prebuilt plugin from here:

http://code.google.com/p/cog/downloads/detail?name=libSqueakSSL.so.gz&can=2&q=#makechanges

(it is with debug info, since i used debug config to build it)

To build it, you shoud use  >= CMakeVMMaker-IgorStasenko.157
and

CogUnixConfig new
addExternalPlugins: #( ... yours ...  SqueakSSLPlugin )
generateSources; generate.


please try plugin, if it works, so we can include it in standard build
and be built automatically on jenkins server.

-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list