You are not logged in.

#1 2007-08-15 03:17:40

Kknd
Member
From: Brazil, Santa Catarina
Registered: 2007-08-15
Posts: 100
Website

GHC + gtk2hs

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

#2 2007-08-15 05:35:46

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: GHC + gtk2hs

What error messages are you getting?

Offline

#3 2007-08-16 00:45:21

Kknd
Member
From: Brazil, Santa Catarina
Registered: 2007-08-15
Posts: 100
Website

Re: GHC + gtk2hs

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

#4 2007-08-16 05:55:16

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: GHC + gtk2hs

Report that problem to the Trusted User who maintains that package in the community repo.

Offline

#5 2007-08-16 15:54:33

Kknd
Member
From: Brazil, Santa Catarina
Registered: 2007-08-15
Posts: 100
Website

Re: GHC + gtk2hs

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

#6 2007-09-19 22:12:39

caminoix
Member
From: cracow, poland
Registered: 2005-07-12
Posts: 162
Website

Re: GHC + gtk2hs

hello smile

i've got the same problem. i wonder, have you found a solution and could share it please?

Offline

#7 2007-10-15 20:39:24

caminoix
Member
From: cracow, poland
Registered: 2005-07-12
Posts: 162
Website

Re: GHC + gtk2hs

whee, solved it smile

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

Board footer

Powered by FluxBB