[etoys-dev] Problem installing Etoys-To-Go on Ubuntu Server 11.10

Steve Thomas sthomas1 at gosargon.com
Mon Oct 17 05:45:31 EDT 2011


On Mon, Oct 17, 2011 at 5:27 AM, Bert Freudenberg <bert at freudenbergs.de>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20111017/57d4d52e/attachment.html>


More information about the etoys-dev mailing list