Bug#317069: ghc6-hopengl: Missing Several Depends

2005-07-17 Thread Ian Lynagh
On Tue, Jul 05, 2005 at 07:08:54PM -0500, Eric Etheridge wrote:
 
 Then I searched for libsm.a in the debian packages, found that it was in 
 libsm-dev, and installed that:
 
 I searched for libxmu.a, found it was in libxmu-dev, and installed that. 
 That was enough for successful compilation.

It looks like you are right, thanks. I'll try to look into this for my
next upload.

 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.

I don't think this is related. It means you don't have DRI (Direct
Rendering Infrastructure) support. If your graphics card supports this
then setting it up would make rendering faster.


Thanks
Ian



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317069: ghc6-hopengl: Missing Several Depends

2005-07-05 Thread Eric Etheridge
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]