[Haskell-cafe] An old package and the new Cabal.
jason.dusek at gmail.com
Sun Dec 20 17:43:45 EST 2009
I'm trying to update CEDICT to work with the new Cabal (after
many years of neglect).
Right now, it can't seem to find the data header `c/data.h` no
matter what I put in the Cabal file. I'd think these lines
would do the job:
includes : c/data.h
c-sources : c/data.c
extra-lib-dirs : c
include-dirs : c
The message I get is:
Found existing header file at c/data.h
setup: Missing dependency on a foreign library:
* Missing header file: c/data.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.
It takes like a minute to err out, too. This isn't urgent or
anything but it would be nice to know how to get this build
process -- C generation followed by compilation -- to work
More information about the Haskell-Cafe