[Haskell-cafe] Install GTK on Windows

Daniel Díaz danieldiaz at asofilak.es
Fri Feb 25 22:20:10 CET 2011


Thanks for the responses, but my error remains.

I wrote two scripts, following both different instructions.

Script 1:

@echo off
title GTK Haskell Setup
echo * Add GTK bin folder.
set PATH=%PATH%;C:\Documents and Settings\User\Escritorio\GTK\GTKAIO\bin
echo * Add GTK include folder.
set PATH=%PATH%;C:\Documents and Settings\User\Escritorio\GTK\GTKAIO\include
echo * Add GTK lib folder.
set PATH=%PATH%;C:\Documents and Settings\User\Escritorio\GTK\GTKAIO\lib
echo * Add Cabal bin folder.
set PATH=%PATH%;C:\Documents and Settings\User\Datos de programa\cabal\bin
echo * Add mingw folder.
set PATH=%PATH%;C:\Archivos de programa\Haskell Platform\2010.2.0.0\mingw\bin
echo * Value of PATH.
echo %PATH%
echo * Install GTK buildtools.
cabal install gtk2hs-buildtools
echo * Install GTK.
cabal install gtk

Script 2:

@echo off
title GTK Haskell Setup
echo * Add pkgconfig directory for libxml.
set PKG_CONFIG_PATH=%PKG_CONFIG_PATH%;C:\Documents and
Settings\User\Escritorio\GTK\libmxl2\libxml2-dev_2.7.7-1_win32\lib\pkgconfig
echo * Add include directory for libxml.
set INCLUDE=%INCLUDE%;C:\Documents and
Settings\User\Escritorio\GTK\libmxl2\libxml2-dev_2.7.7-1_win32\include
echo * Add pkgconfig directory for GTK.
set PKG_CONFIG_PATH=%PKG_CONFIG_PATH%;C:\Documents and
Settings\User\Escritorio\GTK\Gtk+\lib\pkgconfig
echo * Add libglade directory.
set INCLUDE=%INCLUDE%;C:\Documents and
Settings\User\Escritorio\GTK\Gtk+\include\libglade-2.0
echo * Value of PATH.
echo %PATH%
echo * Value of INCLUDE
echo %INCLUDE%
echo * Value of PKG_CONFIG_PATH
echo %PKG_CONFIG_PATH%
echo * Install GTK buildtools.
cabal install gtk2hs-buildtools
echo * Install GTK.
cabal install gtk

In the script 1, GTKAIO is the folder where I installed the GTK All In One.

Apparently, I followed your instructions. Otherwise, what's wrong?





More information about the Haskell-Cafe mailing list