Comments (5)
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.
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.
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.
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.
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)
- Simplify installation HOT 3
- Unable to install purescript HOT 2
- `npm install purescript` stuck HOT 10
- alpine linux: Failed at the [email protected] postinstall script HOT 15
- Readme: dead link HOT 1
- Make the installer stable HOT 2
- installation failure (Cannot find module 'psl') HOT 3
- Installing the purescript npm package fails HOT 17
- Improve error message if the `purs` binary's dynamic loader does not exist
- Supply the --nix flag to stack if we appear to be on Nix/NixOS HOT 2
- Include output from `stack` when building from source HOT 1
- purs --version raise error , probably installation issue HOT 11
- Add abitlity to skip binary installation
- Unable to install purescript on Ubuntu 20.04 LTS HOT 6
- NPM Installation Issue HOT 11
- Update package dependencies
- Installer fails in docker HOT 5
- Building from source doesn't seem to work
- Use the new aarch64 releases when applicable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-installer.