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-22.214.171.1247-linux_i386.tar.gz ,Squeak-126.96.36.1997-src.tar.gz ,Squeak-188.8.131.527-linux_i386.sh from http://www.squeakvm.org/unix/
I am forgoing using the Squeak-184.108.40.2067-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-220.127.116.117-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-18.104.22.1687-src.tar.gz
There is a readme in the extracted folder
tar -xf .tar.gz <–we just did this
cd <–and this, so lets pick up from here and see what happens.
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.
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…
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!