[Haskell-beginners] Re: Installing Gtk2hs

Andy Stewart lazycat.manatee at gmail.com
Sat Nov 29 20:17:50 EST 2008


Hi, Colin,

I found same problem with me.
I think gtk2hs can't compile success with GHC 6.10.1
So i back to 6.8

Regards,

  -- Andy.

Colin Paul Adams <colin at colina.demon.co.uk> writes:

> The install instructions seem very straight-forward, but they are not
> working for me.
>
> I did:
>
> ./configure --enable-docs --disable-deprecated
> make
> su -c'make install'
>
> but the demos won't compile (they can't find the libraries).
>
> checking the stderr from make shows:
>
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: mtl
> make: *** Deleting file `package.conf.inplace'
> package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
> package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: base
> ghc-pkg: Unversioned dependencies found: mtl
> make[1]: *** Deleting file `package.conf.inplace'
> package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
> package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
>
> on the commandline:
>     Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead
> package.conf.inplace: openBinaryFile: does not exist (No such file or directory)
> make[1]: *** [glib/System/Glib.o] Error 1
> make: *** [all] Error 2
>
> My environment is Fedora 10 (64-bit). Ghc 6.10.1.
>
> Any suggestions?



More information about the Beginners mailing list