GsDevKit

After reading an article evangelizing smalltalk, learning that it is a pure OO language, and works on top of GemStone, I decided to give it a try. I follow the GemTalk Systems installation instructions which are essentially:

1
2
3
4
5
6
7

git clone https://github.com/GsDevKit/GsDevKit_home.git
cd GsDevKit_home
. bin/defHOME_PATH.env # define GS_HOME env var and put $GS_HOME into PATH
installServerClient
createStone devKit_33 3.3.0
createClient tode1

I am running on Debian 9.3 which is not supported so a few hacks were required.

modify .bashrc

.bashrc
1
2
3
4
5

.....
export GS_HOME=~/GsDevKit_home
export PATH="/home/mbc/bin:$GS_HOME/bin:$PATH"
.....

Change OS recognition. Note - this may invalidate all warranties!
One of the scripts called is ~/GsDevKit_home/bin/utils/installOsPrereqs

Look for the method installPrereqsForDebian() and change testing | 8.3 to 9.3:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
installPrereqsForDebian(){
case "$osVersion" in
testing | 9.3)
sudo dpkg --add-architecture i386
installUbuntuPackages
sudo apt-get -y install fonts-dejavu # ensure that DejaVu Sans Mono font present (default font for tODE)
sudo ln -f -s /usr/lib/i386-lin-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libstdc++.so
;;
*) usage; exit_1_banner "unrecognized Debian version $os";;
esac
}



To get started with tODE:

1
2
3
startStone -b devkit_33
startClent tode1

‘stones’ command in the terminal will show running stones
‘testLogin’ in tODE will confirm connection

Share