I am following the steps outlined here but I am still getting errors
related to my install of gtk<br><br>Here is one of the first errors:<br><br>tup\setup.exe
...<br>Configuring cairo-0.12.0...<br>setup.exe: Missing dependencies
on foreign libraries:<br>
* Missing C libraries: z, cairo<br>This problem can usually be solved by
installing the system packages that<br>provide these libraries (you may
need the "-dev" versions). If the libraries<br>are already installed
but in a non-standard location then you can use the<br>
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they
are.<br><br><a href="http://www.haskell.org/haskellwiki/Gtk2Hs" target="_blank">http://www.haskell.org/haskellwiki/Gtk2Hs</a><br><br><br>Here
is the output:<br>C:\Documents and Settings\Bot User>echo %LIB%<br>
C:\Program Files\Gtk+\lib<br><br>C:\Documents and Settings\Bot
User>echo %PKG_CONFIG_PATH%<br>C:\Program
Files\Gtk+\lib\pkgconfig;C:\<div id=":1pu">Program Files\Gtk+\include\libglade-2.0;C:\Program
Files\libxml2\libxml2-dev_2.7.7-1_win32\lib\pkgconfig<br>
<br>I got the install of GTK and everything worked:<br><a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/3.6/glade3-3.6.7-with-GTK+.exe" target="_blank">http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/3.6/glade3-3.6.7-with-GTK+.exe</a><br>
<br><br>Microsoft Windows XP [Version 5.1.2600]<br><br>C:\Documents and
Settings\Bot User>cabal update<br>Downloading the latest package list
from <a href="http://hackage.haskell.org/" target="_blank">hackage.haskell.org</a><br><br>Version:<br>
C:\Documents and Settings\Bot User>ghc --version<br>The Glorious
Glasgow Haskell Compilation System, version 6.12.3<br><br><br>C:\Documents
and Settings\Bot User>cabal install gtk2hs-buildtools<br>Resolving
dependencies...<br>
Configuring gtk2hs-buildtools-0.12.0...<br>Preprocessing executables for
gtk2hs-buildtools-0.12.0...<br>...<br>hs\gtk2hsC2hs-tmp\GenBind.o )<br>[41
of 41] Compiling Main ( c2hs\toplevel\Main.hs,
dist\build\gtk2hs<br>
C2hs\gtk2hsC2hs-tmp\Main.o )<br>Linking dist\build\gtk2hsC2hs\gtk2hsC2hs.exe
...<br>Installing executable(s) in C:\Documents and Settings\Bot
User\Application<br>Data\cabal\bin<br><br>Here is where it fails:<br><br>C:\Documents
and Settings\Bot User>cabal install gtk<br>
Resolving dependencies...<br>C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.03164\cairo-0.12.0\Gtk2HsSetup.hs:<br>25:
warning: #warning Setup.hs is guessing the version of Cabal. If
compilation<br>of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal
version 1.x.0 when build<br>
ing (prefixed by --ghc-option= when using the 'cabal' command)<br>[1 of
2] Compiling Gtk2HsSetup ( C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0<br>.12.03164\cairo-0.12.0\Gtk2HsSetup.hs,
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-<br>
0.12.03164\cairo-0.12.0\dist\setup\Gtk2HsSetup.o )<br>[2 of 2]
Compiling Main ( C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0<br>.12.03164\cairo-0.12.0\Setup.hs,
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.0<br>
3164\cairo-0.12.0\dist\setup\Main.o )<br>Linking
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.03164\cairo-0.12.0\dist\se<br>tup\setup.exe
...<br>Configuring cairo-0.12.0...<br>setup.exe: Missing dependencies
on foreign libraries:<br>
* Missing C libraries: z, cairo<br>This problem can usually be solved by
installing the system packages that<br>provide these libraries (you may
need the "-dev" versions). If the libraries<br>are already installed
but in a non-standard location then you can use the<br>
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they
are.<br>C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.03164\glib-0.12.0\Gtk2HsSetup.hs:25<br>:
warning: #warning Setup.hs is guessing the version of Cabal. If
compilation of<br>
Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when
buildin<br>g (prefixed by --ghc-option= when using the 'cabal' command)<br>[1
of 2] Compiling Gtk2HsSetup ( C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.<br>
12.03164\glib-0.12.0\Gtk2HsSetup.hs, C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.1<br>2.03164\glib-0.12.0\dist\setup\Gtk2HsSetup.o
)<br>[2 of 2] Compiling Main (
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.<br>12.03164\glib-0.12.0\Setup.hs,
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.0316<br>
4\glib-0.12.0\dist\setup\Main.o )<br>Linking
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.03164\glib-0.12.0\dist\setu<br>p\setup.exe
...<br>Configuring glib-0.12.0...<br>setup.exe: Missing dependencies on
foreign libraries:<br>
* Missing C libraries: gobject-2.0, glib-2.0, intl<br>This problem can
usually be solved by installing the system packages that<br>provide
these libraries (you may need the "-dev" versions). If the libraries<br>
are already installed but in a non-standard location then you can use
the<br>flags --extra-include-dirs= and --extra-lib-dirs= to specify
where they are.<br>cabal: Error: some packages failed to install:<br>cairo-0.12.0
failed during the configure step. The exception was:<br>
ExitFailure 1<br>gio-0.12.0 depends on glib-0.12.0 which failed to
install.<br>glib-0.12.0 failed during the configure step. The exception
was:<br>ExitFailure 1<br>gtk-0.12.0 depends on glib-0.12.0 which failed
to install.<br>
pango-0.12.0 depends on glib-0.12.0 which failed to install.<br><br>C:\Documents
and Settings\Bot User></div><br clear="all"><br>-- <br>Berlin Brown (berlin dot brown at <a href="http://gmail.com">gmail.com</a>)<br><a href="http://botnode.com">http://botnode.com</a><br><a href="http://berlinbrowndev.blogspot.com/">http://berlinbrowndev.blogspot.com/</a><br>