This is a running commentary as I attempt to compile a 32 bit Squeak VM on my Slackware64 13.37 distro with the Alien compatability-libs installed. None of my binary vm’s that worked on my old 32 bit computer worked on my new computer, so I am attempting to compile from source and see if I can get back to work.
I am operating under the assumption that /lib contains the compatability libs and /lib64 contains the native slackware libraries. I am basing this assumption on a statement
I read at alienware that while Slackware64 is not 32 bit enabled by default, it is 32 bit capabable. I could be wrong. Unfortunately, I did not note the contents of the libX directories after a clean install of Slackware64.
Here we go…
Download Squeak-4.4.7.2357-linux_i386.tar.gz ,Squeak-4.4.7.2357-src.tar.gz ,Squeak-4.4.7.2357-linux_i386.sh from http://www.squeakvm.org/unix/
I am forgoing using the Squeak-4.4.7.2357-linux_i386.sh script as I want to get my hands dirty and have a clear understanding of what is going on.
tar -tf Squeak-4.4.7.2357-linux_i386.tar.gz is NOT an image and changes file like I expected, so I am ignoring that too.
Ok extract the source and go to work
tar -xzvf Squeak-4.4.7.2357-src.tar.gz
There is a readme in the extracted folder
Executive summary
—————–tar -xf .tar.gz <–we just did this
cd <–and this, so lets pick up from here and see what happens.
mkdir bld
cd bld
../unix/cmake/configure
make
I used the tee command on the configure step so I could view the output in a file: ../unix/cmake/configure | tee myOutput
Looking at the myOutput file, I see it is going to use the /lib64 libraries to compile this. My hunch is that this is not correct, but lets see what happens.
make
hmm, it compiled. So, I need and image and changes file. I have a Squeak4.3gamma-11793 image and changes file, so I try that.
From the bld directory ./squeak Squeak4.3gamma-11793.image and it works!
It does complain about a mssing changes file, so I have one from my Squeak4.3gamma-11793/ directory named SqueakV41.sources.
I try that…
voila!
Some thoughts going forward.
- Unlike the 64 bit compile in a previous post, this one does have and X Window around the World.
- I still need to study how to create a proper layout for a functioning ‘Distrobution’
- Why did it compile using the /lib64 libraries? (my hunch is that the alien compat-libs magically take care of it?)
- I need to test my existing work with the newly compiled vm.
- Now on to Cog!
