[Haskell-cafe] gtk2hs linking problems

Bertram Felgenhauer bertram.felgenhauer at googlemail.com
Fri May 23 20:45:16 EDT 2008

Nabil Alsharif wrote:
> I downloaded the gtk2hs tarball and did the standard configure,
> make, make install but when I go to compile a test program I get a bunch
> of errors that look like:

How did you compile the program?

[snip link errors]

This usually indicates a missing  --make  or  -package  flag
(in your case, -package gtk) in the ghc invocation. Try

   ghc --make Test.hs



More information about the Haskell-Cafe mailing list