Am Freitag, 6. Januar 2006 21:24 schrieb Mark T.B. Carroll:
Does installing the libsm-dev package help?
-- Mark
Thank you, Mark and Jared. Installing the libsm-dev package resulted in ld outputting a similar error message for -lXmu. After also installing libxmu-dev, linking was possible. 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? Best wishes, Wolfgang
Wolfgang Jeltsch wrote:
Does installing the libsm-dev package help?
-- Mark
Thank you, Mark and Jared.
Installing the libsm-dev package resulted in ld outputting a similar error message for -lXmu. After also installing libxmu-dev, linking was possible.
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. -- Glynn Clements <glynn@gclements.plus.com>
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, Wolfgang
On Fri, Jan 06, 2006 at 10:12:34PM +0100, Wolfgang Jeltsch wrote:
Installing the libsm-dev package resulted in ld outputting a similar error message for -lXmu. After also installing libxmu-dev, linking was possible.
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?
ghc6-hopengl; It's already fixed in unstable. Thanks Ian
participants (3)
-
Glynn Clements -
Ian Lynagh -
Wolfgang Jeltsch