The Artima Developer Community
Sponsored Link

Agile Buzz Forum
VWNC issues on some Linux Distros

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
VWNC issues on some Linux Distros Posted: Nov 26, 2005 1:57 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: VWNC issues on some Linux Distros
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Some people are reporting problems running VisualWorks on some Linux distributions - Ubuntu and Gentoo have come up, as well as Debian. Steve Kelly made a post on the vwnc list that has some answers:

A customer was trying out our MetaEdit+ app, (7.1 image, 7.2 VM) on Ubuntu 5.04, and received several primitiveFailed errors. The errors turned out to be when VW was trying to allocate a scaled Helvetica font - most font sizes needed were available as bitmap fonts, but whenever VW tried to use the scalable (size 0) font that xlsfonts said was available, it got a primitveFailed allocating the font.

I tried out 7.3.1, and that sat there at start-up grabbing all the CPU and increasing memory without ever opening a window. If the VISUALWORKS variable wasn't defined, it managed to open an empty "Source files invalid" window, and then Ctrl-Shift-y and printProcessorStacks revealed that it too had a process with an error trying to allocate a font. dpkg-reconfigure fontconfig didn't help, nor did several other approaches.

In the end I solved it by installing the Ghostscript extension package that lets X use the Ghostscript fonts:


  sudo apt-get install gsfonts-x11

Apparently the Helvetica (aliased?) there works better, or some change it makes to the fonts config files (the package install no new fonts itself). 7.1 works fine with different sized fonts, and 7.3.1 starts up fine.

Although I hadn't used it before a couple of days ago, Ubuntu looks very nice, and is currently the most popular distro according to www.distrowatch.com, so this may become an issue for others. It's a Debian based distro, using the X.org successor to XFree86 4.0, so possibly this problem may become apparent in other similar distros (Gentoo?). Hopefully posting here will save someone a few minutes!

All the best,

Steve

Read: VWNC issues on some Linux Distros

Topic: The blowback continues Previous Topic   Next Topic Topic: SSE

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use