richterger / Perl-LanguageServer

Language Server for Perl
Other
224 stars 53 forks source link

Cannot install on Windows 10 #38

Closed f-w closed 4 years ago

f-w commented 4 years ago
C:\Users\me>cpan Perl::LanguageServer
...
t/80_ssltest.t ............. 1/415
#   Failed test 'server_error <An established connection was aborted by the software in your host machine.>'
#   at t/80_ssltest.t line 37.
# Looks like you failed 1 test of 415.
t/80_ssltest.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/415 subtests
t/81_hosts.t ............... ok
t/handle/01_readline.t ..... ok
t/handle/02_write.t ........ ok
t/handle/03_http_req.t ..... skipped: PERL_ANYEVENT_NET_TESTS environment variable not set
t/handle/04_listen.t ....... ok

Test Summary Report
-------------------
t/80_ssltest.t           (Wstat: 256 Tests: 415 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
Files=83, Tests=602, 16 wallclock secs ( 0.34 usr +  0.38 sys =  0.72 CPU)
Result: FAIL
Failed 1/83 test programs. 1/602 subtests failed.
gmake: *** [Makefile:899: test_dynamic] Error 255
  MLEHMANN/AnyEvent-7.17.tar.gz
  C:\strawberry\c\bin\gmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MLEHMANN/AnyEvent-7.17.tar.gz
Stopping: 'install' failed for 'AnyEvent'.
richterger commented 4 years ago

This Test Problem for AnyEvent should cause you trouble, but LanguageServer does not correctly work on windows.

Basicly LanguageServers run on Windows, but because of issues with Perl and reading stdin in a non blocking way and capturing the output of perl -c in a non blocking way, you might get high CPU load and sometimes the LanguageServer seems to get stuck and will continue after you have made same changes. Because of this basic issues I gave up after spending a lot of time trying to get it working on windows.