Installing GNU Smalltalk on Ubuntu 10.10

Ubuntu usually comes with an older version of GNU Smalltalk. To install a healthy GNU Smalltalk development environment which includes an IDE as well, here are the steps:

  1. Download the latest stable version (currently 3.2.4) using FTP:

    ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.4.tar.gz

  2. Install the following dependencies using Synaptic Package Manager:
    • build-essential (the base compiler system)
    • texinfo
    • gawk
    • libreadline (for convenience when using commandline (recommended))
    • libreadline-dev (for convenience when using commandline (recommended))
    • git (for using gst-package --download (recommended))
    • libgnutls (for using gst-package --download (recommended))
    • libgnutls-dev (for using gst-package --download (recommended))
    • libgtk2.0 (for gst-browser IDE (recommended))
    • libgtk2.0-dev (for gst-browser IDE (recommended))
    • libcairo2 (for gst-browser IDE (recommended))
    • libcairo2-dev (for gst-browser IDE (recommended))
    • tcl (for gst-blox IDE (optional))
    • tcl-dev (for gst-blox IDE (optional))
    • tk (for gst-blox IDE (optional))
    • tk-dev (for gst-blox IDE (optional))
  3. Extract the tarball you've downloaded to a folder, open a terminal and type:

cd /the-folder-path-you-have-extracted
./configure
make
sudo make install

respectively. Then you will be able to use the GNU Smalltalk IDE (which is called VisualGST) by entering the command below to your terminal:

gst-browser

or if you want to use the old IDE:

gst-blox

or if you want to use command line (without any IDE):

gst

We carry them in a large variety of colors, which makes them perfect for teams. Great for free mason lodges, fraternities and sororities.
Mens Uniform Blazers

Hi, I'm trying to build it on a fresh 10.10 install. I'm using the official 64bit esb back AMI on EC2 (ami-af7e2eea in us-west) on a micro instance.
I have installed build-essential, texinfo, gawk, libreadline6, libreadline6-dev, git, git-doc, libgnutls26, libgnutls-dev, zip (not listed above but configure says it's required), and vim-nox.

The build fails with:

libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing -o gnutls-wrapper gnutls-wrapper.o ../../lib-src/.libs/library.a -lpthread -ldl -lrt -lm
gnutls-wrapper.o: In function `handle_error':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:42: undefined reference to `gnutls_alert_send'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:44: undefined reference to `gnutls_error_is_fatal'
gnutls-wrapper.o: In function `main':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:128: undefined reference to `gnutls_global_init'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:149: undefined reference to `gnutls_init'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:150: undefined reference to `gnutls_set_default_priority'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:152: undefined reference to `gnutls_anon_allocate_client_credentials'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:153: undefined reference to `gnutls_credentials_set'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:155: undefined reference to `gnutls_certificate_allocate_credentials'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:156: undefined reference to `gnutls_credentials_set'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:159: undefined reference to `gnutls_transport_set_ptr'
gnutls-wrapper.o: In function `do_handshake':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:57: undefined reference to `gnutls_handshake'
gnutls-wrapper.o: In function `main':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:225: undefined reference to `gnutls_record_send'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:235: undefined reference to `gnutls_bye'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:237: undefined reference to `gnutls_deinit'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:245: undefined reference to `gnutls_anon_free_client_credentials'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:246: undefined reference to `gnutls_certificate_free_credentials'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:247: undefined reference to `gnutls_global_deinit'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:197: undefined reference to `gnutls_record_recv'
gnutls-wrapper.o: In function `do_handshake':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:61: undefined reference to `gnutls_error_is_fatal'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:64: undefined reference to `gnutls_alert_send_appropriate'
gnutls-wrapper.o: In function `main':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:165: undefined reference to `gnutls_perror'
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:240: undefined reference to `gnutls_deinit'
gnutls-wrapper.o: In function `do_handshake':
/home/ubuntu/smalltalk-3.2.4/packages/net/gnutls-wrapper.c:64: undefined reference to `gnutls_alert_send_appropriate'
collect2: ld returned 1 exit status
make[3]: *** [gnutls-wrapper] Error 1
make[3]: Leaving directory `/home/ubuntu/smalltalk-3.2.4/packages/net'
make[2]: *** [NetClients.star] Error 2
make[2]: Leaving directory `/home/ubuntu/smalltalk-3.2.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/smalltalk-3.2.4'
make: *** [all] Error 2

Any suggestions as to what may be wrong? I would love to try GST -- I love the idea of smalltalk but find Squeak too "mousie" for a vim guy like me. Thank you for the help!

Thank you so much for the detailed list of prerequisite packages for compiling. The only one that it didn't seem to catch was the need to install gawk as well. It doesn't come preinstalled on an out of the box (k)ubuntu install (10.10).

Updated the blog post, thanks!

User login