Squeak: Work on bugs

    After my tutorial on installing and starting Squeak, I was informed about errors that occurred during the process. The errors are as follows:
    • Freezing when installing FreeType Plus (Pharo has built-in support, so there’s no problem).
    • SqueakMap does not open in the image squeak-dev and squeak-webdev

    Therefore, I decided to post a solution to these two problems.

    Disclaimer


    I’ll explain right away why these problems didn’t arise for me. A bug with installing the FreeType plugin is observed on Windows XP, and I use Ubuntu 8.10 amd64. And I did not notice a bug with the inability to open SqueakMap because for the images squeak-dev and squeak-webdev, the recommended source for installing packages is Universe. However, you can find a lot of useful things in SqueakMap, especially for a beginner. Therefore, you need to fix the problem. To do this, I installed Windows XP on a virtual machine.

    In the future, in my posts, I will not consider the image of squeak-basic, but only squeak-dev, squeak-webdev and Pharo. Just the basic image does not contain any installed tools for the developer.

    Regarding the screencasts posted here. Please do not kick - the first time I do this on Linux. I wanted to do better, especially the sound, but Audacity is shamelessly buggy, the microphone constantly pops and records fan noise. Plus, the audio and video out of sync. Within a minute, the voice significantly overtakes the video. And my mouse is shamelessly buggy - a double-click is constantly triggered. PS : Video available in HD

    Problem installing FreeType Plus


    They helped me find a solution to this problem on the squeak-dev mailing list, thanks to the community. This problem is described in the bugtracker of the project, there is also a patch. Below is the code that must be run to install this patch:
    Installer mantis ensureFix: '6980: Loading FFI kernel makes NetNameResolver unresponsive '.

    Well, a visual guide.

    Download screencast in Theora format


    Problem running SqueakMap in squeak-dev and squeak-webdev


    I did not know the solution to this problem. And I decided to find it myself. In the future, I will touch on the debugging issue in Squeak in detail, but for now you can look at the solution search process in the form of a screencast.

    Download screencast in Theora


    UPD format : the small box opened easier. I found a method SMSqueakMap>>purgethat clears SqueakMap, and then, by clicking on senders, and the hero of the day DEVImageCreator>>cleanMemory. The recipe for happiness also lay nearby:
    SMSqueakMap default loadFull
    .

    Potential problem for users of 64-bit Linux


    Squeak UUIDPlugin is linked to libuuid, so you need to install the appropriate library for 32 bit architecture

    Also popular now: