Skip to content

Instantly share code, notes, and snippets.

@pogin503
Created April 21, 2012 18:14
Show Gist options
  • Select an option

  • Save pogin503/2438907 to your computer and use it in GitHub Desktop.

Select an option

Save pogin503/2438907 to your computer and use it in GitHub Desktop.
$ cabal install gio
Resolving dependencies...
[1 of 2] Compiling SetupWrapper ( /tmp/gio-0.12.3-8865/gio-0.12.3/SetupWrapper.hs, /tmp/gio-0.12.3-8865/gio-0.12.3/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main ( /tmp/gio-0.12.3-8865/gio-0.12.3/Setup.hs, /tmp/gio-0.12.3-8865/gio-0.12.3/dist/setup/Main.o )
Linking /tmp/gio-0.12.3-8865/gio-0.12.3/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring gio-0.12.3...
Building gio-0.12.3...
Preprocessing library gio-0.12.3...
gtk2hsC2hs: Error in C header file.
/usr/include/glib-2.0/gio/gio.h:1: (column 0) [FATAL]
>>> Lexical error!
The character '#' does not fit here.
cabal: Error: some packages failed to install:
gio-0.12.3 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment