[Glass] GemTools on Ubuntu system
Trussardi Dario Romano
dario.trussardi at tiscali.it
Tue Apr 9 04:22:04 PDT 2019
Ciao, thanks.
> I didn't realize that you couldn't open the GemTools client ... I' ve only run GemTools myself on Ubuntu 16.04 ...
>
> Here's the output of a GemTools on my Ubuntu16.04:
>
> foos:GemTools>ls
> gemtools GemTools-1.0-beta.8.6-301x.app.zip GemTools-1.0-beta.8.7-340xx.app
> GemTools-1.0b6.app GemTools-1.0-beta.8.7-3101x.app GemTools1.0-beta.8.7.zip
> GemTools-1.0b6.zip GemTools-1.0-beta.8.7-310x.zip GemTools-2.3.1-preview.app
> GemTools-1.0-beta.8.6-244x.app GemTools-1.0-beta.8.7-31x.zip gemToolsBuilder
> GemTools-1.0-beta.8.6-244x.app.zip GemTools-1.0-beta.8.7-320xx.app
> GemTools-1.0-beta.8.6-301x.app GemTools-1.0-beta.8.7-324_linux.zip
I don't have the GemTools directory.
I have only copy the: GemTools-1.0-beta.8.7-3101.app from a MacBook system to Ubuntu 18.04 LTS system
>>>>>> You should be able to copy the GemTools*.app directory over to your Ubunutu system and start the image ... you'll need to have 32 bit X libraries installed ... if you are using GsDevKit_home, the support for Pharo will be installed.
> foos:GemTools>cd GemTools-1.0-beta.8.7-340xx.app
> foos:GemTools-1.0-beta.8.7-340xx.app>ls
> Contents COPYRIGHT GemTools-1.0-beta.8.7-32x.lnk GemTools-1.0-beta.8.7-32x.sh README.tx
I don't understand what do you do in the next lines.
> foos:GemTools-1.0-beta.8.7-340xx.app>./GemTools-1.0-beta.8.7-32x.sh &
> [1] 12955
> foos:GemTools-1.0-beta.8.7-340xx.app>+ dirname ./GemTools-1.0-beta.8.7-32x.sh
> + readlink -f .
> + ROOT=/export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app
> + LINUX=/export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Linux686
> + RESOURCES=/export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Resources
> + gvfs-set-attribute ./GemTools-1.0-beta.8.7-32x.sh metadata::custom-icon file:///export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Resources/Squeak.png
> + ls /export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Resources/GemTools-1.0-beta.8.7-32x.image
> + wc -l
> + image_count=1
> +
> + [ 1 -ne 1 ]
> + image=/export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Resources/GemTools-1.0-beta.8.7-32x
> + exec /export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Linux686/squeak -plugins /export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Linux686 -encoding latin1 -vm-display-X11 /export/foos1/users/dhenrich/GemTools/GemTools-1.0-beta.8.7-340xx.app/Contents/Resources/GemTools-1.0-beta.8.7-32x
> + which zenity
> /usr/bin/zenity
>
> Here's the listing of the GemTools startup script:
> #!/bin/sh
>
> set -x
>
> # path
> ROOT=`readlink -f $(dirname $0)`
> LINUX="$ROOT/Contents/Linux686"
> RESOURCES="$ROOT/Contents/Resources"
>
> # icon (note: gvfs-set-attribute is found in gvfs-bin on Ubuntu
> # systems and it seems to require an absolute filename)
> gvfs-set-attribute \
> "$0" \
> "metadata::custom-icon" \
> "file://$RESOURCES/Squeak.png" \
> 2> /dev/null
>
> # zenity is part of GNOME
> image_count=`ls "$RESOURCES"/*.image 2>/dev/null |wc -l`
> if which zenity &>/dev/null && [ "$image_count" -ne 1 ]; then
> olddir=`pwd`
> cd "$RESOURCES"
> image=`zenity --title 'Select an image' --file-selection --file-filter '*.image' --file-filter '*'`
> cd "$olddir"
> else
> image="$RESOURCES/GemTools-1.0-beta.8.7-32x"
> fi
>
> # execute
> exec "$LINUX/squeak" \
> -plugins "$LINUX" \
> -encoding latin1 \
> -vm-display-X11 \
> "$image"
> .. and I'd think that you could just directly set the image file and skip the zenity code altogether and just use the line `image="$RESOURCES...` to set the image ... eliminating the zenity code works for my on Ubuntu 16.04 ...
I eliminating the zenity code and define the $RESOURCES
but the ./ GemTools-1.0-beta.8.7-31x.sh report:
could not find module vm-display-X11
Annullato (core dump creato)
>
>
> It seems to be useful if you have multiple images in the resources directory ... I only have one...
>
> Why are you trying to use GemTools when you have a tODE image available? Is tODE not installed in your 3.1.0.6 stone?
Yes i don't have tODE installed i 3.1.0.6 where i run some site baed on Pier web server.
Dario
>
> Dale
>
> (On 4/8/19 2:28 AM, Trussardi Dario Romano via Glass wrote:
>> Ciao,
>>
>>> I guess I've just ignored the zenity messages when I've started gemtools, since things work fine ... if I'm not mistaken zenity is supposed to kick in when you don't supply an image...
>>>
>>> Dale
>> The situation is:
>>
>> when from the shell i run: ./ GemTools-1.0-beta.8.7-31x.sh
>>
>> the shell report immediately:
>>
>> /usr/bin/zenity
>> Gtk-Message: 11:49:49.999: GtkDialog mapped without a transient parent. This is discouraged.
>>
>> After the system open the file selection window and i can select the ....fileName.image
>>
>> A this point the shell report :
>>
>> could not find module vm-display-X11
>> Annullato (core dump creato)
>>
>> Considerations?
>>
>> From the same shell the: startClient todebase works fine.
>>
>> Thanks,
>>
>> Dario
>>
>> P.S. In the GemTools*.app/Contents/Linux686 directory i have some vm-... ( vm-display-X11 vm-display-null ........). subdirectory
>>
>> but not vm-dispaly..... executable files
>>>
>>>
>>> On 4/6/19 3:50 AM, Trussardi Dario Romano via Glass wrote:
>>>> Ciao,
>>>>
>>>> thanks.
>>>>
>>>>> You should be able to copy the GemTools*.app directory over to your Ubunutu system and start the image ... you'll need to have 32 bit X libraries installed ... if you are using GsDevKit_home, the support for Pharo will be installed.
>>>>
>>>> I copy the GemTools*.app directory from the MacBook system to the Ubuntu 18.04.1 system.
>>>>
>>>> In the Ubuntu system i using the GsDevKit_home and the startClient todebase works fine.
>>>>
>>>> I change the file execution permits to:
>>>>
>>>> /opt/GemTools-1.0-beta.8.7-3101.app$ ./GemTools-1.0-beta.8.7-31x.sh
>>>> /opt/GemTools-1.0-beta.8.7-3101.app/Contents/Linux686/squeak
>>>>
>>>> Now when i run the: ./ GemTools-1.0-beta.8.7-31x.sh
>>>>
>>>> after select the: ****.image file
>>>>
>>>> the system report:
>>>> /usr/bin/zenity
>>>> Gtk-Message: 11:49:49.999: GtkDialog mapped without a transient parent. This is discouraged.
>>>> could not find module vm-display-X11
>>>> Annullato (core dump creato)
>>>>
>>>>
>>>> I must continue in any case with:
>>>>
>>>>> If not then here are the instructions you should follow([1], [2], and [3]).
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Dario
>>>>
>>>>> The only other thing you need to do is to copy the $GEMSTONE/lib32/*.so libraries to the GemTools*.app/Contents/Linux686 directory and create a symbolic link between gciForLinux.so and the libgcirpc-*-32.so file.... and you should be good to go.
>>>>>
>>>>> Dale
>>>>>
>>>>> [1] https://github.com/GsDevKit/GsDevKit_home/blob/master/bin/utils/installOsPrereqs#L39-L59
>>>>> [2] https://github.com/GsDevKit/GsDevKit_home/blob/master/bin/utils/installOsPrereqs#L81-L85
>>>>> [3] https://github.com/GsDevKit/GsDevKit_home/blob/master/bin/utils/installOsPrereqs#L63-L78
>>>>>
>>>>> On 4/5/19 2:35 AM, Trussardi Dario Romano via Glass wrote:
>>>>>> Ciao,
>>>>>>
>>>>>> i have a Ubuntu system running a hold Gemstone 3.1.0.6 data base
>>>>>>
>>>>>> I manage the GLASS with:
>>>>>>
>>>>>> GemTools Launcher - >=1.0-beta.8.7.1 [ConfigurationOfGemTools]
>>>>>>
>>>>>> running on MacBook system and all works fine.
>>>>>>
>>>>>> Now i need to setup and running the GemTools on the Ubuntu system.
>>>>>>
>>>>>> It is praticable ?
>>>>>>
>>>>>> Some indications to do it ?
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Glass mailing list
>>>> Glass at lists.gemtalksystems.com
>>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>> _______________________________________________
>>> Glass mailing list
>>> Glass at lists.gemtalksystems.com
>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20190409/cfb2d9e9/attachment-0001.html>
More information about the Glass
mailing list