[Haskell-beginners] Installing Gtk2hs

Colin Paul Adams colin at colina.demon.co.uk
Sat Nov 29 16:39:46 EST 2008


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?
-- 
Colin Adams
Preston Lancashire


More information about the Beginners mailing list