Re: [Haskell] GHC and GLUT

2006-01-10 Thread Wolfgang Jeltsch
Am Montag, 9. Januar 2006 10:56 schrieb Axel Simon: On Fri, 2006-01-06 at 22:37 +0100, Wolfgang Jeltsch wrote: Hello again, now that I had installed libsm-dev and libxmu-dev, building a Gears binary worked well. Since the problem didn't seem related to the GHC version, I deinstalled

[Haskell] GHC and GLUT

2006-01-06 Thread Wolfgang Jeltsch
Hello, I just wanted to compile the Gears example from the HOpenGL's GLUT source but it didn't work. I got the following messages: Chasing modules from: Gears.hs Compiling Main ( Gears.hs, Gears.o ) Linking ... /usr/bin/ld: cannot find -lSM

Re: [Haskell] GHC and GLUT

2006-01-06 Thread Jared Updike
Linking ... /usr/bin/ld: cannot find -lSM collect2: ld returned 1 exit status I've had GHC (ld actually) die for similar things like cannot find -lgmp. Here is how I fixed it. Make sure you have libSM, the X Session Management Library, and make sure that it is in a

Re: [Haskell] GHC and GLUT

2006-01-06 Thread Wolfgang Jeltsch
Am Freitag, 6. Januar 2006 21:13 schrieb Wolfgang Jeltsch: Hello, I just wanted to compile the Gears example from the HOpenGL's GLUT source but it didn't work. I got the following messages: Chasing modules from: Gears.hs Compiling Main ( Gears.hs, Gears.o )

Re: [Haskell] GHC and GLUT

2006-01-06 Thread Wolfgang Jeltsch
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.

Re: [Haskell] GHC and GLUT

2006-01-06 Thread Wolfgang Jeltsch
Hello again, now that I had installed libsm-dev and libxmu-dev, building a Gears binary worked well. Since the problem didn't seem related to the GHC version, I deinstalled the GHC backports and installed GHC from sarge again which is 6.2.2. However, with GHC 6.2.2 I got these error messages

Re: [Haskell] GHC and GLUT

2006-01-06 Thread Glynn Clements
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

Re: [Haskell] GHC and GLUT

2006-01-06 Thread Ian Lynagh
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