Speedier GemTools on Ubuntu server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Speedier GemTools on Ubuntu server

dario trussardi
Hi,

i'm interested to test the Speedier GemTools on Ubuntu server (the server  it's on my local network for now )


Faster Remote Gemstone   installation instructions.



On the Ubuntu server in the file : /etc/ssh/sshd_config    i found the X11 Forwarding line.

But if i do sudo /etc/init.d/sshd restart  the system answer :    sudo: /etc/init.d/sshd: command not found

i wrong something?

I unzip  the GemTools-1.0-beta.8-244x.app.zip in the: /tmp/GemTools-1.0-beta.8-244x.app directory.


Now when from:   ssh -X -C glass@serverName

shell i do the command : ./GemTools.sh

the system answer the error :  exec: 9: ./Contents/Linux686/squeak: not found


Any idea about this error ?


Thank,

Dario

Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

Ramon Leon-5
On 11/03/2010 12:12 PM, Dario Trussardi wrote:
> But if i do sudo /etc/init.d/sshd restart the system answer : sudo:
> /etc/init.d/sshd: command not found

Typo, should be /etc/init.d/ssh, not sshd.  I'll fix article.

> Now when from: ssh -X -C glass@serverName
>
> shell i do the command :./GemTools.sh
>
> the system answer the error :exec: 9: ./Contents/Linux686/squeak: not found


Sounds like some kind of path issue.  Try unzipping again from your home
directory, cd into it, and try running again.

Ramon Leon
http://onsmalltalk.com
Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

dario trussardi
Hi,

> On 11/03/2010 12:12 PM, Dario Trussardi wrote:
>> But if i do sudo /etc/init.d/sshd restart the system answer : sudo:
>> /etc/init.d/sshd: command not found
>
> Typo, should be /etc/init.d/ssh, not sshd.  I'll fix article.

Ok

>
>> Now when from: ssh -X -C glass@serverName
>>
>> shell i do the command :./GemTools.sh
>>
>> the system answer the error :exec: 9: ./Contents/Linux686/squeak: not found
>
>
> Sounds like some kind of path issue.  Try unzipping again from your home directory, cd into it, and try running again.
>

I unzipping on /home/dario/GemTools-1.0-beta.8-244x.app.zip
       
I cd into home/dario//GemTools-1.0-beta.8-244x.app

When i do the  ./GemTools.sh the system answer the same error.

Thanks,
       
                Dario




Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

dario trussardi
Hi, 

i have doubt about the Faster Remote Gemstone installation instructions .


The command : sudo aptitude install xauth libgl1-mesa-dev

and: X11Forwarding yes

and:  sudo /etc/init.d/ssh restart

need to do on the Ubuntu server or on my MacBook  client ?


Yesterday i do it on Ubuntu server but when do the command: ./GemTools.sh

 i found error: 
exec: 9: ./Contents/Linux686/squeak: not found

I wrong ?

Thanks for any considerations.

Dario

Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

Ramon Leon-5
On 11/04/2010 10:41 AM, Dario Trussardi wrote:
> i have doubtabout the Faster Remote Gemstone installation instructions.
>
> The command :sudo aptitude install xauth libgl1-mesa-dev
>
> and:X11Forwarding yes
>
> and: sudo /etc/init.d/ssh restart
>
> need to do on the Ubuntu server or on my MacBook client ?

That's for the server so it's ssh server allows forwarding.

> Yesterday i do it on Ubuntu server but when do the command:./GemTools.sh
>
> i found error:
> exec: 9: ./Contents/Linux686/squeak: not found

Don't know what to tell you here, the GemTools.sh script is telling you
it can't find squeak in that directory.  Edit GemTools.sh and look at
it, verify the files are where it expects them to be.  This is a one
click image, it should just work.  That error has nothing to do with
forwarding, it just can't find the squeak executable.

--
Ramon Leon
http://onsmalltalk.com
Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

dario trussardi
Thanks Ramon,

> On 11/04/2010 10:41 AM, Dario Trussardi wrote:
>> i have doubtabout the Faster Remote Gemstone installation instructions.
>>
>> The command :sudo aptitude install xauth libgl1-mesa-dev
>>
>> and:X11Forwarding yes
>>
>> and: sudo /etc/init.d/ssh restart
>>
>> need to do on the Ubuntu server or on my MacBook client ?
>
> That's for the server so it's ssh server allows forwarding.
>
>> Yesterday i do it on Ubuntu server but when do the command:./GemTools.sh
>>
>> i found error:
>> exec: 9: ./Contents/Linux686/squeak: not found
>
> Don't know what to tell you here, the GemTools.sh script is telling you it can't find squeak in that directory.  Edit GemTools.sh and look at it, verify the files are where it expects them to be.  This is a one click image, it should just work.  That error has nothing to do with forwarding, it just can't find the squeak executable.

 I do tha command : cp /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak squeakCopy


        and it work fine ( the squeak file is copy to squeakCopy file  ).


I change the GemTools.sh to:


        #!/bin/sh
        APP="/home/dario/GemTools-1.0-beta.8-244x.app"
        EXE="$APP/Contents/Linux686"
        RES="$APP/Contents/Resources"

        exec "$EXE/squeak" -plugins "$EXE" \
       -encoding latin1 \
      -vm-display-X11   \
       "$RES/Pharo-1.0.image"
 
But the system answer the error : exec: 9: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: not found
 
I d'ont understund because the shell don't found the squeak file.

Do you have idea ?

        Thanks,

                Dario

Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

Ramon Leon-5

> I change the GemTools.sh to:
> #!/bin/sh
> APP="/home/dario/GemTools-1.0-beta.8-244x.app"
> EXE="$APP/Contents/Linux686"
> RES="$APP/Contents/Resources"
>
> exec "$EXE/squeak" -plugins "$EXE" \
>          -encoding latin1 \
>         -vm-display-X11   \
>          "$RES/Pharo-1.0.image"
>
> But the system answer the error : exec: 9: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: not found
>
> I d'ont understund because the shell don't found the squeak file.
>
> Do you have idea ?

Try one thing, assuming this is an Ubuntu server, change the GemTools.sh
first line to #!/bin/bash just to see if using bash instead of dash
makes some kind of difference on your version of Ubuntu.  I don't think
it will, but I don't see what else is wrong.  You could always try
launching manually from the shell using the command from GemTools.sh
playing around till you figure out what paths are wrong.

Ramon Leon
http://onsmalltalk.com
Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

dario trussardi

>
>> I change the GemTools.sh to:
>> #!/bin/sh
>> APP="/home/dario/GemTools-1.0-beta.8-244x.app"
>> EXE="$APP/Contents/Linux686"
>> RES="$APP/Contents/Resources"
>>
>> exec "$EXE/squeak" -plugins "$EXE" \
>>        -encoding latin1 \
>>       -vm-display-X11   \
>>        "$RES/Pharo-1.0.image"
>>
>> But the system answer the error : exec: 9: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: not found
>>
>> I d'ont understund because the shell don't found the squeak file.
>>
>> Do you have idea ?
>
> Try one thing, assuming this is an Ubuntu server,

Yes it's a Ubuntu server with minimal environment.

> change the GemTools.sh first line to #!/bin/bash just to see if using bash instead of dash makes some kind of difference on your version of Ubuntu.  I don't think it will, but I don't see what else is wrong.  You could always try launching manually from the shell using the command from GemTools.sh playing around till you figure out what paths are wrong.


I change the GemTools.sh first line to #!/bin/bash.

Now the system answer :

       
                        ./GemTools.sh: riga 6: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: Nessun file o directory
                        ./GemTools.sh: riga 6: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: Riuscito
 
        How odd!

        Any pointers would be greatly appreciated !

        Thanks
       
                Dario
Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

Nick
HI Dario,


>> But the system answer the error :            exec: 9: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: not found
>>

                       ./GemTools.sh: riga 6: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: Nessun file o directory
                       ./GemTools.sh: riga 6: /home/dario/GemTools-1.0-beta.8-244x.app/Contents/Linux686/squeak: Riuscito

I've just had the same problem, namely trying to run GemTools using X11 forwarding on a minimal 64bit 10.04 Ubuntu server configuration.

I found the solution here:

Summary:
When you're running on 64-bit linux, you need to install the 32bit compatibility library in order to run GemTools (or any squeak-vm based distribution) You can install the 32bit compatibility library with:

sudo aptitude install ia32-libs

Hope this helps

Nick
Reply | Threaded
Open this post in threaded view
|

Re: Speedier GemTools on Ubuntu server

dario trussardi
Thank Nick,

        now all work fine.

        I test it on my local network.

        After i do test from internet.

        Ciao,

                        Dario