-
Notifications
You must be signed in to change notification settings - Fork 43
Builds with stack lts-9.0 resolver #5
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
base: master
Are you sure you want to change the base?
Conversation
- I may have unintentionally changed some behaviors in this commit. I added a few TODO comments to indicate this. - There is annoying line noise in this commit because my editor strips whitespace and I didn't disable it until I had modified several files.
|
Hi I have recently started working with Haskell to see how imperative languages compare to functional ones, in terms of performance. I found your answer, which would greatly help me, but I cannot get it running. Could you help me out, please? |
|
Hi, what’s the output from |
|
The error comes when trying to build hmatrix-gsl. It is as follows:
…-- While building package hmatrix-gsl-0.18.0.1 using:
...
...
Process exited with code: ExitFailure 1
Configuring hmatrix-gsl-0.18.0.1...
Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: The pkg-config package 'gsl'
is
required but it could not be found.
I am not sure how to fix this, because the dependency hmatrix-gsl is
under Build-Depends: in the cabal file.
El vie., 9 nov. 2018 a las 19:52, Michael Hueschen (<
[email protected]>) escribió:
Hi, what’s the output from stack build, when run from the project root?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcsuXGlyySzgXvxFQBH4iKGb_0H0tOYaks5utc7hgaJpZM4Ov_aY>
.
|
|
Hi, it seems like you need to install |
|
I have tried installing both gsl-bin and libgsl2, and the same error still
pops up. I am working on an Ubuntu distribution, in case that helps.
El sáb., 10 nov. 2018 a las 22:51, Michael Hueschen (<
[email protected]>) escribió:
… Hi, it seems like you need to install gsl. Try one of the methods listed
here <http://www2.lawrence.edu/fast/GREGGJ/CMSC210/gsl/gsl.html>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcsuXNW-sW4uGOzIvCnenF7DGlMwfVTnks5ut0pZgaJpZM4Ov_aY>
.
|
|
Unfortunately, I don't have experience with hmatrix on Linux (I run Mac), but I found this issues. Perhaps you could try installing OS-specific packages, like indicated in one of the links (albeit their case is Windows)? Or possibly specifying the extra-include-dirs like they do: |
|
I've been downloading several packages, and it now seems to be working.
Thank you a lot for your help.
…On Sat, Nov 10, 2018, 23:34 Michael Hueschen ***@***.*** wrote:
Unfortunately, I don't have experience with hmatrix on Linux (I run Mac),
but I found this issues
<haskell-numerics/hmatrix#226>. Perhaps you
could try installing OS-specific packages, like indicated in one of the
links (albeit their case is Windows)? Or possibly specifying the
extra-include-dirs like they do: stack
--extra-lib-dirs=D:/CS294/gsl-1.8-bin/bin build
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcsuXNOitU4IBK68xsJXJ1Nn7qxkctH-ks5ut1R2gaJpZM4Ov_aY>
.
|
|
Great! You're welcome - happy to help 🙂 |
I needed to do graph search recently and revisited this package. Turns out quite a bit has changed in the dependencies in 5 years! I made tweaks so it builds with stack's
lts-9.0resolver. I am not confidant that I didn't subtly break things, and I haven't had time to go through and check everything. But since I might never get around to it, I figured it's a starting point and would save someone else some work if they want to use the package with a more recent GHC.Notes
added a few TODO comments to indicate this.
whitespace and I didn't disable it until I had modified several files.