Comments (10)
Same problem (i.e. Seg fault) for elm-repl
, elm-doc
, and elm-get
.
from elm-platform.
Do you have bash or some alternative command line interface?
Also, if you get literally that error both times, it appears that the results of the Mac installer are shadowing the results of cabal. If you remove all of the Elm stuff from /usr/local/bin and /usr/local/share/elm (iirc) then you'll be dealing only with the results of cabal.
from elm-platform.
Thanks for your prompt reply!
I use bash.
It now works. Here's what I did:
-
Removed all the Elm stuff from /usr/local/bin and /usr/local/share/elm.
-
Since the cabal stuff appears to be in ~/Library/Haskell/ghc-7.6.3/lib, I added the following to my .bashrc:
export PATH=$PATH:~/Library/Haskell/ghc-7.6.3/lib/Elm-0.12.1.3/bin
export PATH=$PATH:~/Library/Haskell/ghc-7.6.3/lib/elm-server-0.11/bin
export PATH=$PATH:~/Library/Haskell/ghc-7.6.3/lib/elm-get-0.1.1.3/bin
export PATH=$PATH:~/Library/Haskell/ghc-7.6.3/lib/elm-repl-0.2.2.1/bin
I suspect there is a much more elegant/concise solution.
from elm-platform.
I believe Haskell places symlinks to all executables in ~/Library/Haskell/bin
, so you can just add that to your path instead of all the individual ones. Does that work?
from elm-platform.
Yes! Terrific, thanks!
from elm-platform.
Cool :) The initial problem is still pretty weird. Can you say more about your system? Is there anything odd that it'd be good to know about?
from elm-platform.
Yes, the initial problem is strange. ...It's difficult for me to guess what, if anything, about my system might be the cause.
I'll attempt to re-install using the Mac installer to see whether the problem re-manifests.
from elm-platform.
I'm sorry to say that the problem with the Mac installer persists for me:
$ elm-server
/usr/local/bin/elm-server: line 6: 33305 Segmentation fault: 11 /usr/local/bin/elm-server-unwrapped $*
from elm-platform.
Oh, now that I look with fresh eyes, this reminds me of an issue I have seen before. I created the binaries on OSX 10.10 and I recall hearing of issues running binaries on 10.7 or something like that.
The two solutions are (1) I need to compile on an older machine (which I don't have easy access to) or (2) you can try to go through the "platform agnostic" install.
from elm-platform.
Alright, elm-sever no longer exists, so I'm gonna close this one!
from elm-platform.
Related Issues (20)
- install.elm-lang.org SSL certificate problem. HOT 2
- Corporate users cannot access dl.bintray.com HOT 1
- Switch from Bintray to GitHub releases for hosting npm binaries HOT 2
- Meta: npm installer improvements HOT 1
- Help users fix npm permissions issues HOT 2
- add `elm new` for improved onboarding experience HOT 3
- npm installer fails on proxy and certificates HOT 5
- elm command not found HOT 2
- Can dependencies of the npm installer be smaller? HOT 1
- Global Elm install on Ubuntu 16.04 LTS failing HOT 2
- Fail of npm install -g elm on linux systems. HOT 7
- can version 1.4.1 be deprecated? HOT 1
- npm installer index.js root variable is hard-coded
- Dependency on Hoek 2.6.3 (Vulnerable) HOT 4
- npm install fails with "read ECONNRESET" with configured corporate proxy HOT 1
- 'elm --help' output could be improved HOT 1
- npm install fails on Ubuntu 16.04 HOT 1
- GHC 7.10 does not work anymore HOT 1
- Build fails on basement-0.0.8 HOT 1
- Cabal needs more backjumps in BuildFromSource.hs
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 elm-platform.