Problem installing Etoys-To-Go on Ubuntu Server 11.10

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

Problem installing Etoys-To-Go on Ubuntu Server 11.10

Steve Thomas
When I downloaded Etoys To Go from squeakland and tried to run it didn't work.   This was because uname -m returned x86_64 but the only directory for Linux was i686
Made the simple change shown below and it worked fine.

#!/bin/bash
# File:        etoys.sh (Etoys-To-Go version)
# Author:      Bert Freudenberg
# Description: Script to run etoys.image on the Squeak VM binary,
#              using default directories relative to the installation itself

APP=`dirname "$0"`
APP=`cd "$APP";pwd`
TOP=`dirname "$APP"`
OS=`uname -s`
#CPU=`uname -m`
CPU="i686"
BIN="$APP/Contents/$OS-$CPU"
VM="$BIN/etoys"

Not sure if we can simply change to check if Linux and skip the CPU naming issues, but it worked in this case.

Also when I tried to install Etoys from Ubuntu software Center it installed 3.0 from Ubuntu 10.x and 4.0 from 11.10.

Stephen


_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Etoys-To-Go on Ubuntu Server 11.10

Bert Freudenberg

On 16.10.2011, at 00:42, Steve Thomas wrote:

When I downloaded Etoys To Go from squeakland and tried to run it didn't work.   This was because uname -m returned x86_64 but the only directory for Linux was i686
Made the simple change shown below and it worked fine.

#!/bin/bash
# File:        etoys.sh (Etoys-To-Go version)
# Author:      Bert Freudenberg
# Description: Script to run etoys.image on the Squeak VM binary,
#              using default directories relative to the installation itself

APP=`dirname "$0"`
APP=`cd "$APP";pwd`
TOP=`dirname "$APP"`
OS=`uname -s`
#CPU=`uname -m`
CPU="i686"
BIN="$APP/Contents/$OS-$CPU"
VM="$BIN/etoys"

Not sure if we can simply change to check if Linux and skip the CPU naming issues, but it worked in this case.

The code in the repository has this:

CPU=`uname -m`
BIN="$APP/Contents/$OS-$CPU"
[ -d "$BIN" ] || BIN="$APP/Contents/Linux-i686"
VM="$BIN/etoys"

So it should fall back to Linux-i686 in all unknown cases.

Also when I tried to install Etoys from Ubuntu software Center it installed 3.0 from Ubuntu 10.x and 4.0 from 11.10.

Yep. It appears the maintainers only package new Etoys versions for newer OS versions. It would extra effort to test new versions on older OSes. I'm not even sure who packages Etoys for Ubuntu these days. It might still trickle down from Debian, which is semi-automatic. But to get older versions updated would need some manual intervention.

- Bert -



_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Etoys-To-Go on Ubuntu Server 11.10

Steve Thomas

On Mon, Oct 17, 2011 at 5:27 AM, Bert Freudenberg <[hidden email]> wrote

On 16.10.2011, at 00:42, Steve Thomas wrote:

When I downloaded Etoys To Go from squeakland and tried to run it didn't work.   This was because uname -m returned x86_64 but the only directory for Linux was i686
Made the simple change shown below and it worked fine.

#!/bin/bash
# File:        etoys.sh (Etoys-To-Go version)
# Author:      Bert Freudenberg
# Description: Script to run etoys.image on the Squeak VM binary,
#              using default directories relative to the installation itself

APP=`dirname "$0"`
APP=`cd "$APP";pwd`
TOP=`dirname "$APP"`
OS=`uname -s`
#CPU=`uname -m`
CPU="i686"
BIN="$APP/Contents/$OS-$CPU"
VM="$BIN/etoys"

Not sure if we can simply change to check if Linux and skip the CPU naming issues, but it worked in this case.

The code in the repository has this:

CPU=`uname -m`
BIN="$APP/Contents/$OS-$CPU"
[ -d "$BIN" ] || BIN="$APP/Contents/Linux-i686"
VM="$BIN/etoys"

So it should fall back to Linux-i686 in all unknown cases.
The code in Etoys-To-Go 4.1.1 from the squeakland web site is missing the line:
[ -d "$BIN" ] || BIN="$APP/Contents/Linux-i686"

Stephen


_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev