Package: ghc6-hopengl Version: 6.4-4 Severity: important
To clarify, I have the unstable versions of ghc6 and ghc6-hopengl, while the rest of my system is from stable. I do not know why the section below says that apt prefers unstable, because I've pinned it to stable and used apt-get unstable/ghc6-hopengl. That may be a source of this, but somehow I doubt it. Here is my example: $ cat test.hs main = putStrLn "Hello world" $ ghc -package GLUT test.hs /usr/bin/ld: cannot find -lSM collect2: ld returned 1 exit status Then I searched for libsm.a in the debian packages, found that it was in libsm-dev, and installed that: $ cat test.hs main = putStrLn "Hello world" $ ghc -package GLUT test.hs /usr/bin/ld: cannot find -lXmu collect2: ld returned 1 I searched for libxmu.a, found it was in libxmu-dev, and installed that. That was enough for successful compilation. A further test with an actual HOpenGL program successfully compiled at that point, although I did get a message which I think is not related: Xlib: extension "XFree86-DRI" missing on display ":0.0". Don't worry about that message unless you already know it's also a part of this same issue. I just included here in case it becomes relevant. This may not be an actual bug, and if there were docs that specified how to avoid linking to these libraries, then I wouldn't consider this to be a bug. In the absence of such docs, it seems like a missing depends. - Eric Etheridge -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-386 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages ghc6-hopengl depends on: ii freeglut3-dev [libglut3- 2.2.0-8 OpenGL Utility Toolkit development ii ghc6 6.4-4 GHC - the Glasgow Haskell Compilat ii libglut3-dev 3.7-25 development libraries and headers ii xlibmesa-gl-dev 4.3.0.dfsg.1-14 Mesa 3D graphics library developme ii xlibmesa-glu-dev 4.3.0.dfsg.1-14 Mesa OpenGL utility library develo -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]