Building GST on a Mac (some notes)

Tagged:  •    •    •    •  

The mac build instructions found at http://smalltalk.gnu.org/wiki/building-gst-guides doesn't quite reflect my experience. They're not wrong, they're just not what I did (and keep doing, because I forget to write this stuff down). Of course, I'm using stow, and a PPC mac, which changes things a bit.

I installed the latest versions of


  • autoconf
  • automake
  • gawk
  • GNU libtool
  • GNU readline
  • git (not the GNU Interactive Tools, but the Version Control System.)

I updated my PATH to put these tools first (mostly so that the correct version of libtool would be found when the time came), and fetched the GST source code with git clone git://git.sv.gnu.org/smalltalk.git.

(Basically just following the instructions http://smalltalk.gnu.org/download/cvs )

I then ran autoreconf -fvi to generate the configure script, and then ran the configure script:
./configure --prefix=/opt --with-gmp=/opt/lib CFLAGS='-O2 -g -mlong-double-64'

And then I can compile with make.

Each time I do a git pull (or fetch & merge), I have to repeat the autoconf and configure invocations. I keep forgetting this, and it causes all sorts of grief. (Now that I've written it down for all the world to see, naturally, I'll only forget this when it is maximally humiliating to do so.)

It'll compile and even run without the options to configure, but the tests tend not to do so well. I'm not sure it's picking up readline correctly, and there are a bunch more of the options I want to play with, so I'm sure I'll be able to refine this in time.

Each time I do a git pull (or fetch & merge), I have to repeat the autoconf and configure invocations. I keep forgetting this, and it causes all sorts of grief.

You shouldn't need to do so, probably some weird PATH problem?

User login