Graphics problems

Alastair David Reid reid@cs.utah.edu
13 Mar 2002 02:44:19 +0000


> I am having problems with the SOE graphics library for hugs and have
> searched diligently for a fix.  I thought that you might look at
> this and know directly what the problem is.

I do indeed.

This banner shows you're using the Feb 2001 release of Hugs.

  __   __ __  __  ____   ___      _________________________________________
  ||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
  ||___|| ||__|| ||__||  __||     Copyright (c) 1994-2001
  ||---||         ___||           World Wide Web: http://haskell.org/hugs
  ||   ||                         Report bugs to: hugs-bugs@haskell.org
  ||   || Version: February 2001  _________________________________________

Sadly, version 2.0.4 only works with the Dec 2001 release (no version
of HGL works with Feb 2001).

Even more sadly, the last time I looked (less than a month ago), the
Debian package for Hugs was out of date (I've asked the maintainer to
update it but, like most of us, he's swamped).

What to do in the meantime is:

1) Uninstall the debian package of Hugs.

   This is optional but will save you confusion later.

2) Download Hugs yourself from

     http://cvs.haskell.org/Hugs/downloads/hugs98-Dec2001.tar.gz

3) Unpack it and build it

     tar zxvf hugs98-Dec2001.tar.gz
     # see hugs98-Dec2001/Install for installation instructions or
     # just follow the following
     cd hugs98-Dec2001/src/unix
     ./configure --prefix=$HOME --with-readline
     #                    ^^^^^ consider changing this
     cd ..
     make install

Let me know if you run into problems.

-- 
Alastair Reid