[etoys-dev] Problem installing Etoys-To-Go on Ubuntu Server 11.10
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.
> # 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
> APP=`dirname "$0"`
> APP=`cd "$APP";pwd`
> TOP=`dirname "$APP"`
> OS=`uname -s`
> #CPU=`uname -m`
> 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`
> [ -d "$BIN" ] || BIN="$APP/Contents/Linux-i686"
> 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
[ -d "$BIN" ] || BIN="$APP/Contents/Linux-i686"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the etoys-dev