
I think you want the third-party pkg-config[1] tool. Are you trying to
install Gtk2hs by any chance?
-deech
[1] http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.25-1...
On Thu, Jan 20, 2011 at 5:27 PM, Michael Litchard
I have Haskell Platform installed, trying to install glib. Here's what happens.
$ cabal install glib Resolving dependencies... C:\Users\PERFOR~1\AppData\Local\Temp\glib-0.12.02360\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_MINOR=x for Cabal version 1.x.0 when build ing (prefixed by --ghc-option= when using the 'cabal' command) [1 of 2] Compiling Gtk2HsSetup ( C:\Users\PERFOR~1\AppData\Local\Temp\glib- 0.12.02360\glib-0.12.0\Gtk2HsSetup.hs, C:\Users\PERFOR~1\AppData\Local\Temp\glib -0.12.02360\glib-0.12.0\dist\setup\Gtk2HsSetup.o ) [2 of 2] Compiling Main ( C:\Users\PERFOR~1\AppData\Local\Temp\glib- 0.12.02360\glib-0.12.0\Setup.hs, C:\Users\PERFOR~1\AppData\Local\Temp\glib-0.12. 02360\glib-0.12.0\dist\setup\Main.o ) Linking C:\Users\PERFOR~1\AppData\Local\Temp\glib-0.12.02360\glib-0.12.0\dist\se tup\setup.exe ... Configuring glib-0.12.0... setup.exe: pkg-config version >=0.9.0 is required but it could not be found. cabal.exe: Error: some packages failed to install: glib-0.12.0 failed during the configure step. The exception was: ExitFailure 1
Okay, so all I need to do is install pkg-config
$ cabal install pkg-config cabal.exe: There is no package named pkg-config. Perhaps you need to run 'cabal update' first?
hmm, so how do I install pkg-config? cabal update didn't help
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners