<div><br></div><div>Here is the include, I will try installing in different steps. </div><div><br></div><div>C:\Documents and Settings\bbrown>echo %INCLUDE%</div><div>C:\Program Files\libxml2\libxml2-dev_2.7.7-1_win32\include</div>
<br><div class="gmail_quote">On Tue, Feb 22, 2011 at 12:22 AM, aditya siram <span dir="ltr"><<a href="mailto:aditya.siram@gmail.com">aditya.siram@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What does 'echo %INCLUDE%' and 'echo %PATH%' output? You might want to<br>
try installing the dependencies separately to see where its going<br>
wrong. For instance 'cabal install glib' and 'cabal install cairo'<br>
etc. Let me know if I can help you further.<br>
<br>
-deech<br>
<div><div></div><div class="h5"><br>
On Mon, Feb 21, 2011 at 11:01 PM, Berlin Brown <<a href="mailto:berlin.brown@gmail.com">berlin.brown@gmail.com</a>> wrote:<br>
> I am following the steps outlined here but I am still getting errors related<br>
> 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:\<br>
> Program Files\Gtk+\include\libglade-2.0;C:\Program<br>
> 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,<br>
> 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<br>
> compilation<br>
> of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when<br>
> build<br>
> ing (prefixed by --ghc-option= when using the 'cabal' command)<br>
> [1 of 2] Compiling Gtk2HsSetup (<br>
> C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0<br>
> .12.03164\cairo-0.12.0\Gtk2HsSetup.hs,<br>
> 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 (<br>
> C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0<br>
> .12.03164\cairo-0.12.0\Setup.hs,<br>
> C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\cairo-0.12.0<br>
> 3164\cairo-0.12.0\dist\setup\Main.o )<br>
> Linking<br>
> 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<br>
> compilation of<br>
> Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when<br>
> buildin<br>
> g (prefixed by --ghc-option= when using the 'cabal' command)<br>
> [1 of 2] Compiling Gtk2HsSetup (<br>
> C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.<br>
> 12.03164\glib-0.12.0\Gtk2HsSetup.hs,<br>
> 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 (<br>
> C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.<br>
> 12.03164\glib-0.12.0\Setup.hs,<br>
> C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.0316<br>
> 4\glib-0.12.0\dist\setup\Main.o )<br>
> Linking<br>
> 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><br>
><br>
> --<br>
> Berlin Brown (berlin dot brown at <a href="http://gmail.com" target="_blank">gmail.com</a>)<br>
> <a href="http://botnode.com" target="_blank">http://botnode.com</a><br>
> <a href="http://berlinbrowndev.blogspot.com/" target="_blank">http://berlinbrowndev.blogspot.com/</a><br>
><br>
</div></div>> _______________________________________________<br>
> Beginners mailing list<br>
> <a href="mailto:Beginners@haskell.org">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>
><br>
</blockquote></div><br><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>