Giter Club home page Giter Club logo

Comments (6)

dustin avatar dustin commented on May 29, 2024

I'd definitely not recommend doing this stuff as root, but that's probably not related to your problem.

I assume you're not using nix? It's possible you have an old version of stack or old package libs or something. What does stack --version say?

from gopro.

worjak avatar worjak commented on May 29, 2024

It says "Version 1.5.1 i386"

from gopro.

worjak avatar worjak commented on May 29, 2024

So I get that nix is a package manager like apt-get - will Nix solve my problem? Thanks for your time!

from gopro.

dustin avatar dustin commented on May 29, 2024

That's a very old version of stack. I think that's the issue.

nix is a package manager that's part of nixos. I use it on MacOS X, but all of my Linux machines are running nixos so I've not tried it on anything else.

The primary thing it does is make sure that people have the right versions of the necessary software when installing things. e.g., correct postgres libs, build tools, compiler versions, etc... This project has three different subprojects in three different languages and I don't like keeping track of all that stuff, so my installs are all automatic via cd. Same stuff we use at work.

Asking people to install that sort of thing is kind of a big deal, but you'll at least need a recent version of the various tools. You might try ghcup to install the Haskell toolkit (including stack and compilers). I've not actually tried it, though.

from gopro.

worjak avatar worjak commented on May 29, 2024

Thanks for the advice. What version of stack will be sufficient? Iā€™d prefer to stay with Ubuntu but will consider to upgrade to a more recent release.

from gopro.

dustin avatar dustin commented on May 29, 2024

I think I'm running 2.9. ghcup or nix should get you a somewhat more modern version. You can still use ubuntu, but it's likely to not deliver you recent packages for many things.

from gopro.

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.