[squeak-dev] How to switch vm's

Chris Muller asqueaker at gmail.com
Sat Apr 24 15:28:16 UTC 2010


I need to go back to the 3.10-4 vm to do some profiling.  I have two
VM's installed on my Ubuntu server linux box; 3.10-4 and the new
4.0.3-2202.

Before, I used to just have a soft-link named /usr/local/bin/squeak
pointing to /usr/local/lib/squeak/3.10-4/squeak, and that is how I
would switch VM's; by repointing the soft link.

However, the new vm creates a binary file named /usr/local/bin/squeak
which, performs some Linux magic of which I am not familiar.

To attempt to switch back to the old vm, I renamed
/usr/local/bin/squeak to /usr/local/bin/squeak.renamed and
/usr/local/bin/squeak.sh to /usr/local/bin/squeak.sh.renamed.

BTW, what is squeak.sh?

I then created a softlink to the old executable:

  ln -s ../lib/squeak/3.10-4/squeak squeak

Unfortunately, when trying to launch the vm:

  squeak -version

I get:

  SQUEAK_ENCODING='UTF8'
  SQUEAK_PATHENC='UTF8'
  +exec: 1: : Permission denied

I really need to switch VM's (temporarily).  Any assistance is greatly
appreciated.

 - Chris



More information about the Squeak-dev mailing list