[Glass] GemTools on remote server

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Tue Mar 31 09:08:35 PDT 2015


Dario,

I am glad that we've finally gotten you going ... and thanks to Mariano 
for the help as well ...

With the volume of output that flies by when installing the 
prerequisites, I guess it's not surprising that an error message or two 
... I will spend a bit more time on the osPrereqs script for the soon to 
be release GsDevKitHome 1.0.0 making it sensitive to install errors (if 
I can figure out how) and paring down the list of libraries for GemTools 
... loading the `sane` libraries was a shot gun blast when I could not 
find the dynamic X11 library for the squeak vm ...

Dale

On 03/31/2015 06:59 AM, Dario Trussardi via Glass wrote:
> Ciao Dale, Martin, Mariano, Tobias,
>
>> On 31.03.2015, at 11:45, Dario Trussardi via Glass <glass at lists.gemtalksystems.com> wrote:
>>
>>> Ciao Mariano,
>>>
>>>> Dale, I am getting old...the ldd should have been:
>>>>
>>>> sudo ldd /opt/gemstoneAdditions/GemTools-1.0-beta.8.7-3101x.app/Contents/Linux686/vm-display-X11/.libs/vm-display-X11
>>>>
>>>> Dario, could you check that?
>>> 	My Ubuntu system answer:
>>>
>>> 	/srv/gitrepository/GemStone_daemontools_setup/bin$ sudo ldd /opt/GemTools/GemTools-1.0-beta.8.7-3101x.app/Contents/Linux686/vm-display-X11/.libs/vm-display-X11
>>> 	
>>>
>>> 	linux-gate.so.1 =>  (0xf77c7000)
>>> 	libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf7794000)
>>> 	libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf7734000)
>>> 	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7720000)
>>> 	libSM.so.6 => not found
>> apt-get install libsm6:i386
>>
>>> 	libICE.so.6 => not found
>> apt-get install libice6:i386
> After load these all works well.
>
> 	Thanks,
>
> 		Dario
>
> P.S. I think the problem was generated when i loaded  sudo apt-get install libsm6:i386
> 	I don't remember, but most probably i had some connection problem, I had not sufficiently considered.
>
>
>>> 	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf771b000)
>>> 	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76d5000)
>>> 	libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf76bb000)
>>> 	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7587000)
>>> 	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73d9000)
>>> 	libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf73c1000)
>>> 	libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf73bd000)
>>> 	libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf73b6000)
>>> 	libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf73b3000)
>>> 	libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf739b000)
>>> 	libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0xf7395000)
>>> 	libxcb-dri3.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri3.so.0 (0xf7391000)
>>> 	libxcb-present.so.0 => /usr/lib/i386-linux-gnu/libxcb-present.so.0 (0xf738c000)
>>> 	libxcb-sync.so.1 => /usr/lib/i386-linux-gnu/libxcb-sync.so.1 (0xf7385000)
>>> 	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7363000)
>>> 	libxshmfence.so.1 => /usr/lib/i386-linux-gnu/libxshmfence.so.1 (0xf7360000)
>>> 	libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf735a000)
>>> 	libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf734c000)
>>> 	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7330000)
>>> 	/lib/ld-linux.so.2 (0xf77c8000)
>>> 	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf732c000)
>>> 	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7325000)
>>>
>>>
>>> It report two not found.
>>>
>>> Thoughts?
>>>
>> see above
>>
>> Best
>> 	-Tobias
>>
>>> Thanks,
>>> 	Dario
>>>
>>>> This is how it looks in my CentOS 7:
>>>>
>>>> $ sudo ldd /opt/gemstoneAdditions/GemTools-1.0-beta.8.7-3101x.app/Contents/Linux686/vm-display-X11/.libs/vm-display-X11
>>>> 	linux-gate.so.1 =>  (0xf76f6000)
>>>> 	libXrender.so.1 => /lib/libXrender.so.1 (0xf76c6000)
>>>> 	libGL.so.1 => /lib/libGL.so.1 (0xf764b000)
>>>> 	libXext.so.6 => /lib/libXext.so.6 (0xf7638000)
>>>> 	libSM.so.6 => /lib/libSM.so.6 (0xf762f000)
>>>> 	libICE.so.6 => /lib/libICE.so.6 (0xf7614000)
>>>> 	libdl.so.2 => /lib/libdl.so.2 (0xf760f000)
>>>> 	libm.so.6 => /lib/libm.so.6 (0xf75cc000)
>>>> 	libnsl.so.1 => /lib/libnsl.so.1 (0xf75b2000)
>>>> 	libX11.so.6 => /lib/libX11.so.6 (0xf7477000)
>>>> 	libc.so.6 => /lib/libc.so.6 (0xf72b9000)
>>>> 	libglapi.so.0 => /lib/libglapi.so.0 (0xf727a000)
>>>> 	libXdamage.so.1 => /lib/libXdamage.so.1 (0xf7276000)
>>>> 	libXfixes.so.3 => /lib/libXfixes.so.3 (0xf7270000)
>>>> 	libX11-xcb.so.1 => /lib/libX11-xcb.so.1 (0xf726d000)
>>>> 	libxcb-glx.so.0 => /lib/libxcb-glx.so.0 (0xf7253000)
>>>> 	libxcb-dri2.so.0 => /lib/libxcb-dri2.so.0 (0xf724d000)
>>>> 	libxcb.so.1 => /lib/libxcb.so.1 (0xf7228000)
>>>> 	libXxf86vm.so.1 => /lib/libXxf86vm.so.1 (0xf7222000)
>>>> 	libdrm.so.2 => /lib/libdrm.so.2 (0xf7214000)
>>>> 	libpthread.so.0 => /lib/libpthread.so.0 (0xf71fa000)
>>>> 	libselinux.so.1 => /lib/libselinux.so.1 (0xf71d6000)
>>>> 	libuuid.so.1 => /lib/libuuid.so.1 (0xf71cf000)
>>>> 	/lib/ld-linux.so.2 (0xf76f7000)
>>>> 	libXau.so.6 => /lib/libXau.so.6 (0xf71cb000)
>>>> 	libpcre.so.1 => /lib/libpcre.so.1 (0xf7167000)
>>>> 	liblzma.so.5 => /lib/liblzma.so.5 (0xf713e000)
>>>>
>>>>
>>>> CHeers,
>>>>
>>>>
>>>> On Mon, Mar 30, 2015 at 6:25 PM, Dale Henrichs <dale.henrichs at gemtalksystems.com> wrote:
>>>> Mariano,
>>>>
>>>> With regards to ldd, and sqeak, none of the X libraries shows up in the ldd report for the squeak executable:
>>>>
>>>> $ sudo ldd squeak
>>>>
>>>>     linux-gate.so.1 =>  (0xf779f000)
>>>>     libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0xf778c000)
>>>>     libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7787000)
>>>>     libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7740000)
>>>>     libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf7727000)
>>>>     libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7579000)
>>>>     /lib/ld-linux.so.2 (0xf77a0000)
>>>>
>>>> The X11 dependencies are in the X11 plugin and for the life of me, I cannot tell where the dynamic library for the plugin is created if any, so the actual X11 dependencies for this vm are a complete mystery ...
>>>>
>>>> Dale
>>>> On 03/30/2015 02:03 PM, Mariano Martinez Peck wrote:
>>>>> Dario, it's very likely you are missing to install a lib in Linux needed by Pharo VM. An easy way to detect that is to do a ldd over the VM binary. Try to do something like this:
>>>>>
>>>>> sudo ldd /opt/gemstoneAdditions/GemTools-1.0-beta.8.7-3101x.app/Contents/Linux686/squeak
>>>>>
>>>>> Change that path for the accurate for your server. And check paste us the output of such a command. It may suggest a lib is missing. If true, let us know which one.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> On Mon, Mar 30, 2015 at 3:41 PM, Dale Henrichs via Glass <glass at lists.gemtalksystems.com> wrote:
>>>>> Dario,
>>>>>
>>>>> I just tried again and I started with an ico downloaded from the ubuntu site:
>>>>>
>>>>>   ubuntu-14.04-server-amd64.iso
>>>>>
>>>>> Created the vm using vmware player 7.x.
>>>>>
>>>>> Installed ssh manually:
>>>>>   sudo apt-get -y update
>>>>>   sudo apt-get -y install openssh-client
>>>>>   sudo apt-get -y install openssh-server
>>>>>
>>>>> scp'd the osPrereqs script that I mailed you to the server and ran it with:
>>>>>
>>>>>   ./osPrereqs -G -X -o ubuntu14.04
>>>>>
>>>>> When it finished I logged out and back in using the `X` flag to ssh:
>>>>>
>>>>>   ssh 192.168.100.131 -l dhenrich -X
>>>>>
>>>>> then launched GemTools on the server
>>>>>
>>>>>   GemTools-1.0-beta.8.7-3101x.app/GemTools-1.0-beta.8.7-3101x.sh &
>>>>>
>>>>> and it came up fine ...
>>>>>
>>>>>
>>>>> Soooo, there must be something different about the setup of your Ubuntu14.0.4 virtual machine ...
>>>>>
>>>>> Now I never did track the exact X11:i386 library that was needed by the Pharo1.1.x vm, but the sane:i386 did the trick for me...
>>>>>
>>>>> Dale
>>>>>
>>>>> On 03/30/2015 11:02 AM, Dale Henrichs wrote:
>>>>>> So Dario,
>>>>>>
>>>>>> Just to check ...
>>>>>>
>>>>>> tODE works when run on the server (using X11 forwarding) or on your local macbook (using port forwarding).
>>>>>>
>>>>>> GemTools works on your local macbook (using port forwarding) and not on the server (with X11 forwarding)...
>>>>>>
>>>>>> The latest stable vm for Pharo-3.0 does not work with the old Pharo1.1 images, so we will need to figure out the magic that it takes to get GemTools working on your server .... I have it working on my server, but I will try again to verify that I didn't sneak in a package upgrade that I forgot to include ...
>>>>>>
>>>>>> Dale
>>>>>>
>>>>>> On 03/30/2015 10:31 AM, Dale Henrichs wrote:
>>>>>>> Dario,
>>>>>>>
>>>>>>> tODE uses Pharo3.0 and GemTools uses Pharo1.1.x ... the required X11 libraries are different between the two vms ...
>>>>>>>
>>>>>>> Dale
>>>>>>>
>>>>>>> On 03/30/2015 10:02 AM, Dario Trussardi via Glass wrote:
>>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Glass mailing list
>>>>> Glass at lists.gemtalksystems.com
>>>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Mariano
>>>>> http://marianopeck.wordpress.com
>>>>
>>>>
>>>>
>>>> -- 
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>> _______________________________________________
>>>> 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



More information about the Glass mailing list