-
Notifications
You must be signed in to change notification settings - Fork 580
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
Ubuntu on Windows #954
Comments
As a first step we are now checking for fork emulation instead of Windows. dc0da0f |
After fighting a little bit with microsoft/WSL#186 i have been able to confirm that Hypnotoad zero downtime software upgrades now work on Windows. |
Looks like there is not much more we can do for now. |
I think that the biggest thing at this point is making sure that perl itself builds without fork emulation in ubuntu on windows. That of course is beyond our (direct) control. Other than that I don't think we need anymore specific documentation right? It would just follow the standard guides? |
Can you install IO::Socket::IP? IInstallation of IO::Socket::IP 0.38 fail. I don't install Mojolicious because I can't install IO::Socket::IP.
|
@yuki-kimoto: Which perl version do you have? Makefile.PL for Mojolicious says:
This means that if you have an earlier version of Perl, then you probably need to report this bug to the author of IO::Socket::IP. |
OK |
IO::Socket::IP has one test failing because of the way the network is emulated on Ubuntu on Windows.
but of course that does not change the fact the module test is failing 💃 - so with regards to running Mojolicious on Ubuntu on Windows, ymmv. @jhthorsen: It is true that IO::Socket::IP is in 'core perl' since 5.22, but you can still install it on older perls from CPAN. |
The Perl version included in the Linux Subsystem is 5.18.2, the version of IO::Socket::IP you get from the Ubuntu repo is 0.25. There are still a lot of issues with network connections, expecially with 3rd party firewall solutions. In many cases Bash isn't able to establish a connection, even with firewalls turned off. This may be the reason why the installation from CPAN fails. |
thank you. network is not stable in Ubuntu on Windows. I want to run GitPrep https://github.com/yuki-kimoto/gitprep on Ubuntu on Windows. Only way to IO::Socket::IP is maybe forcing installation now. |
Now that Ubuntu on Windows exists and a lot of UNIX features just work, we might want to remove the
$^O
checks inMojo::Server::Prefork
andMojo::Server::Hypnotoad
.I imagine it will become the default way to deploy Perl applications on Windows, so we should have good support for it. Here's also an installation guide for those that want to investigate.
The text was updated successfully, but these errors were encountered: