Resolving dependencies... Downloading darcs-graph-0.3.2... Configuring darcs-graph-0.3.2... Building darcs-graph-0.3.2... Preprocessing executable 'darcs-graph' for darcs-graph-0.3.2... [1 of 1] Compiling Main ( Graph.hs, dist/build/darcs-graph/darcs-graph-tmp/Main.o ) Graph.hs:294:36: Not in scope: `c_opendir' Graph.hs:295:38: Not in scope: `c_closedir' Perhaps you meant `c_close' (imported from System.Posix.Internals) Graph.hs:300:22: Not in scope: type constructor or class `CDirent' Graph.hs:300:38: Not in scope: type constructor or class `CDir' Graph.hs:303:12: Not in scope: `readdir' Perhaps you meant `readDir' (line 289) Graph.hs:309:52: Not in scope: `d_name' Graph.hs:311:25: Not in scope: `freeDirEnt' Graph.hs:319:39: Not in scope: `end_of_dir' Failed to install darcs-graph-0.3.2 cabal: Error: some packages failed to install: darcs-graph-0.3.2 failed during the building phase. The exception was: ExitFailure 1