Skip to content

Instantly share code, notes, and snippets.

@semifor
Created November 30, 2009 04:31
Show Gist options
  • Select an option

  • Save semifor/245259 to your computer and use it in GitHub Desktop.

Select an option

Save semifor/245259 to your computer and use it in GitHub Desktop.
~/src/xmobar$ cabal install
Resolving dependencies...
Downloading action-permutations-0.0.0.0...
Configuring action-permutations-0.0.0.0...
Preprocessing library action-permutations-0.0.0.0...
Building action-permutations-0.0.0.0...
[1 of 1] Compiling Control.Applicative.Permutation ( Control/Applicative/Permutation.hs, dist/build/Control/Applicative/Permutation.o )
/usr/bin/ar: creating dist/build/libHSaction-permutations-0.0.0.0.a
Installing library in
/home/mjm/.cabal/lib/action-permutations-0.0.0.0/ghc-6.10.4
Registering action-permutations-0.0.0.0...
Reading package info from "dist/installed-pkg-config" ... done.
Writing new package config file... done.
Configuring hinotify-0.3...
Preprocessing library hinotify-0.3...
In file included from /usr/include/asm/fcntl.h:1,
from /usr/include/linux/fcntl.h:4,
from /usr/include/linux/inotify.h:11,
from INotify.hsc:35:
/usr/include/asm-generic/fcntl.h:96: error: expected specifier-qualifier-list before ‘pid_t’
compiling dist/build/System/INotify_hsc_make.c failed
command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I/usr/lib/ghc-6.10.4/directory-1.0.0.3/include -I/usr/lib/ghc-6.10.4/unix-2.3.2.0/include -I/usr/lib/ghc-6.10.4/old-time-1.0.0.2/include -I/usr/lib/ghc-6.10.4/base-4.1.0.0/include -I/usr/lib/ghc-6.10.4/include -I/usr/lib/ghc-6.10.4/hsc2hs-0.67/../include/ dist/build/System/INotify_hsc_make.c -o dist/build/System/INotify_hsc_make.o
cabal: Error: some packages failed to install:
hinotify-0.3 failed during the building phase. The exception was:
exit: ExitFailure 1
xmobar-0.9.2 depends on hinotify-0.3 which failed to install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment