Diff for Building GST Guides
| Tue, 02/10/2009 - 01:53 by Geert Claes | Tue, 02/10/2009 - 01:54 by Geert Claes | ||
|---|---|---|---|
| < previous diff | next diff > | ||
| Changes to Body | |||
| Line 8 | Line 8 | ||
| Before installing GNU Smalltakl ensure that MacPorts is updated to the latest version. To Update MacPorts, simply open a Terminal and type: | 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 | + | |
| + | sudo port -v selfupdate | ||
| + | |||
| Once MacPorts has updated itself, type the following to start the GNU Smalltalk installation: | Once MacPorts has updated itself, type the following to start the GNU Smalltalk installation: | ||
| - | 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 some time to complete and will install your GNU Smalltalk in: | ||
| - | /opt/local/bin | + | |
| + | /opt/local/bin | ||
| ==Linux== | ==Linux== | ||
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 some time to complete and will install your GNU Smalltalk in:
/opt/local/bin
Linux
The distro is Ubuntu 8.04
- Download GST.
- 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.
- Requirements.
- MingW32: You can download from Here: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24...
- 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...
- InfoZIP: Download from ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/zip232xN.zip
- TCL and TK sources: http://prdownloads.sourceforge.net/tcl/tcl8419-src.zip and http://prdownloads.sourceforge.net/tcl/tk8419-src.zip
- GST, of course: http://smalltalk.gnu.org/download
- First Steps (I will take deafult paths installations, and glpunzi as the username)
- Install Mingw32 with g++ compiler
- Install MSYS. In postinstall, tell the path for MingW32. C:/MinGW/
- Extract zip.exe from InfoZip on C:\Msys\1.0\bin
- 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
- From Msys, go to your home an enter on tcl8.4.19/win folder (cd /home/glpunzi/tcl8.4.19/win).
- Type: ./configure; make; make install
- Repeat step 2.6 on tk folder (cd /home/glpunzi/tk8.4.19/win)
- 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
- 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.
