Dario, Given that you are getting the "External module not found" error, I would say that Pharo-launcher probably should not be used to start tODE images ... For tODE to work, you need to have a set of gci libraries located in the pharo-vm directory (on linux). GsDevKit_home does that for you, because GsDevKit_home manages the pharo vm for you (it is installed as part of the GsDevKit_home process). I assume that the pharo launcher uses "it's own vm" and not the one that GsDevKit_home knows about ... If you want to use Pharo-launcher with tODE images, then you need to copy the GemStone libraries (libgcirpc-*, libssl-*, and libgcits-*) into the pharo-vm directory used by the Pharo-launcher ... Whenever you download a new version of GemStone you will have to copy the gci libs for that version as well ... Dale On 12/09/2015 10:47 AM, Trussardi Dario Romano wrote:
Ciao,
on Ubuntu system 14.04 i load the Pharo-launcher support.
Now all the pharo.image on the system run with the same pharo VM,
but i have a image ( Glass TODE environment ) to load with specific VM and relative library.
If i load it with the default pharo VM, when i do some Tode commands the system report: Error: External module not found.
I think to create a new launcher application.
I copy the /usr/share/applications/pharo-vm-desktopinto pharoTode-vm.desktop
[Desktop Entry] Name=Pharo Tode VM GenericName=Pharo Tode Virtual Machine Exec=pharo-vm-x %F Icon=pharo Terminal=false Type=Application StartupNotify=false Categories=Development; MimeType=application/x-pharo-image; NoDisplay=true
but i don't understand how reference the specific Pharo VM.
I have a gsDevKitHome/pharo directory with the todeClient.image, the pharo bash
andpharo-vm subdirectory with the relativepharo-vmand relative lib* to connect with the glass environment.
Thanks for considerations,
Dario