GithubHelp home page GithubHelp logo

Comments (10)

mikeizbicki avatar mikeizbicki commented on September 22, 2024

Yeah, it's an ugly, temporary hack. hmatrix-0.15.2.1 doesn't compile under ghc 7.8, but version 0.16 doesn't work for the reason you mentioned. I'm in the middle of a pretty hefty refactor that should fix this problem.

In the mean time, I've got a local version of hmatrix that fixes 0.15.1.2 so that it compiles on ghc 7.8. There's just two or three lines that need commenting iirc. If you want, I can put a tar file somewhere that contains the code.

from hlearn.

drwebb avatar drwebb commented on September 22, 2024

+1 for the tarball! Trying to get HLearn up and running of a project of mine as well. Thanks.

from hlearn.

mikeizbicki avatar mikeizbicki commented on September 22, 2024

I've uploaded the tarball to: izbicki.me/public/cs/github/hmatrix.tgz

from hlearn.

intolerable avatar intolerable commented on September 22, 2024

Which version of ghc does hmatrix 0.15.2.1 not compile on? I assume it's specifically 7.8, because it seems to compile fine here (7.8.2).

from hlearn.

mikeizbicki avatar mikeizbicki commented on September 22, 2024

I'm using 7.8.2, but I don't remember exactly what the problem was I was having. It might have even been a dependency problem that I mistook for a ghc problem.

from hlearn.

Xyclade avatar Xyclade commented on September 22, 2024

Sorry to hiijack this ticket, but when trying to install HLearn I got the same issue, however after an attempt to use the tar to get the installation done I get the following error:

next goal: hmatrix (dependency of HLearn-2.0.0.0) rejecting: hmatrix-0.16.0.6, 0.16.0.5, 0.16.0.4, 0.16.0.3, 0.16.0.2, 0.15.2.1, 0.15.2.0, 0.15.0.1, 0.15.0.0, 0.14.1.0, 0.14.0.1, 0.14.0.0, 0.13.1.0, 0.13.0.0, 0.12.0.2, 0.12.0.1, 0.12.0.0, 0.11.1.0, 0.11.0.4, 0.11.0.3, 0.11.0.1, 0.11.0.0, 0.10.0.2, 0.10.0.1, 0.10.0.0, 0.9.3.0, 0.8.3.1, 0.8.2.0, 0.8.1.1, 0.8.1.0, 0.8.0.0, 0.7.2.1, 0.7.1.0, 0.6.0.0, 0.5.2.2, 0.5.2.1, 0.5.2.0, 0.5.1.1, 0.5.0.1, 0.4.0.0, 0.3.0.0, 0.2.1.0, 0.2.0.0, 0.1.1.0, 0.1.0.0 (conflict: HLearn => hmatrix==0.15.2.2) Dependency tree exhaustively searched.

This is after trying to install the hmatrix package with cabal, which gave the following error:

cabal: Error: some packages failed to install: hmatrix-0.15.2.2 failed during the configure step. The exception was: ExitFailure 126

from hlearn.

mikeizbicki avatar mikeizbicki commented on September 22, 2024

It looks like hmatrix didn't install because the version isn't in the list you copied. Are you sure the hmatrix tarball installed fine?

from hlearn.

Xyclade avatar Xyclade commented on September 22, 2024

Well this is embarrassing, it looked like it had installed correctly, but now when I try again it comes up with an error:

Failed to install hmatrix-0.15.2.2 Build log ( /Users/<username>/.cabal/logs/hmatrix-0.15.2.2.log ): /Users/<username>/Downloads/hmatrix/dist/setup/setup: /Users/<username>/Downloads/hmatrix/dist/setup/setup: cannot execute binary file cabal: Error: some packages failed to install: hmatrix-0.15.2.2 failed during the configure step. The exception was: ExitFailure 126

The log contains exactly the same error. This is on Mac OS X mavericks.

So indeed it didn't manage to install it, would running it in a Linux VM solve this issue?

from hlearn.

mikeizbicki avatar mikeizbicki commented on September 22, 2024

hmmm... possibly, not sure. hmatrix depends on a lot of non-haskell code. Does hmatrix-0.15.2.1 on hackage install fine? The tarball is just that package with a few class instances removed.

from hlearn.

Xyclade avatar Xyclade commented on September 22, 2024

The earlier version seems to indeed install fine, while the 0.15.2.2 still errors. I've taken the alternative route and installed an Ubuntu VM, in which it worked right out of the box with Cabal 👍

from hlearn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.