[Haskell-beginners] Trying to compile Glade Gtk2Hs demo / cabal install glade problem
tobnels at freenet.de
Tue Feb 28 00:37:36 CET 2012
Am 27.02.2012 14:05, schrieb Tobias:
> I am trying to compile a Glade Gtk2Hs demo and I get the same error as
> described at
> when I try install cabal glade: "setup.exe: The pkg-config package
> libglade-2.0 version >=2.0.0 is required but it could not be found."
> The next reply to the email (
> ) is the interrogator himself again thanking some people who told him
> how to fix that /
> "libglade-2.0.pc needed the edit"-
> Can you tell me what I have to edit in this libglade-2.0.pc.file and
> where this file should be? Thanks in advance!
Ok, I found the missing replies on
and this problem is fixed. Now I run into the next error trying "cabal
setup.exe: Missing dependencies on foreign libraries:
* Missing C libraries: glade-2.0, gtk-win32-2.0, xml2, gdk-win32-2.0,
gio-2.0, gdk_pixbuf-2.0, pangowin32-1.0, gdi32, pangocairo-1.0, pango-1.0,
cairo, gobject-2.0, gmodule-2.0, glib-2.0, intl
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal: Error: some packages failed to install:
glade-0.12.1 failed during the configure step. The exception was:
as described also here:
where should the above described libraries be located? at ..\Gtk+\lib ?
I think some of them are there ( pango-1.0.lib ) but some of them are
not ( glade-2.0 (?)/).
/However, when I run "cabal install gtk" it says "No packages to be
installed. All the requested packages are already installed."
can anyone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners