How to load VMMaker into Squeak?

I am using Squeak 4.4 update 12327 and VM version 4.1.1. I tried loading VMMaker using ConfigurationOf scripts, but always fails with exceptions, mainly in the Freetype package.

Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfVMMaker'; load. ((Smalltalk at: #ConfigurationOfVMMaker) project version: '1.4') load 

or

 Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfVMMaker'; load. (Smalltalk at:#ConfigurationOfVMMaker) project lastVersion load. 

or

 Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfVMMaker'; load. (ConfigurationOfVMMaker project version: '1.5') load. 

Neither the repository page page , nor the wiki pages ( this , or this ) include instructions or a link to download VMMaker, although it contains many explanations.

+4
source share
3 answers

Unfortunately, the Metacello configuration was created and is used only by Pharo-centric users so far ...
Ultimately, you can fix the Squeak branch in the configuration, but it will not be easy to boot from.

If you are interested in the oscog VM branch, then there is one ready-made 4.3 image with pre-loaded packages distributed in this svn repository

http://squeakvm.org/svn/squeak/branches/Cog

Look under the image subdirectory, open CogTrunk43.image, there is a workspace that explains how the packages were loaded into the image.

If you are interested in the classic interpreter, then it can be downloaded using the MCM update:

  • Open the Monticello Browser
  • Add VMMaker Repository
    (MCHttpRepository location: 'http://source.squeak.org/trunk' user: 'squeak' password: 'squeak')
  • Select and open VMMaker repository
  • In the left pane, select β€œupdate” (bottom item)
  • In the right pane, select the top item (update-dtl.12.mcm)
  • Select the View button
  • You get a list of displayed packages, click "Install"

The update configuration is several versions, although not sure if it is still supported, it is better to ask "Squeak Virtual Machine Development talk"

EDIT I think this magic spell can replace all the GUI-oriented operations above:

 MCMcmUpdater updateFromRepositories: {'http://source.squeak.org/VMMaker'}. 
+3
source

This is thanks to David Lewis, in the CI scripts we use to test the VM interpreter:

 MCMcmUpdater updateFromRepositories: #('http://source.squeak.org/VMMaker'). (Smalltalk at: #VMMaker) initializeBrowserSupport. "activate Slang browsing" 
+4
source

Or you can open the SqueakMap package SqueakMap and download the VMMaker 'head' release. This does the same thing as downloading updates from Monticello, as described above. In any case, you will receive the latest version of VMMaker and related packages.

+3
source

All Articles