glib-0.12.0 failed during the configure step. The exception was:
ExitFailure 1
Bot Berlin@student-paris ~
$ cabal install glib -v
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --numeric-version
looking for package tool: ghc-pkg near compiler in C:\Program Files\Haskell
Platform\2010.2.0.0\bin
found package tool in C:\Program Files\Haskell
Platform\2010.2.0.0\bin\ghc-pkg.exe
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc-pkg.exe --version
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --supported-languages
Reading installed packages...
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc-pkg.exe dump --global
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc-pkg.exe dump --user
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --print-libdir
Reading available packages...
Resolving dependencies...
selecting glib-0.12.0 (hackage) and discarding glib-0.11.0, 0.11.1 and 0.11.2
selecting haskell98-1.0.1.1 (installed or hackage) and discarding
haskell98-1.0, 1.0.1.0 and 1.1.0.0
selecting process-1.0.1.3 (installed or hackage) and discarding
directory-1.1.0.0, filepath-1.0, process-1.0.0.0, 1.0.1.1, 1.0.1.2 and 1.0.1.4
selecting random-1.0.0.2 (installed or hackage) and discarding random-1.0.0.0,
1.0.0.1 and 1.0.0.3
selecting time-1.1.4 (installed or hackage) and discarding 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.2, 1.2.0.1, 1.2.0.2, 1.2.0.3 and
1.2.0.4
selecting directory-1.0.1.1 (installed or hackage) and discarding
directory-1.0.0.0, 1.0.0.3, 1.0.1.0, 1.0.1.2 and filepath-1.2.0.0
selecting old-time-1.0.0.5 (installed or hackage) and discarding
old-time-1.0.0.0, 1.0.0.2, 1.0.0.3, 1.0.0.4 and 1.0.0.6
selecting old-locale-1.0.0.2 (installed or hackage) and discarding
old-locale-1.0.0.0 and 1.0.0.1
selecting filepath-1.1.0.4 (installed or hackage) and discarding
filepath-1.1.0.0, 1.1.0.1, 1.1.0.2 and 1.1.0.3
selecting containers-0.3.0.0 (installed or hackage) and discarding
containers-0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1 and 0.4.0.0
selecting Win32-2.2.0.2 (installed or hackage) and discarding Win32-2.1,
2.1.0.0, 2.2.0.0 and 2.2.0.1
selecting bytestring-0.9.1.7 (installed or hackage) and discarding
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, 0.9.1.8 and 0.9.1.9
selecting ghc-prim-0.2.0.0 (installed)
selecting ffi-1.0 (installed)
selecting rts-1.0 (installed)
selecting array-0.3.0.1 (installed or hackage) and discarding array-0.1.0.0,
0.2.0.0, 0.3.0.0 and 0.3.0.2
selecting base-3.0.3.2 (installed) and 4.2.0.2 (installed) and discarding
syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2, 0.2.1, 0.2.2 and 0.3
selecting integer-gmp-0.2.0.1 (installed)
selecting syb-0.1.0.2 (installed)
In order, the following would be installed:
glib-0.12.0 (new package)
glib-0.12.0 has already been downloaded.
Extracting C:\Documents and Settings\Bot Berlin\Application
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116...
Creating
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup (and
its parents)
C:\Program Files\Haskell Platform\2010.2.0.0\bin\ghc.exe --make C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\
lib-0.12.07116\glib-0.12.0\Setup.hs -o C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12
0\dist\setup\setup.exe -odir C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\se
up -hidir C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup -i -iC:\DOCUME~
\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0 -package Cabal-1.8.0.6
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\Gtk2HsSetup.hs:25: warning: #warning
Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MIN
R=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command
[1 of 2] Compiling Gtk2HsSetup ( C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.
\Gtk2HsSetup.hs, C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\Gtk2HsSe
up.o )
[2 of 2] Compiling Main ( C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.
\Setup.hs, C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\Main.o )
Linking C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\setup.exe ...
C:\DOCUME~1\BOTBER~1\LOCALS~1\Temp\glib-0.12.07116\glib-0.12.0\dist\setup\setup.exe
configure --verbose=2 --ghc --prefix=C:\Documents and Settings\Bot
Berlin\Application Data\cabal --user --flags=closure_signals --constraint=base
==4.2.0.2 --constraint=containers ==0.3.0.0 --constraint=haskell98 ==1.0.1.1
Configuring glib-0.12.0...
Flags chosen: closure_signals=True
Dependency base ==
4.2.0.2: using base-4.2.0.2
Dependency containers ==
0.3.0.0: using containers-0.3.0.0
Dependency haskell98 ==
1.0.1.1: using haskell98-1.0.1.1
Dependency glib-2.0 -any: using version 2.20.3
Dependency gobject-2.0 -any: using version 2.20.3
Using Cabal-1.8.0.6 compiled by ghc-6.12
Using compiler: ghc-6.12.3
Using install prefix: C:\Documents and Settings\Bot Berlin\Application
Data\cabal
Binaries installed in: C:\Documents and Settings\Bot Berlin\Application
Data\cabal\bin
Libraries installed in: C:\Documents and Settings\Bot Berlin\Application
Data\cabal\glib-0.12.0\ghc-6.12.3
Private binaries installed in: C:\Documents and Settings\Bot
Berlin\Application Data\cabal\glib-0.12.0
Data files installed in: C:\Documents and Settings\Bot Berlin\Application
Data\cabal\glib-0.12.0
Documentation installed in: C:\Documents and Settings\Bot Berlin\Application
Data\cabal\doc\glib-0.12.0
Using alex version 2.3.3 found on system at: C:\Program Files\Haskell
Platform\2010.2.0.0\lib\extralibs\bin\alex.exe
Using ar found on system at: C:\Program Files\Haskell
Platform\2010.2.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.2.0.0\mingw\bin\gcc.exe
Using ghc version 6.12.3 found on system at: C:\Program Files\Haskell
Platform\2010.2.0.0\bin\ghc.exe
Using ghc-pkg version 6.12.3 found on system at: C:\Program Files\Haskell
Platform\2010.2.0.0\bin\ghc-pkg.exe
No greencard found
Using gtk2hsC2hs found on system at: C:\Documents and Settings\Bot
Berlin\Application Data\cabal\bin\gtk2hsC2hs.exe
Using gtk2hsHookGenerator found on system at: C:\Documents and Settings\Bot
Berlin\Application Data\cabal\bin\gtk2hsHookGenerator.exe
Using gtk2hsTypeGen found on system at: C:\Documents and Settings\Bot
Berlin\Application Data\cabal\bin\gtk2hsTypeGen.exe
Using haddock version 2.6.1 found on system at: C:\Program Files\Haskell
Platform\2010.2.0.0\bin\haddock.exe
Using happy version 1.18.5 found on system at: C:\Program Files\Haskell
Platform\2010.2.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.2.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.2.0.0\mingw\bin\ld.exe
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.23 found on system at: C:\Program
Files\Gtk+\bin\pkg-config.exe
Using ranlib found on system at: C:\projects\tools\cygwin\bin\ranlib.exe
Using strip found on system at: C:\projects\tools\cygwin\bin\strip.exe
Using tar found on system at: C:\projects\tools\cygwin\bin\tar.exe
C:\Program Files\Gtk+\bin\pkg-config.exe --modversion glib-2.0
C:\Program Files\Gtk+\bin\pkg-config.exe --modversion gobject-2.0
setup.exe: Missing dependencies on foreign libraries:
* Missing C libraries: gobject-2.0, glib-2.0, intl
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal.exe: Error: some packages failed to install:
glib-0.12.0 failed during the configure step. The exception was:
ExitFailure 1
--
Berlin Brown (berlin dot brown at
gmail.com)
http://botnode.comhttp://berlinbrowndev.blogspot.com/