You are not logged in.
Pages: 1
Hi, I installed GHC and Gtk2Hs from the repositories. GHC works fine, but I cant compile anything that uses gtk2hs, and I can't compile gtk2hs from source too.
Someone succeeded in this task?
Thanks.
Offline
What error messages are you getting?
Offline
I get this when installing from the repository:
finalizando...concluído.
(1/1) verificando conflitos de arquivo [###############################################################] 100%
(1/1) instalando gtk2hs [###############################################################] 100%
ghc-pkg.bin: /usr/lib/gtk2hs/glib.cabal: openFile: does not exist (No such file or directory)
ghc-pkg.bin: /usr/lib/gtk2hs/gtk.cabal: openFile: does not exist (No such file or directory)
ghc-pkg.bin: /usr/lib/gtk2hs/mogul.cabal: openFile: does not exist (No such file or directory)
ghc-pkg.bin: /usr/lib/gtk2hs/glade.cabal: openFile: does not exist (No such file or directory)
ghc-pkg.bin: /usr/lib/gtk2hs/sourceview.cabal: openFile: does not exist (No such file or directory)
ghc-pkg.bin: /usr/lib/gtk2hs/gconf.cabal: openFile: does not exist (No such file or directory)
Reading package info from "/usr/lib/gtk2hs/glib.cabal" ... Reading package info from "/usr/lib/gtk2hs/gtk.cabal" ... Reading package info from "/usr/lib/gtk2hs/mogul.cabal" ... Reading package info from "/usr/lib/gtk2hs/glade.cabal" ... Reading package in[kknd@arch ~]$
P.S: I'm trying now to make a package of ghc-6.6.1 and gtk2hs 0.9.12. It takes a looooong time to compile =S.
P.S 2: When compiling ghc 6.6.1, it crashes when it reaches the lib dir
Last edited by Kknd (2007-08-16 02:58:24)
Offline
Report that problem to the Trusted User who maintains that package in the community repo.
Offline
Thanks, I've tried to find his email or other communication method, but I couldn't find anything. I will try searching in GHC documentation =S.
Offline
hello
i've got the same problem. i wonder, have you found a solution and could share it please?
Offline
whee, solved it
it seems that all you need to do is
for pkg in glib cairo svgcairo gtk gconf glade sourceview soegtk; do ghc-pkg update "/usr/lib/gtk2hs/$pkg.package.conf"; done
as root after the installation.
Offline
Pages: 1