Git Product home page Git Product logo

Comments (5)

purefunctor avatar purefunctor commented on August 22, 2024

The provided binaries don't seem to be compatible with your system, which ultimately causes it to fall back to building from source that requires stack. In my Arch system I had to install ncurses5-compat-libs although I'm not sure if that applies here; could always try building from source though.

from npm-installer.

hdgarrood avatar hdgarrood commented on August 22, 2024

Yes, the Linux binaries we provide won’t work on non-glibc-based systems. You’ll need to build the compiler from source, which requires stack.

from npm-installer.

gasacchi avatar gasacchi commented on August 22, 2024

i got error when use stack install

Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-8.6.5.                                      
utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist: 3: exec: utils/ghc-cabal/dist-install/build/tmp/ghc-cabal: not found
make[1]: *** [ghc.mk:990: install_packages] Error 127
make: *** [Makefile:51: install] Error 2
Received ExitFailure 2 when running
Raw command: /bin/make install
Run from: /home/gasacchi/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.5.temp/ghc-8.6.5/

                  
Error: Error encountered while installing GHC with
         make install
         run in /home/gasacchi/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.5.temp/ghc-8.6.5/
       
       The following directories may now contain files, but won't be used by stack:
         - /home/gasacchi/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.5.temp/
         - /home/gasacchi/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.5/
       
       For more information consider rerunning with --verbose flag
       
Installing GHC ..

from npm-installer.

hdgarrood avatar hdgarrood commented on August 22, 2024

I'd suggest having a look on stack's issue tracker to see if you can find anyone else in a similar situation to you; maybe stack doesn't support non-glibc-based systems so well.

from npm-installer.

hdgarrood avatar hdgarrood commented on August 22, 2024

I think there are a couple of separate issues here:

  • I'm 99% sure that the ENOENT you're seeing is due to the purs binary looking for a libc.so to dynamically link with and not finding one. We can improve this error with the approach described in #22
  • stack doesn't appear to work very well on void linux. This isn't something we can really do anything about here unfortunately; you might consider reporting an issue on https://github.com/commercialhaskell/stack

Since the only issue concerning purescript is the ENOENT error message, and we already have an issue for that, I'm going to close this. Sorry I couldn't be more help.

from npm-installer.

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.