Squeak 4.6 – Installation on 32bit FreeBSD 10.3 (i386)

On 32bit

  • FreeBSD 10.3
  • FreeBSD 11.0

the binary squeak package DOES NOT work out of the box.

See for yourself:

Type

pkg install squeak

to install the binary package and its dependencies.

Type

cp /usr/local/lib/squeak/S* .

to copy the image, changes and sources files to the current directory.

Type

squeak Squeak4.6-15102.image

to attempt starting  squeak.

And

CHECKING cogvm
CHECKING squeakvm
Illegal instruction (core dumped)

is what you get.

This will have created a core file.
Please note that the creation of the core file can take several minutes
on slow hardware as its size is over 1GB. While creating the core file
the squeakvm process is unkillable.

So what can you do?

You  can switch to the 64bit version of FreeBSD 10.3.

Or you can compile the squeak port from sources – with optimizations disabled and/or with debugging information enabled.

Type

portsnap fetch
portsnap expand

to install the ports collection.

Type

pkg install cmake
pkg install v4l-utils
pkg install pkgconf

to install squeak build dependencies.

Either

cd /usr/ports/lang/squeak
setenv CFLAGS -O0
make install

or

cd /usr/ports/lang/squeak
setenv WITH_DEBUG yes
make install

should get you a working 32bit Squeak VM.

So type

squeak Squeak4.6-15102.image

to start  squeak.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s