如何在 Squeak 中加载 VMMaker? [英] How to load VMMaker in Squeak?

查看:16
本文介绍了如何在 Squeak 中加载 VMMaker?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Squeak 4.4 更新 12327 和 VM 版本 4.1.1.我尝试使用 ConfigurationOf 脚本加载 VMMaker,但总是失败,主要在 Freetype 包中出现异常.

I am using Squeak 4.4 update 12327, and VM version 4.1.1. I tried to load VMMaker with 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

Gofer new
squeaksource: 'MetacelloRepository';
package: 'ConfigurationOfVMMaker';
load.

(Smalltalk at:#ConfigurationOfVMMaker) project lastVersion load.

Gofer new
     squeaksource: 'MetacelloRepository';
     package: 'ConfigurationOfVMMaker';
     load.

(ConfigurationOfVMMaker project version: '1.5') load.

存储库页面,也不是维基页面(这个这个) 包含加载 VMMaker 的说明或链接,尽管包含很多解释.

Neither the package repository page, nor the wiki pages (this one, or this one) include instructions or a link to load the VMMaker, although contains a lot of explanations.

推荐答案

不幸的是,Metacello 配置直到现在才被以 Pharo 为中心的用户创建和使用...
您最终可以更正配置中的 Squeak 分支,但这并不容易从那里启动.

Unfortunately, the Metacello configuration has been created and used only by Pharo-centric users until now...
You could eventually correct the Squeak branch in the configuration, but that ain't going to be easy to boot up from there.

如果您对 oscog VM 分支感兴趣,那么在这个 svn 存储库中分发了一个带有预加载包的预构建 4.3 映像

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

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

在 image 子目录下,打开 CogTrunk43.image,有一个工作区解释包是如何加载到 image 中的.

Look under image subdirectory, open the CogTrunk43.image, there is a workspace explaining how the packages were loaded in the image.

如果您对经典解释器感兴趣,那么加载它的方法是使用更新 MCM:

If you are interested in classical Interpreter, then the way to load it was by using the update MCM:

  1. 打开蒙蒂塞洛浏览器
  2. 添加 VMMaker 存储库
    <代码>(MCHttpRepository位置:'http://source.squeak.org/trunk'用户:'吱吱'密码:'吱吱')
  3. 选择并打开 VMMaker 存储库
  4. 在左侧窗格中,选择更新"(底部项目)
  5. 在右侧窗格中选择顶部项目 (update-dtl.12.mcm)
  6. 选择浏览"按钮
  7. 您会看到显示的软件包列表,点击安装"按钮

更新配置虽然晚了几个版本,不知道是否还在维护,最好也去Squeak Virtual Machine Development Discussion"询问

The update configuration is a few versions late though, not sure if it is still maintained, the best is also to ask on "Squeak Virtual Machine Development Discussion"

EDIT 我认为这个神奇的咒语可以取代上面所有面向 GUI 的操作:

EDIT I think that this magical incantation can replace all GUI oriented operations above:

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

这篇关于如何在 Squeak 中加载 VMMaker?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