diyaz has asked for the wisdom of the Perl Monks concerning the following question:

I just submitted this as an issue but was wondering if anyone else knows anything about this.
http://pastebin.com/dVURDHCZ
I tried with Strawberry 5.18.4 and it says:
t/mojo/daemon.t ............................ 1/?

and with Strawberry 5.22.1 (which matrix reports 4 successful installs) it says:
t/mojo/daemon.t ............................ 50/?

Edit: do you guys think it could have something to do with listening to ports? I am assuming that the number is line number? and I found this but no luck removing port 80 thinking it was conflicting with apache.

# Listen
{
  is_deeply(Mojo::Server::Daemon->new->listen, 'http://*:3000',
    'right value');
  local $ENV{MOJO_LISTEN} = 'http://127.0.0.1:8080';
  is_deeply(Mojo::Server::Daemon->new->listen,
    'http://127.0.0.1:8080', 'right value');
  $ENV{MOJO_LISTEN} = 'http://*:80,https://*:443';
  is_deeply(
    Mojo::Server::Daemon->new->listen,
    'http://*:80', 'https://*:443',
    'right value'
  );
}
  • Comment on Mojolicious on Windows 64bit installation hangs on daemon.t

Replies are listed 'Best First'.
Re: Mojolicious on Windows 64bit installation hangs on daemon.t
by hotchiwawa (Scribe) on Jan 15, 2016 at 18:23 UTC
    Rem: I just saw your reply, we posted at the same time.
    The following can work when you download manually the package and compile yourself but CPAN do it for you...
    perl Makefile.PL perl -V:make (should give dmake for strawberry perl) #if it gives dmake, do this... dmake dmake test dmake install #if it gave nmake, do this... nmake nmake test nmake install #make it's only when it gives make ;)
      ah thanks. i'm still such a noob.
Re: Mojolicious on Windows 64bit installation hangs on daemon.t
by stevieb (Canon) on Jan 15, 2016 at 17:56 UTC

    How are you trying to install it (the exact command). I have success using cpan install Mojolicious on Strawberry 5.22.1

    Update:Can you download the tarball, extract it, and do a:

    perl Makefile.PL make make test TEST_VERBOSE=1

    ...and post the last dozen or so lines of output here that occur just prior to the hang (including the line it hangs on)?

      ok i will try that i was just using `cpan Mojolicious` I was also trying to find that tar ball thanks.
      tried `cpan install Mojolicious` and it is still hanging at same location:
      "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/*/*.t
      t/mojo/asset.t ............................. ok
      t/mojo/base.t .............................. ok
      t/mojo/bytestream.t ........................ ok
      t/mojo/cache.t ............................. ok
      t/mojo/cgi.t ............................... ok
      t/mojo/collection.t ........................ ok
      t/mojo/content.t ........................... ok
      t/mojo/cookie.t ............................ ok
      t/mojo/cookiejar.t ......................... ok
      t/mojo/daemon.t ............................ 1/?
      
        a log file is normally generated in CPAN folder, check it.
      here is the output from running `dmake test TEST_VERBOSE=1`:
      t/mojo/daemon.t ............................
      ok 1 - right status
      ok 2 - right content
      ok 3 - right value
      ok 4 - right value
      ok 5 - right value
      ok 6 - right value
      ok 7 - right value
      ok 8 - right value
      ok 9 - no reverse proxy
      ok 10 - reverse proxy
      ok 11 - right home directory
      ok 12 - no value
      ok 13 - right value
      ok 14 - right value
      ok 15 - no value
      ok 16 - right value
      ok 17 - right value
      ok 18 - right reference
      ok 19 - right script name
      ok 20 - right reference
      ok 21 - right reference
      ok 22 - right error
      ok 23 - right error
      ok 24 - right error
      ok 25 - right error
      ok 26 - 'right transaction' isa 'Mojo::Transaction::HTTP'
      ok 27 - right moniker
      ok 28 - will be kept alive
      ok 29 - right status
      ok 30 - right content
      ok 31 - will be kept alive
      ok 32 - was kept alive
      ok 33 - right status
      ok 34 - right content
      ok 35 - will not be kept alive
      ok 36 - was kept alive
      ok 37 - right status
      ok 38 - right content
      ok 39 - will not be kept alive
      ok 40 - was not kept alive
      ok 41 - right status
      ok 42 - right content
      ok 43 - will not be kept alive
      ok 44 - right version
      ok 45 - right status
      ok 46 - right content
      ok 47 - has connection id
      ok 48 - right status
      ok 49 - right content
      ok 50 - transaction is finished
      ok 51 - right content
      ok 52 - no error
      ok 53 - transaction is finished
      ok 54 - right content
      ok 55 - no error
      ok 56 - transaction is finished
      ok 57 - right content
      ok 58 - no error
      ok 59 - right status
      ok 60 - right content
      ok 61 - right status
      ok 62 - right content
      ok 63 - has local address
      ok 64 - has local port
      ok 65 - has original remote address
      ok 66 - has remote address
      ok 67 - has remote port
      ok 68 - has local address
      ok 69 - has local port
      ok 70 - has remote address
      ok 71 - has remote port
      ok 72 - right moniker
      
Re: Mojolicious on Windows 64bit installation hangs on daemon.t
by Anonymous Monk on Jan 15, 2016 at 23:42 UTC
      thanks i am also adding a pastebin for you guys to see the whole log