-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erlang/Elixir no longer works #613
Comments
What apt-get packages did you install prior to running erl? After I ran apt-get install erlang-base I'm able to run erl:
|
I'm running into the same issue. I followed the elixir installation guide: http://elixir-lang.org/install.html. Next try: |
I also followed the steps on elixir-lang: http://elixir-lang.org/install.html
then:
|
I've also confirmed the issue (ESL builds are up to date and outside of this issue, very solid). I also had issues building Erlang from source with a similar sort of X is not a file sort of error. It seems like there is a bug in the VFS translation somewhere. |
Still doesn't work as of insider build 14385 |
@benhillis Still doesn't work as of insider build 14388 |
Looks like they're pretty busy making fixes for the A release, telling from the latest entry on the release notes. Hopefully this is resolved before the official release on 8/2 |
Same problems on build 1493.3 |
Im having the same issue here. How do I get rid of erlang? Right now I keep getting erl is a directory. |
Fixed it by running But when I do |
I've tried several things now as well, the most promising being what's described here: http://elixir-lang.org/install.html This causes the The basic Any updates on this? EDIT: sorry I meant to also include that I'm on the official anniversary update here, no inside build. |
Here's an interesting idea... Ubuntu 16.04 (the latest LTS release) includes erlang 18.3 in it's base repo. If we could use the latest Ubuntu with BashOnWindows, that might solve our issues? What are the chances of being able to upgrade the Ubuntu version? |
I've heard that people have problems upgrading Ubuntu with bash on windows. |
Yeah... I'm looking more to encourage an official upgrade to 16.04. Not to attempt it using apt-get. |
Guys, this it totally possible, I've got it working. It was a huge hassle, and I haven't done much stability testing, but it seems to work. Effectively, this is what I did (sorry I can't remember exact steps): 0.5) Modify your sudoers file to allow nopasswd for your account. |
same here |
+1 |
1 similar comment
+1 |
Rather than bump this with +1's. Are there steps we can take to help Microsoft reproduce or narrow down the issue? I've been trying each preview with the same results but I'd be happy to strace with specific flags. The specific issue may seem unimportant since it's not Ubuntu's Erlang package but one from Erlang Solutions instead. The reality is that many (most?) Erlang and Elixir developers require more recent releases (think of this similar to telling someone to use node 0.10 or older for modern node dev). |
I've installed it like that: And it works on the official 14393 build, had to fix the simlink like @Andorbal suggested The esl-erlang build which doesn't seem to work on "bash on windows" is 19.0.2 |
Make sure to purge esl-erlang first before installing the older version 1:18.3 |
Have there been any updates to this problem? It looks like it still persists on 19.1 |
I haven't run an strace on it but my hunch is that the new timer stuff that landed in 19.x may relate to missing syscalls. You might want to look for options in configure to see if anything can be toggled. |
Comparing a strace of 19.1 on WSL with one on native Linux, it appears as if this would be the cruelprint:
Doing the same on Linux yields this:
The use of SCM_RIGHTS is new in 19.0. It was introduced in this commit: erlang/otp@14c7fef |
Thanks @RoadRunnr for detailed analysis. Very helpful! We already have a bug to track #514. Will prioritize it. For validation, is the repro the same as posted by @romerod ? |
I followed @romerod installation advise, but I forgot to hold the package at the 18.3 release, After a while I carelessly So don't forget to |
Just an update that the fix for this has been checked in the dev branch and should soon hit the release branch. |
@jmerriweather Still an issue unfortunately :( Even after the new Creators Update. Edit/UpdateSeems I updated wrong somehow. Look below. Also #613 (comment) is the correct way of doing things |
Going to wipe 14.04 and upgrade to 16.04 via:
Works after some crazy shenanigans 😂Had to revert prior to Creators Update (seems I did something wrong here before) Did a refresh Then re-updated (took a while) Now everything works! 🎉 Also #613 (comment) is the correct way of doing things |
|
Thanks dimitarvp! |
@kgeo I simply download the precompiled version and extract it in a directory which is in my $PATH ( |
It looks like this now doesn't work with OTP 20 |
@cgregfreeman OTP 20 looks to be working for me. Tested on 1703 (Build 15063.447) |
Thank you, @jmerriweather . After forcing the update to 15063, I was able to get OTP 20 to work without a hitch. |
As of the latest build 14379 Erlang no longer works. I've tried lxrun /uninstall /full /y and reinstalled however it still doesn't work. I've also attempted installing the previous version of Erlang 18.3.4.
Seems like it might be file system related, the error we get is
erl: Is a directory
When i go to the directory it should be located in I get the following:
The text was updated successfully, but these errors were encountered: