Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't cabal install bitset-1.4.8 on Windows with GHC-7.8.4 #16

Open
Kludgy opened this issue Apr 16, 2015 · 0 comments
Open

Can't cabal install bitset-1.4.8 on Windows with GHC-7.8.4 #16

Kludgy opened this issue Apr 16, 2015 · 0 comments

Comments

@Kludgy
Copy link

Kludgy commented Apr 16, 2015

The error is typical enough:

Configuring bitset-1.4.8...
setup.exe: Missing dependency on a foreign library:
* Missing C library: gmp-10
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.
cabal: Error: some packages failed to install:
bitset-1.4.8 failed during the configure step. The exception was:
ExitFailure 1

However, the problem persists even with the appropriate mingw developer libraries installed, where libgmp.dll.a, gmp.h and libgmp-10.dll are all on the library (via cabal --extra-lib-dirs), include (via cabal --extra-include-dirs) and binary (PATH) paths, the error still occurs.

Any thoughts on the issue? Is cabal perhaps failing to identify one or more files by name?

I'm not even sure how cabal could find the files based on a single Extra-libraries clause without a pkg-config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant