<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18999">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>...i'm running into the same
problem...</FONT></DIV>
<DIV><FONT size=2 face=Arial>...i ran the command: cabal install
gtk...</FONT></DIV>
<DIV><FONT size=2 face=Arial>...it can't find the folders: Z, CAIRO,
GOBJECT-2.0, GLIB-2.0, INTL.</FONT></DIV>
<DIV><FONT size=2 face=Arial>...however, they are all, with the exception of Z
and possibly GOBJECT-2.0 - there is no folder for this but there is a library
file for it, in Program Files and surprisingly also in Program Files
(X86)...</FONT></DIV>
<DIV><FONT size=2 face=Arial>...i'm a bit confused about my %PATH% setting, it
is different in the Advanced system settings from what is displayed by echo
%PATH% in the Command window - see following...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT><BR><FONT size=2
face=Arial>C:\Users\User>cabal install gtk</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Resolving dependencies...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial>C:\Users\User\AppData\Local\Temp\cairo-0.12.02164\cairo-0.12.0\Gtk2HsSetup.hs:25:
warning: #warning Setup.hs is guessing the version of Cabal. If compilation of
Se<BR>tup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when
building (prefixed by --ghc-option= when using the 'cabal' command)<BR>[1 of 2]
Compiling Gtk2HsSetup (
C:\Users\User\AppData\Local\Temp\cairo-0.12.02164\cairo-0.12.0\Gtk2HsSetup.hs,
C:\Users\User\AppData\Local\Temp\cairo-0.12.02<BR>164\cairo-0.12.0\dist\setup\Gtk2HsSetup.o
)<BR>[2 of 2] Compiling
Main (
C:\Users\User\AppData\Local\Temp\cairo-0.12.02164\cairo-0.12.0\Setup.hs,
C:\Users\User\AppData\Local\Temp\cairo-0.12.02164\ca<BR>iro-0.12.0\dist\setup\Main.o
)<BR>Linking
C:\Users\User\AppData\Local\Temp\cairo-0.12.02164\cairo-0.12.0\dist\setup\setup.exe
...<BR>Configuring cairo-0.12.0...<BR>setup.exe: Missing dependencies on foreign
libraries:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><STRONG><EM>* Missing C libraries: z,
cairo</EM></STRONG></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR><FONT size=2
face=Arial>C:\Users\User\AppData\Local\Temp\glib-0.12.02164\glib-0.12.0\Gtk2HsSetup.hs:25:
warning: #warning Setup.hs is guessing the version of Cabal. If compilation of
Setu<BR>p.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when
building (prefixed by --ghc-option= when using the 'cabal' command)<BR>[1 of 2]
Compiling Gtk2HsSetup (
C:\Users\User\AppData\Local\Temp\glib-0.12.02164\glib-0.12.0\Gtk2HsSetup.hs,
C:\Users\User\AppData\Local\Temp\glib-0.12.02164<BR>\glib-0.12.0\dist\setup\Gtk2HsSetup.o
)<BR>[2 of 2] Compiling
Main (
C:\Users\User\AppData\Local\Temp\glib-0.12.02164\glib-0.12.0\Setup.hs,
C:\Users\User\AppData\Local\Temp\glib-0.12.02164\glib-<BR>0.12.0\dist\setup\Main.o
)<BR>Linking
C:\Users\User\AppData\Local\Temp\glib-0.12.02164\glib-0.12.0\dist\setup\setup.exe
...<BR>Configuring glib-0.12.0...<BR>setup.exe: Missing dependencies on foreign
libraries:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><STRONG><EM>* Missing C libraries: gobject-2.0,
glib-2.0, intl</EM></STRONG></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>pango-0.12.0 depends on glib-0.12.0 which failed to
install.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>C:\Users\User></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR><FONT size=2
face=Arial>---------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>--My %PATH% at the command window</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>C:\Program Files (x86)\Haskell\bin;<BR>C:\Program
Files (x86)\Haskell Platform\2010.2.0.0\lib\extralibs\bin;<BR>C:\Program Files
(x86)\Haskell
Platform\2010.2.0.0\bin;<BR>C:\Windows\system32;<BR>C:\Windows;C:\Windows\System32\Wbem;<BR>C:\Program
Files (x86)\Common Files\Roxio Shared\DLLShared\;<BR>C:\Program Files
(x86)\Common Files\Roxio
Shared\10.0\DLLShared\;<BR>C:\Users\User\AppData\Roaming\cabal\bin;C:\Program
Files\Gtk+\bin;<BR>C:\Users\User;C:\Program Files (x86)\Gtk+\bin;<BR>c:\Program
Files (x86)\Gtk+\share\gettext</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>--My %PATH% at the Advanced system
settings</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial>C:\Users\User\AppData\Roaming\cabal\bin;<BR>C:\Program
Files\Gtk+\bin;<BR>C:\Users\User;<BR>C:\Program Files
(x86)\Gtk+\bin;<BR>c:\Program Files (x86)\Gtk+\share\gettext</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR><FONT size=2
face=Arial>----------------------------------------------------------------------------<BR>•To
the PKG_CONFIG_PATH environment variable add the 'pkgconfig' directory. The
default path should be "<BR>C:\Program Files\Gtk+\lib\pkgconfig<BR>•To the
INCLUDE environment variable add the 'libglade-2.0' directory.The default path
should be "<BR>C:\Program Files\Gtk+\include\libglade-2.0</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR><FONT size=2 face=Arial>C:\Program
Files\Gtk+\lib\pkgconfig;<BR>C:\Program
Files\Gtk+\lib\pkgconfig\include;<BR>c:\users\user\downloads\libxml2-2.2.7-1_win32\lib\pkgconfig</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>...i'll have to try what you did to see if i can
get it installed...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Good weekend</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=baumgartner.tim@googlemail.com
href="mailto:baumgartner.tim@googlemail.com">Tim Baumgartner</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=beginners@haskell.org
href="mailto:beginners@haskell.org">beginners@haskell.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=kmandpjlynch@verizon.net
href="mailto:kmandpjlynch@verizon.net">Patrick Lynch</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, February 04, 2011 2:13
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Haskell-beginners] gtk2hs
[GIMP ToolKit]</DIV>
<DIV><BR></DIV>Hi Patrick,<BR><BR>I used the same link to install gtk2hs on
Windows XP with Haskell Platform 2010.2.0 about 3 days ago. I'm a beginner as
well. I had a number of problems. In the end, I managed to install version
0.11 with some extra-work:<BR>- I added HaskellPlatform/2010.2.0.0/mingw/bin
to the PATH (because there is my only current gcc.exe)<BR>- ugly: I copied
Gtk+/include/glib-2.0 to a temp folder and copied this again *into*
Gtk+/include/glib-2.0 (the output of pkg-config looked alright...)<BR>-
I repeated the previous steps for other include folders as well<BR><BR>Note:
in order to install a specific version of a package you can e.g.<BR>cabal
install gtk2hs-buildtools-0.11.2<BR><BR>Installation of 0.12. failed with the
following error:<BR>[ 5 of 24] Compiling System.GIO.Volumes.VolumeMonitor (
dist\build\System\GIO\Volumes\VolumeMonitor.hs,
dist\build\System\GIO\Volumes\VolumeMonitor.o
)<BR><BR>System\GIO\Volumes\VolumeMonitor.chs:56:4:<BR> Not
in scope: `vmDriveStopButton'<BR><BR>Regards,<BR>Tim<BR><BR>
<DIV class=gmail_quote>2011/2/3 Patrick Lynch <SPAN dir=ltr><<A
href="mailto:kmandpjlynch@verizon.net"
target=_blank>kmandpjlynch@verizon.net</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2 face=Arial>...I'm going to try to install gtk2hs
again...</FONT></DIV>
<DIV><FONT size=2 face=Arial>...I'll be using the link <A
href="http://www.haskell.org/haskellwiki/Gtk2Hs"
target=_blank>http://www.haskell.org/haskellwiki/Gtk2Hs</A></FONT></DIV>
<DIV><FONT size=2 face=Arial>...I'd appreciate any help...</FONT></DIV>
<DIV> </DIV></DIV><BR>_______________________________________________<BR>Beginners
mailing list<BR><A href="mailto:Beginners@haskell.org"
target=_blank>Beginners@haskell.org</A><BR><A
href="http://www.haskell.org/mailman/listinfo/beginners"
target=_blank>http://www.haskell.org/mailman/listinfo/beginners</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>