Closed alhambra1 closed 11 years ago
Hello, thank you for reporting this. Unfortunately I've never used Haskell under Windows, so I can't really give any specific advice, however, the issue is clearly related to the missing libgmp.dll
in the linker path.
On Linux, GHC is linked dynamically with GMP:
$ ldd /usr/lib/ghc/lib/ghc
# ...
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f97df3d9000)
Maybe the same is true for Windows version? can you please look for the DLL in the GHC / Platform directory tree?
Hi Sergei,
A windows search found this:
C:\Program Files\Haskell Platform\2012.4.0.0\mingw\bin\libgmp-10.dll
Could that help?
Sincerely, Gilad
On Sun, Jul 14, 2013, at 05:38 PM, Sergei Lebedev wrote:
Hello, thank you for reporting this. Unfortunately I've never used Haskell under Windows, so I can't really give any specific advice, however, the issue is clearly related to the missing libgmp.dll in the linker path.
On Linux, GHC is linked dynamically with GMP:
$ ldd /usr/lib/ghc/lib/ghc
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f97df3d9000)
Maybe the same is true for Windows version? can you please look for the DLL in the GHC directory tree?
—
Reply to this email directly or [1]view it on GitHub. [a3ennMFEw074u61Ekxip3PBvTFbuTtvt-cxuGBRXIIvaW_OtCoYuSHxvPab9k-a5.gif]
References
http://www.fastmail.fm - Choose from over 50 domains or use your own
Gilad, I've fixed an issue with Windows builds yesterday, but I've only tested it in VirtualBox. Can you please try to build the latest version from master and confirm that it works for you?
high five
shesliva
gilad
On Tue, Jul 16, 2013, at 03:13 AM, Sergei Lebedev wrote:
Gilad, I've fixed an issue with Windows builds yesterday, but I've only tested it in the VirtualBox. Can you please try to build the latest version from master and confirm that it works for you?
—
Reply to this email directly or [1]view it on GitHub. [a3ennMFEw074u61Ekxip3PBvTFbuTtvt-cxuGBRXIIvaW_OtCoYuSHxvPab9k-a5.gif]
References
http://www.fastmail.fm - Email service worth paying for. Try it for free
@alhambra1 can you please try building the master
version of bitset
on Windows, if you still happen to use the library? The previous solution (adding gmp.h
from OS X) seems like a gross hack, especially since GHC is linked agains its own version of libgmp
.
I think your original issue can be worked around by pointing C_INCLUDE_DIRS
to the directory with libgmp
headers.
Sure. Here's what happened after unzipping the master from github:
C:\Users\IBM-USER\Desktop>cd bitset-master
C:\Users\IBM-USER\Desktop\bitset-master>runhaskell setup configure
Configuring bitset-1.4.8...
C:\Users\IBM-USER\Desktop\bitset-master>runhaskell setup build
bin\mkDerivedGmpConstants.c:15:17: fatal error: gmp.h: No such file or directory
compilation terminated.
C:\Users\IBM-USER\Desktop\bitset-master>
Sincerely,
Gilad
gilad12@fastmail.fm
On Wed, May 14, 2014, at 10:07 AM, Sergei Lebedev wrote:
[1]@alhambra1 can you please try building the master version of bitset on Windows, if you still happen to use the library? The previous solution (adding gmp.h from OS X) seems like a gross hack, especially since GHC is linked agains its own version of libgmp.
I think your original issue can be worked around by pointing C_INCLUDE_DIRS to the directory with libgmp headers.
—
Reply to this email directly or [2]view it on GitHub. [1774245__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNTY5NTYyN iwiZGF0YSI6eyJpZCI6MTM2NDU2MzV9fQ==--076c7cbde1aec38892711cf0cb35c93342 88cd54.gif]
References
http://www.fastmail.fm - IMAP accessible web-mail
Hi,
If you have the time, please see my question on SO, here:
http://stackoverflow.com/questions/17632434/error-installing-haskell-bitset-package-on-windows-xp
Thanks,