Request- DotPet of Squeak

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
TheProphet
Posts: 174
Joined: Mon 18 Feb 2008, 06:22

Request- DotPet of Squeak

#1 Post by TheProphet »

A Pet of this would be an amazing lifesaver, really.

I've tried to install it on TeenPup2008 from the tarball got from squeak.org, and gotten stumped at this error.
Your architecture appears to be: i686-pc-linux-gnuoldid.

No binaries/libraries found for i686-pc-linux-gnuoldid.
You might have tell Install whch cup-vendor-os to use.
#./INSTALL
The downloaded tarballs are three:

(I shall highlight them with bold and italic)

from the INSTALL shell script.
#!/bin/sh
cat <<"EOF" >/dev/null

INSTALLING SQUEAK
-----------------

This directory contains the executables, libraries and other files
needed to run Squeak. You need to fetch and unpack the following
archives:

Squeak-X.Y-<cpu-vendor-os>.tar.gz
the precompiled binaries, libraries, manual pages and
other documentation for Squeak version X.Y. You need to
fetch this if you are installing a new version of Squeak.
You must fetch the archive corresponding to the
architecture on which you want to run Squeak.

If you don't already have the image/changes files
corresponding to version X.Y then you also need to fetch:

Squeak-X.Y-image.tar.gz
the .image and .changes files for Squeak version X.Y.
This is shared between all architectures. You need to
fetch this if you are installing a new version of Squeak.
You can use the contents of this archive on any
architecture.

If you don't already have the system sources file for
Squeak version X then you also need to fetch:

SqueakVX.sources.tar.gz
the system .sources file. This is shared between all
architectures and all versions of Squeak with the same
major version number. You only need to fetch this once
for each major version of Squeak that you install. You
can use the contents of this archive on any architecture.

Fetch the archive/s that you need and then unpack it/them in the
same directory. This will create a subdirectory called Squeak-X.Y
containing a hierarchy that mirrors the installed locations of the
various files. The architecture-specific files are in a
subdirectory named after your "cpu-vendor-os" name.

(Note that the system .sources file will be unpacked in a
subdirectory called Squeak-X, without the minor version number.
This is to remind you that you only need to fetch it once, unless
you are upgrading to Squeak to a different major version number.)

To make things easier on yourself you might want to run this file
as a shell script to install the files in the correct locations on
your machine, like this:

$ su root
# cd Squeak-X.Y
# /bin/sh INSTALL
# exit
$
this section appears to be where I'm going awry, but I'm not sure as my coding skills aren't really all that whoop-de-diddly-doo and that's why I'm trying to learn object code to begin with
If this complains that it cannot find the architecture-specific
files for your machine, even though you have downloaded and
unpacked the relevant archive, then there might simply be a
difference in operating system versions. If you believe that the
architecture-specific files in the directory "foo-bar-baz" will
work for you, then you can specify that directory as an argument
to INSTALL:
$ su root
# cd Squeak-X.Y
# /bin/sh INSTALL foo-bar-baz
# exit
$

You are strongly encouraged not to move things around. If you do
then you will totally invalidate your (already non-existent)
warranty. If you absolutely must install the libraries in cruel
and unusual locations then you would be much better off fetching
the sources

Squeak-X.Y.tar.gz

and then specifying your preferred locations with options to the
"configure" script, before compiling and installing Squeak for
yourself. This will ensure that the virtual machine knows where
to go looking for various runtime files, and will also update the
manual page to be consistent with the locations that you choose.
Instructions for configuring and building Squeak are in the file
BUILD.UnixSqueak in the above archive.

EOF

# INSTALL -- install Squeak from unpacked tarballs
#
# Author: Ian.Piumarta@INRIA.Fr
#
# Last edited: 2002-06-07 15:11:30 by piumarta on emilia.inria.fr

set -e

echo=echo
ROOT="/"

