[Haskell] GHC and GLUT

Wolfgang Jeltsch wolfgang at jeltsch.net
Fri Jan 6 17:22:42 EST 2006

Am Freitag, 6. Januar 2006 22:48 schrieben Sie:
> Wolfgang Jeltsch wrote:
> [...]

> > Are libsm-dev and/or libxmu-dev needed for every Haskell GLUT application
> > or just for certain examples?  If they are always needed, some package
> > has not declared all its dependencies. In this case, which package is the
> > one with the dependency declaration bug?
> GLUT uses XmuLookupStandardColormap from libXmu. libXmu requires
> libXt, which in turn requires libSM.
> As that's the only Xmu function which GLUT uses, I would have thought
> that it would be worth making the effort to remove that particular
> dependency from GLUT.
> Insofar as it's a bug, it's in the dependency list for GLUT.
> Ultimately, the correct dependency list for the Haskell GLUT package
> is "GLUT, plus whatever GLUT happens to require on your particular
> system". But I don't know whether the dependency list can be generated
> dynamically.

If the ordinary C GLUT has the libXmu dependency, the dependency bug is in the 
C GLUT Debian packages not in ghc6-hopengl.

Best wishes,

More information about the Haskell mailing list