When I try to build pango gtk2hsC2hs appears to mangle the --include's and then cannot find the .chi file it is looking for:
searching for ghc in path. found ghc at C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--numeric-version"]) C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe is version 6.12.1 looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell Platform\2010.1.0.0\bin found package tool in C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["--version"]) C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe is version 6.12.1 ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--supported-languages"]) Reading installed packages... ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--global","-v2"]) ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--user","-v2"]) Reading available packages... Resolving dependencies... selecting pango-0.10.5 (hackage) selecting cairo-0.10.5 (installed) and discarding Win32-2.1, 2.1.0.0, 2.2.0.0, 2.2.0.1, 2.2.0.2, array-0.1.0.0, 0.2.0.0, 0.3.0.0, bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2, 0.9.1.3, 0.9.1.4, 0.9.1.5, 0.9.1.6, directory-1.0.0.0, 1.0.0.3, 1.0.1.0, 1.0.1.1, filepath-1.0, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.1.0.4, haskell98-1.0, 1.0.1.0, 1.0.1.1, mtl-1.0, 1.1.0.0, 1.1.0.1, 1.1.0.2, old-locale-1.0.0.0, 1.0.0.1, 1.0.0.2, old-time-1.0.0.0, 1.0.0.2, 1.0.0.3, 1.0.0.4, process-1.0.0.0, 1.0.1.1, 1.0.1.2, random-1.0.0.0, 1.0.0.1, 1.0.0.2, time-1.0, 1.1.2.0, 1.1.2.1, 1.1.2.2, 1.1.2.3, 1.1.2.4, 1.1.3, 1.1.4, 1.2, 1.2.0.1 and 1.2.0.2 selecting Win32-2.2.0.1 (installed) selecting array-0.3.0.0 (installed) selecting bytestring-0.9.1.5 (installed) selecting directory-1.0.1.0 (installed) selecting ffi-1.0 (installed) selecting filepath-1.1.0.3 (installed) selecting ghc-prim-0.2.0.0 (installed) selecting glib-0.10.5 (installed) and discarding containers-0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1 and 0.3.0.0 selecting containers-0.3.0.0 (installed) selecting haskell98-1.0.1.1 (installed) selecting integer-gmp-0.2.0.0 (installed) selecting mtl-1.1.0.2 (installed) selecting old-locale-1.0.0.2 (installed) selecting old-time-1.0.0.3 (installed) selecting process-1.0.1.2 (installed) selecting random-1.0.0.2 (installed) selecting rts-1.0 (installed) selecting time-1.1.4 (installed) selecting pretty-1.0.1.1 (installed or hackage) and discarding pretty-1.0.0.0 and 1.0.1.0 selecting base-3.0.3.2 (installed) and 4.2.0.0 (installed) and discarding syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2 and 0.2.1 selecting syb-0.1.0.2 (installed) In order, the following would be installed: pango-0.10.5 (new package) Using external setup method with build-type Custom Creating .\dist\setup (and its parents) Using Cabal library version 1.8.0.2 Using .\Setup.hs as setup script. .\dist\setup\setup.exe configure --verbose=3 --ghc --prefix=C:\Documents and Settings\Ryan\Application Data\cabal --user --flags=pango_1_6 --flags=pango_1_4 --flags=pango_1_2 --flags=new-exception --constraint=array ==0.3.0.0 --constraint=base ==4.2.0.0 --constraint=cairo ==0.10.5 --constraint=containers ==0.3.0.0 --constraint=directory ==1.0.1.0 --constraint=glib ==0.10.5 Configuring pango-0.10.5... Creating dist (and its parents) searching for ghc in path. found ghc at C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--numeric-version"]) C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe is version 6.12.1 looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell Platform\2010.1.0.0\bin found package tool in C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["--version"]) C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe is version 6.12.1 ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["--supported-languages"]) Reading installed packages... ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--global","-v2"]) ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc-pkg.exe",["dump","--user","-v2"]) Flags chosen: pango_1_6=True, pango_1_4=True, pango_1_2=True, new-exception=True Dependency array ==0.3.0.0: using array-0.3.0.0 Dependency base ==4.2.0.0: using base-4.2.0.0 Dependency cairo ==0.10.5: using cairo-0.10.5 Dependency containers ==0.3.0.0: using containers-0.3.0.0 Dependency directory ==1.0.1.0: using directory-1.0.1.0 Dependency glib ==0.10.5: using glib-0.10.5 Dependency haskell98 ==1.0.1.1: using haskell98-1.0.1.1 Dependency pretty ==1.0.1.1: using pretty-1.0.1.1 Dependency process ==1.0.1.2: using process-1.0.1.2 searching for alex in path. found alex at C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\alex.exe",["--version"]) C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe is version 2.3.2 searching for ar in path. found ar at C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ar.exe searching for c2hs in path. Cannot find c2hs on the path searching for cpphs in path. Cannot find cpphs on the path searching for ffihugs in path. Cannot find ffihugs on the path ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["-dumpversion"]) C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe is version 3.4.5 searching for greencard in path. Cannot find greencard on the path searching for gtk2hsC2hs in path. found gtk2hsC2hs at C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsC2hs.exe searching for gtk2hsHookGenerator in path. found gtk2hsHookGenerator at C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsHookGenerator.exe searching for gtk2hsTypeGen in path. found gtk2hsTypeGen at C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsTypeGen.exe searching for haddock in path. found haddock at C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\haddock.exe",["--version"]) C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe is version 2.7.2 searching for happy in path. found happy at C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\lib\\extralibs\\bin\\happy.exe",["--version"]) C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe is version 1.18.4 searching for hmake in path. Cannot find hmake on the path searching for hsc2hs in path. found hsc2hs at C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\hsc2hs.exe",["--version"]) C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe is version 0.67 searching for HsColour in path. Cannot find HsColour on the path searching for hugs in path. Cannot find hugs on the path searching for jhc in path. Cannot find jhc on the path ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\bin\\ghc.exe",["-c","C:\\DOCUME~1\\Ryan\\LOCALS~1\\Temp\\4380.c","-o","C:\\DOCUME~1\\Ryan\\LOCALS~1\\Temp\\4380.o"]) ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\mingw32\\bin\\ld.exe",["-x","-r","C:\\DOCUME~1\\Ryan\\LOCALS~1\\Temp\\4380.o","-o","C:\\DOCUME~1\\Ryan\\LOCALS~1\\Temp\\4381.o"]) searching for lhc in path. Cannot find lhc on the path searching for lhc-pkg in path. Cannot find lhc-pkg on the path searching for nhc98 in path. Cannot find nhc98 on the path searching for pkg-config in path. found pkg-config at C:\opt\GTK\2.20\bin\pkg-config.exe ("C:\\opt\\GTK\\2.20\\bin\\pkg-config.exe",["--version"]) C:\opt\GTK\2.20\bin\pkg-config.exe is version 0.23 searching for ranlib in path. found ranlib at C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ranlib.exe searching for strip in path. found strip at C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\strip.exe searching for tar in path. Cannot find tar on the path ("C:\\opt\\GTK\\2.20\\bin\\pkg-config.exe",["--modversion","pango"]) Dependency pango >=1.0: using version 1.28.0 ("C:\\opt\\GTK\\2.20\\bin\\pkg-config.exe",["--cflags","pango"]) ("C:\\opt\\GTK\\2.20\\bin\\pkg-config.exe",["--libs","pango"]) Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.1 Using install prefix: C:\Documents and Settings\Ryan\Application Data\cabal Binaries installed in: C:\Documents and Settings\Ryan\Application Data\cabal\bin Libraries installed in: C:\Documents and Settings\Ryan\Application Data\cabal\pango-0.10.5\ghc-6.12.1 Private binaries installed in: C:\Documents and Settings\Ryan\Application Data\cabal\pango-0.10.5 Data files installed in: C:\Program Files\Haskell\pango-0.10.5 Documentation installed in: C:\Documents and Settings\Ryan\Application Data\cabal\doc\pango-0.10.5 Using alex version 2.3.2 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\alex.exe Using ar found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ar.exe No c2hs found No cpphs found No ffihugs found Using gcc version 3.4.5 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\gcc.exe Using ghc version 6.12.1 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc.exe Using ghc-pkg version 6.12.1 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\bin\ghc-pkg.exe No greencard found Using gtk2hsC2hs found on system at: C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsC2hs.exe Using gtk2hsHookGenerator found on system at: C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsHookGenerator.exe Using gtk2hsTypeGen found on system at: C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsTypeGen.exe Using haddock version 2.7.2 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\bin\haddock.exe Using happy version 1.18.4 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\lib\extralibs\bin\happy.exe No hmake found Using hsc2hs version 0.67 found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\bin\hsc2hs.exe No hscolour found No hugs found No jhc found Using ld found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\mingw\mingw32\bin\ld.exe No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.23 found on system at: C:\opt\GTK\2.20\bin\pkg-config.exe Using ranlib found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\ranlib.exe Using strip found on system at: C:\Program Files\Haskell Platform\2010.1.0.0\mingw\bin\strip.exe No tar found ("C:\\opt\\GTK\\2.20\\bin\\pkg-config.exe",["--modversion","pango"]) Ensuring that class hierarchy in Graphics/Rendering/Pango/Types.chs is up-to-date. ("C:\\Documents and Settings\\Ryan\\Application Data\\cabal\\bin\\gtk2hsTypeGen.exe",["--forward=*System.Glib.GObject","--modname=Graphics.Rendering.Pango.Types","--tag=pango","--tag=pango-1.0","--tag=pango-1.2","--tag=pango-1.4","--tag=pango-1.6","--tag=pango-1.8","--tag=pango-1.10","--tag=pango-1.12","--tag=pango-1.14","--tag=pango-1.16","--tag=pango-1.18","--tag=pango-1.20","--tag=pango-1.22","--tag=pango-1.24","--tag=pango-1.26","--tag=pango-1.28"]) Creating dist\build\autogen (and its parents) ("C:\\Program Files\\Haskell Platform\\2010.1.0.0\\mingw\\bin\\gcc.exe",["C:\\DOCUME~1\\Ryan\\LOCALS~1\\Temp\\4380.c","-o","C:\\DOCUME~1\\Ryan\\LOCALS~1\\Temp\\4380","-D__GLASGOW_HASKELL__=612","-Idist\\build\\autogen","-Idist\\build","-I.","-IC:/opt/GTK/2.20/include/pango-1.0","-IC:/opt/GTK/2.20/include/glib-2.0","-IC:/opt/GTK/2.20/lib/glib-2.0/include","-I.","-DHAVE_NEW_CONTROL_EXCEPTION","-mms-bitfields","-IC:/opt/GTK/2.20/include/glib-2.0","-IC:/opt/GTK/2.20/lib/glib-2.0/include","-IC:/opt/GTK/2.20/include/cairo","-IC:/opt/GTK/2.20/include/freetype2","-IC:/opt/GTK/2.20/include","-IC:/opt/GTK/2.20/include/libpng14","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\time-1.1.4\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\process-1.0.1.2\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\directory-1.0.1.0\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\old-time-1.0.0.3\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\Win32-2.2.0.1\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\bytestring-0.9.1.5\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0\\include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0/include","-IC:\\Program Files\\Haskell Platform\\2010.1.0.0/include","-lpango-1.0","-lgobject-2.0","-lgmodule-2.0","-lgthread-2.0","-lglib-2.0","-lintl","-LC:/opt/GTK/2.20/lib","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\pretty-1.0.1.1","-LC:\\Documents and Settings\\Ryan\\Application Data\\cabal\\glib-0.10.5\\ghc-6.12.1","-L/opt/GTK/2.20/lib","-LC:/opt/GTK/2.20/lib","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\containers-0.3.0.0","-LC:\\Documents and Settings\\Ryan\\Application Data\\cabal\\cairo-0.10.5\\ghc-6.12.1","-L/opt/GTK/2.20/lib","-LC:/opt/GTK/2.20/lib","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\extralibs\\mtl-1.1.0.2\\ghc-6.12.1","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\haskell98-1.0.1.1","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\random-1.0.0.2","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\time-1.1.4","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\process-1.0.1.2","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\directory-1.0.1.0","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\old-time-1.0.0.3","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\old-locale-1.0.0.2","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\filepath-1.1.0.3","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\array-0.3.0.0","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\Win32-2.2.0.1","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\bytestring-0.9.1.5","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\integer-gmp-0.2.0.0","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0\\ghc-prim-0.2.0.0","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0/gcc-lib","-LC:\\Program Files\\Haskell Platform\\2010.1.0.0"]) --constraint=haskell98 ==1.0.1.1 --constraint=pretty ==1.0.1.1 --constraint=process ==1.0.1.2 Using external setup method with build-type Custom Creating .\dist\setup (and its parents) Using Cabal library version 1.8.0.2 Using .\Setup.hs as setup script. Creating dist\build (and its parents) Creating dist\build\autogen (and its parents) Preprocessing library pango-0.10.5... Creating dist\build\Graphics\Rendering\Pango (and its parents) ("C:\\Documents and Settings\\Ryan\\Application Data\\cabal\\bin\\gtk2hsC2hs.exe",["--include=dist\\build","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\array-0.3.0.0","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\base-4.2.0.0","--include=C:\\Documents and Settings\\Ryan\\Application Data\\cabal\\cairo-0.10.5\\ghc-6.12.1","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\containers-0.3.0.0","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\directory-1.0.1.0","--include=C:\\Documents and Settings\\Ryan\\Application Data\\cabal\\glib-0.10.5\\ghc-6.12.1","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\haskell98-1.0.1.1","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\pretty-1.0.1.1","--include=C:\\Program Files\\Haskell Platform\\2010.1.0.0\\process-1.0.1.2","--cppopts=-Idist\\build\\autogen","--cppopts=-Idist\\build","--cppopts=-I.","--cppopts=-IC:/opt/GTK/2.20/include/pango-1.0","--cppopts=-IC:/opt/GTK/2.20/include/glib-2.0","--cppopts=-IC:/opt/GTK/2.20/lib/glib-2.0/include","--cppopts=-DHAVE_NEW_CONTROL_EXCEPTION","--output-dir=dist\\build\\Graphics\\Rendering\\Pango\\","--output=Types.hs","--precomp=dist\\build\\precompchs.bin","hspango.h",".\\Graphics\\Rendering\\Pango\\Types.chs"]) gtk2hsC2hs.exe: System/Glib/GObject.chi not found in: C \ProgramFiles\HaskellPlatform\2010.1.0.0\process-1.0.1.2 C \ProgramFiles\HaskellPlatform\2010.1.0.0\pretty-1.0.1.1 C \ProgramFiles\HaskellPlatform\2010.1.0.0\haskell98-1.0.1.1 C \DocumentsandSettings\Ryan\ApplicationData\cabal\glib-0.10.5\ghc-6.12.1 C \ProgramFiles\HaskellPlatform\2010.1.0.0\directory-1.0.1.0 C \ProgramFiles\HaskellPlatform\2010.1.0.0\containers-0.3.0.0 C \DocumentsandSettings\Ryan\ApplicationData\cabal\cairo-0.10.5\ghc-6.12.1 C \ProgramFiles\HaskellPlatform\2010.1.0.0\base-4.2.0.0 C \ProgramFiles\HaskellPlatform\2010.1.0.0\array-0.3.0.0 dist\build . C:\Documents and Settings\Ryan\Application Data\cabal\bin\gtk2hsC2hs.exe returned ExitFailure 1 .\dist\setup\setup.exe build --verbose=3
------------------------------------------------------------------------------
_______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel