Created
April 28, 2011 02:09
-
-
Save mwotton/945658 to your computer and use it in GitHub Desktop.
cabal failing to find headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ HFuse-0.2.3 ls -l /usr/local/include/fuse.h | |
-rw-r--r-- 1 root wheel 246 20 Dec 2008 /usr/local/include/fuse.h | |
➜ HFuse-0.2.3 cabal configure | |
Resolving dependencies... | |
Configuring HFuse-0.2.3... | |
cabal: Missing dependency on a foreign library: | |
* Missing header file: fuse.h | |
This problem can usually be solved by installing the system package that | |
provides this library (you may need the "-dev" version). If the library is | |
already installed but in a non-standard location then you can use the flags | |
--extra-include-dirs= and --extra-lib-dirs= to specify where it is. | |
➜ HFuse-0.2.3 cat HFuse.cabal | |
Name: HFuse | |
Version: 0.2.3 | |
License: BSD3 | |
License-File: LICENSE | |
Author: Jeremy Bobbio | |
Maintainer: Taru Karttunen <[email protected]> | |
Synopsis: HFuse is a binding for the Linux FUSE library. | |
Homepage: http://code.haskell.org/hfuse | |
Category: System | |
Stability: Experimental | |
Cabal-Version: >= 1.2 | |
Build-Type: Simple | |
Extra-source-files: README | |
Library | |
Build-Depends: base >= 4 && < 5, unix, bytestring | |
exposed-Modules: System.Fuse | |
Extensions: ForeignFunctionInterface ScopedTypeVariables EmptyDataDecls | |
Include-Dirs: /usr/include, /usr/local/include, ., /usr/local/include/fuse | |
Includes: dirent.h, fuse.h, fcntl.h | |
Extra-Libraries: fuse | |
Extra-Lib-Dirs: /usr/local/lib | |
CC-Options: -D_FILE_OFFSET_BITS=64 | |
if os(darwin) { | |
CC-Options: "-DMACFUSE __FreeBSD__=10" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment