-
Notifications
You must be signed in to change notification settings - Fork 3
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
numeric-extras error on Windows #1
Comments
I wonder if this is related at all? http://ghc.haskell.org/trac/ghc/ticket/3242 |
If I'm reading it correctly, the tail end of that ticket seems to indicate that currently one can just drop the |
I don't quite follow. I did not have MinGW (http://www.mingw.org/) installed. I downloaded and installed, but no difference. Is MinGW required? Anyway, which cabal file do you mean? There is no mingw on hackage, so no cabal install mingw, and no cabal file for mingw. The cabal file for numeric-extras at http://hackage.haskell.org/packages/archive/numeric-extras/0.0.3/numeric-extras.cabal has only base as a dependency (?) Please elaborate, and I will try to help out (but I am not well versed in the cabal innards). |
@fegu I was looking through the issue that byorgey linked and it seemed to indicate the windows build issue was driven by the way I merely suggested that one of those fixes might work, which would be removing the reference to Want to try adding it in and seeing if it helps then? =) Beyond that I literally have no idea at this point and I'd be debugging by remote control. If you can figure out how to build it, I'll happily take a patch. |
This issue seems to be limited to use within ghci and use in Setup-files (such as in diagrams-contrib). This means that while it does block the install of diagrams-contrib, it does not block the install of absolutely everything (such as diagrams-svg etc) that references numeric-extras. By avoiding ghci and doing without diagrams-contrib I am getting my task done for now. |
If you ever do figure out a workaround that makes ghci work on windows with This sounds like some horrible interaction with the custom in-process On Fri, Aug 16, 2013 at 8:34 AM, fegu notifications@github.com wrote:
|
Yes, I would be keen to get this working. I'm using https://github.com/bergey/org-babel-diagrams which requires diagrams-builder-cairo. This has a dependency on numeric-extras but also invokes ghci. The result is the org-babel-diagrams won't run on Windows at the moment |
I am curious if this will be fixed by switching to ghc HEAD. I'll have @thoughtpolice crashing on my couch this week for ICFP, maybe I can get him to take a crack at it. |
For what it's worth here's the problem still around two years later:
|
I notice that the package |
I have just ran into this today with LTS-5.3, running
|
numeric-extras and windows support have had a rather checkered history On Wed, Feb 17, 2016 at 5:05 PM, Michał Antkiewicz <notifications@github.com
|
GHC 8.0 has an improved runtime linker which fixes this issue:
|
For older versions of Windows, it might be possible to guard the implementations of Otherwise, we could just say that GHCs older than 8.0 aren't supported on Windows, I suppose. |
I suppose we could just add the check and not build on old GHCs on Windows. It has never worked anyways, so nobody will be caught out in the cold. |
That seems reasonable. I've opened #6, which implements this suggestion. |
Hi,
I have installed numeric-extras-0.0.3 on Windows.
When I start ghci and type:
import Numeric.Extras
fmod 5.0 1.0
Loading package numeric-extras-0.0.3 ... linking ... : C:\Users\syv
ken\AppData\Roaming\cabal\numeric-extras-0.0.3\ghc-7.6.3\HSnumeric-extras-0.0.3.
o: unknown symbol
_expm1' ghc.exe: unable to load package
numeric-extras-0.0.3'This error is also holding up the install and use of the library diagrams as it depends on numerical-extras. Is there anything I can do to fix this, or help you find this error?
The text was updated successfully, but these errors were encountered: