Diff for Building GST Guides

Tue, 02/10/2009 - 01:54 by Geert ClaesTue, 02/10/2009 - 05:04 by Geert Claes
Changes to Body
Line 15 Line 15
sudo port install gst (or gst-dev for development branch) sudo port install gst (or gst-dev for development branch)
-The installation process will download, build and install all components required by GNU Smalltalk. The whole installation process may some time to complete and will install your GNU Smalltalk in: +The installation process will download, build and install all components required by GNU Smalltalk. The whole installation process may take some time to complete and will install your GNU Smalltalk in:
/opt/local/bin /opt/local/bin

Revision of Tue, 02/10/2009 - 05:04:

Building GST Guides

As a true GNU Project, GNU Smalltalk is mainly aimed at POSIX operating systems like the many flavors of GNU/Linux distributions or even Mac OS X. GNU Smalltalk is designed to be platform independent and will also run on operating systems like Windows.

This article is incomplete. Please report errors or complete if possible. We need help to improve this project.

Mac OS X


The best way to install GNU Smalltalk is using the MacPorts project (see www.macports.org). MacPorts is an open-source community initiative which provides access to thousands of ports that greatly simplify the task of compiling and installing open-source software on your Mac.

Before installing GNU Smalltakl ensure that MacPorts is updated to the latest version. To Update MacPorts, simply open a Terminal and type:

 sudo port -v selfupdate

Once MacPorts has updated itself, type the following to start the GNU Smalltalk installation:

 sudo port install gst (or gst-dev for development branch)

The installation process will download, build and install all components required by GNU Smalltalk. The whole installation process may take some time to complete and will install your GNU Smalltalk in:

 /opt/local/bin

Linux


The distro is Ubuntu 8.04
  1. Download GST.
  2. Compile it from a shell:

   ./configure
   make
   sudo make install

If you're having trouble running gst-blox should compile with tcl/tk, you must first find where are the configuration files tclConfig.sh and tkConfig.sh for tell it to the script configure:

   ./configure --with-tcl=/usr/share/tcltk/tcl8.4 --with-tk=/usr/share/tcltk/tk8.4
   make
   sudo make install

Microsoft Windows

The process to get GST on this system is "easy" if you follow the next steps. Tested only on Windows XP.

  1. Requirements.
    1. MingW32: You can download from Here: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24...
    2. MSYS: Until now (30/05/2008) the easy way for install MSYS is installing 1.0.10 version. http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24...
    3. InfoZIP: Download from ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/zip232xN.zip
    4. TCL and TK sources: http://prdownloads.sourceforge.net/tcl/tcl8419-src.zip and http://prdownloads.sourceforge.net/tcl/tk8419-src.zip
    5. GST, of course: http://smalltalk.gnu.org/download
  2. First Steps (I will take deafult paths installations, and glpunzi as the username)
    1. Install Mingw32 with g++ compiler
    2. Install MSYS. In postinstall, tell the path for MingW32. C:/MinGW/
    3. Extract zip.exe from InfoZip on C:\Msys\1.0\bin
    4. Open Msys to create your user, and extract TCL, TK, and GST zip files to your MSYS home directory for example. C:\Msys\home\glpunzi
    5. From Msys, go to your home an enter on tcl8.4.19/win folder (cd /home/glpunzi/tcl8.4.19/win).
    6. Type: ./configure; make; make install
    7. Repeat step 2.6 on tk folder (cd /home/glpunzi/tk8.4.19/win)
    8. Go where you extracted GST (cd /home/glpunzi/smalltalk-3.0b) and type:

   ./configure --with-tcl=/home/glpunzi/tcl8.4.19/win --with-tk=/home/glpunzi/tk8.4.19/win
   make
   make install

  1. Now, you have a pretty GST running on Windows. From a Windows shell, go to C:\Msys\1.0\local\bin an execute gst to get the GST shell or gst-blox to open the GUI. It's important don't put the extension .exe

There are some bugs, but we need your help to improve it.

User login