case $1 in
-) # dry-run
shift
ROOT=${PWD}/installed
test -d $ROOT || mkdir $ROOT
;;
-*) # temp install to create RPM: relocate install root
ROOT=`echo $1 | sed 's,^-,,'`
shift
mkdir -p $ROOT
# relocate /usr/local/% -> /usr/%
if test -d usr/local; then
mv usr/local/* usr/.
rmdir usr/local
fi
# and work silently
# echo=:
;;
esac

if test -d usr; then
$echo "Installing architecture-independent files in: $ROOT"
$echo
tar -cf - usr | ( cd $ROOT; tar -xvf - )
fi

test ! -f config.guess && exit 0

if test $# -eq 0; then
arch=`./config.guess | sed 's,-unknown,,g'`
$echo
$echo "Your architecture appears to be: $arch."
else
arch=$1
fi

if test ! -d $arch; then
$echo
$echo "No binaries/libraries found for $arch." >&2
$echo "You might have tell INSTALL whch cpu-vendor-os to use." >&2
exit 1
fi

$echo
$echo "Installing binaries for $arch in: $ROOT"
$echo

cd $arch
tar -cf - usr | ( cd $ROOT; tar -xvf - )

if test -f /usr/local/man/man1/squeak.1; then
$echo
$echo "You can now enter \`man squeak' for further instructions."
fi
Thank you in advance. I should very much like to bring more to the feast than just a hearty appetite, and learning to code is prerequisite for that goal.
He who skydive without parachute, jumps to own conclusion.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

Another approach might be a deb or rpm converted to a pet
I have had Squeak running in Puppy - no idea how
was probably high on red herrings at the time . . .
http://squeakland.org/download/

Some things to be aware of Smalltalk is slow and requires a run time engine. It is unique and best suited to those new to programming eg children..
It will not find its ways into a coding language for mainstream Puppy
because of the slowness and overheads.

Having said that I like Squeak a lot (as does Micky Mouse
it is the programming language of Disney corp)

A programming friend has been teaching programming to a 12 year old and intended to uses Basic
I suggested Logo and Squeak as far more useful and innovative
and they went with that and it is working . . .


Good luck. Hope someone can help. Be good to try Squeak again . . . 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

TheProphet
Posts: 174
Joined: Mon 18 Feb 2008, 06:22

#3 Post by TheProphet »

Thanks.

I'll probably run it on one of the lighter puppies than Teen.

My deal is I haven't been writing much script and mostly it's been BBCode and html.

And not deeply into that either.
He who skydive without parachute, jumps to own conclusion.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

@TheProphet,

I just downloaded Squeak3.10.2-7179-basic.zip, Squeak-3.10-1.i686-pc-linux-gnu.tar.gz & SqueakV39.sources.gz. I didn't use the install script, instead I just extracted Squeak-3.10-1.i686-pc-linux-gnu.tar.gz to a temporary location, then copied across the contained /usr. Then I extracted Squeak3.10.2-7179-basic.zip to /usr/local/lib/squeak/3.10-1, and renamed the two extracted files to squeak.image & squeak.changes. I saved SqueakV39.source.gz to /usr/local/lib/squeak/3.10-1 & ran:

Code: Select all

gunzip /usr/local/lib/squeak/3.10-1/SqueakV39.sources.gz
Lastly I deleted the symlink /usr/local/bin/squeak, and instead replaced it with this script:

Code: Select all

#!/bin/sh
cd /usr/local/lib/squeak/3.10-1
./squeak
Then squeak appears to run fine. The only possible problem being that, when run from the commandline, it gives an iconv_open: Invalid argument error. I'm not sure whether this is a critical problem though...more research required!

Also, if you wanted to explore logo, you might want to try roboc.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#5 Post by technosaurus »

I repacked the deb from Lobster's link here:
http://puppylinux.asia/members/T/486_pet/Etoys.pet (~9mb)
http://puppylinux.asia/members/T/486_pe ... addons.pet (~15mb)

I split out the source, examples and additional docs and locales to the addons pet. I did leave some of the basic tutorials in the main pet however, so it should be ok to get started.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#6 Post by Lobster »

thanks technosaurus installed the two pets
and ran this file
/usr/share/Etoys.app/etoys.sh

Good to see Squeak again on a faster processor and with the improvements running on Puppy :)

keep your brain flexible
If you have never programmed
this could be for you . . .

Puppy Squeaks
http://en.wikipedia.org/wiki/Squeak

Will anyone be inspired to try and provide pets for this development of Squeak
Pharo . . .
http://www.pharo-project.org/home
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

TheProphet
Posts: 174
Joined: Mon 18 Feb 2008, 06:22

#7 Post by TheProphet »

technosaurus wrote:I repacked the deb from Lobster's link here:
http://puppylinux.asia/members/T/486_pet/Etoys.pet (~9mb)
http://puppylinux.asia/members/T/486_pe ... addons.pet (~15mb)

I split out the source, examples and additional docs and locales to the addons pet. I did leave some of the basic tutorials in the main pet however, so it should be ok to get started.

The bandwidth for the month of June 2009 has been exceeded.

My apologies to all the users.

We will be back in July 2009
Image
Sadness.

I'll try the other two methods as soon as I fix this CD player I just contracted to do. :cry:

Meaning in about an hour or so.

Probably needs a gentle yet thorough cleaning.

It's a good way to keep from going crazy staring at the monitor.
He who skydive without parachute, jumps to own conclusion.

TheProphet
Posts: 174
Joined: Mon 18 Feb 2008, 06:22

#8 Post by TheProphet »

Other ONE method, thanks Muggins.
He who skydive without parachute, jumps to own conclusion.

TheProphet
Posts: 174
Joined: Mon 18 Feb 2008, 06:22

#9 Post by TheProphet »

muggins wrote:@TheProphet,

I just downloaded Squeak3.10.2-7179-basic.zip, Squeak-3.10-1.i686-pc-linux-gnu.tar.gz & SqueakV39.sources.gz. I didn't use the install script, instead I just extracted Squeak-3.10-1.i686-pc-linux-gnu.tar.gz to a temporary location, then copied across the contained /usr. Then I extracted Squeak3.10.2-7179-basic.zip to /usr/local/lib/squeak/3.10-1, and renamed the two extracted files to squeak.image & squeak.changes. I saved SqueakV39.source.gz to /usr/local/lib/squeak/3.10-1 & ran:

Code: Select all

gunzip /usr/local/lib/squeak/3.10-1/SqueakV39.sources.gz

Lastly I deleted the symlink /usr/local/bin/squeak, and instead replaced it with this script:

Code: Select all

#!/bin/sh
cd /usr/local/lib/squeak/3.10-1
./squeak
Then squeak appears to run fine. The only possible problem being that, when run from the commandline, it gives an iconv_open: Invalid argument error. I'm not sure whether this is a critical problem though...more research required!

Also, if you wanted to explore logo, you might want to try roboc.
WOOT!

Works... Success...
He who skydive without parachute, jumps to own conclusion.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#10 Post by Lobster »

WOOT!

Works... Success...
Good news. 8)
I will be very interested in your thoughts, impressions and experiences.

I am intrigued by Squeak.
I feel it is ideal for teaching programming
- children understand it but I find it so radically different
despite the time spent with it - I still 'don't get it'

Anyway you will have loads to explore
It always reminds me of a very free form IDE (that bit I get)
but accessing the code in a meaningful way and making sense of that still alludes me . . .

have Fun :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

sidders
Posts: 464
Joined: Wed 23 Jul 2008, 18:47
Location: Bolton, uk

#11 Post by sidders »

Just completed a pet myself of Squeaklands Etoys and made it into an SFS. Am uploading now both now, take your pick.
The Pet is 24mb everything in one.
I will edit this post when it is up.

Ere you are

http://www.filefactory.com/f/232345d22fd35293/

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#12 Post by technosaurus »

To answer the original question ... "You might have tell INSTALL whch cpu-vendor-os to use." ... the correct arch should be for most versions of Puppy
i486-t2-linux-gnu
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

picatrix
Posts: 53
Joined: Fri 10 Mar 2006, 17:01

#13 Post by picatrix »

Just a little O.T. ...by the end of June it'll be available the final release of Scratch 1.4 for linux: http://scratch.mit.edu/forums/viewtopic ... =17835&p=1

It will be great to have a pet/sfs of this too!

Picatrix

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#14 Post by Lobster »

Will anyone be inspired to try and provide pets for this development of Squeak
Pharo . . .
http://www.pharo-project.org/home
Pharo does not need a pet - here is how to use
http://puppylinux.info/topic/smalltalk
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply