Op 30-8-2011 16:32, Christiaan Kras schreef:
Op 30-8-2011 13:29, Tomas Doran schreef:

On 30 Aug 2011, at 11:51, Christiaan Kras wrote:
Starlet won't build on Windows for me.


Can you give us some more info?
Looks like some of its dependencies won't install. I attached the build log. Proc::Wait3 is the one that won't install due to missing headers. But perhaps my Perl is too outdated? Still use Strawberry Perl 5.010001 (built for MSWin32-x86-multi-thread) on this machine. My laptop has a more recent version of 5.12. Could test it later.


Plackup however, works fine for me though. But doesn't seem to support keep-alive and forking.

erm? plackup is orthogonal to what server you use? Ergo if you use a forking server, then the server you start will be forking... If you don't, it won't..


I meant calling plackup without specifying a server, and thus using the default.


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Sorry, that was the wrong build log!

--
Christiaan Kras
http://blog.htbaa.com

cpanm (App::cpanminus) 1.1 on perl 5.010001 built for MSWin32-x86-multi-thread
Work directory is /.cpanm/work/1314716189.7552
You have make C:\strawberry\c\bin\dmake.exe
You have LWP 5.837
Falling back to Archive::Tar 1.72
Searching Starlet on cpanmetadb ...
--> Working on Starlet
Fetching http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/Starlet-0.13.tar.gz
-> OK
Unpacking Starlet-0.13.tar.gz
Entering Starlet-0.13
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Configuring Starlet-0.13
Running Makefile.PL
Warning: prerequisite Parallel::Prefork 0.07 not found.
Warning: prerequisite Server::Starter 0.06 not found.
Checking if your kit is complete...
Looks good
Writing Makefile for Starlet
Writing MYMETA.yml
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Server::Starter 0.06 ... No
Checking if you have Plack 0.992 ... Yes (0.9974)
Checking if you have Parallel::Prefork 0.07 ... No
Checking if you have Test::More 0.88 ... Yes (0.96)
Checking if you have Test::TCP 0.15 ... Yes (0.16)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Checking if you have Test::More 0.88 ... Yes (0.96)
Checking if you have Test::TCP 0.15 ... Yes (0.16)
Checking if you have Plack 0.992 ... Yes (0.9974)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
==> Found dependencies: Server::Starter, Parallel::Prefork
Searching Server::Starter on cpanmetadb ...
--> Working on Server::Starter
Fetching 
http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/Server-Starter-0.11.tar.gz
-> OK
Unpacking Server-Starter-0.11.tar.gz
Entering Server-Starter-0.11
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Configuring Server-Starter-0.11
Running Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
    of the dependency's installation later.
[Core Features]
- Test::TCP       ...missing. (would need 0.11)
- Getopt::Long    ...loaded. (2.38)
- List::MoreUtils ...loaded. (0.26)
- Proc::Wait3     ...missing.
- Scope::Guard    ...loaded. (0.20)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Warning: prerequisite Proc::Wait3 0 not found.
Writing Makefile for Server::Starter
Writing MYMETA.yml
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Proc::Wait3 0 ... No
Checking if you have Getopt::Long 0 ... Yes (2.38)
Checking if you have Scope::Guard 0 ... Yes (0.20)
Checking if you have List::MoreUtils 0 ... Yes (0.26)
Checking if you have Test::TCP 0.11 ... Yes (0.16)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Checking if you have Getopt::Long 0 ... Yes (2.38)
Checking if you have Test::TCP 0.11 ... Yes (0.16)
Checking if you have Scope::Guard 0 ... Yes (0.20)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Checking if you have List::MoreUtils 0 ... Yes (0.26)
==> Found dependencies: Proc::Wait3
Searching Proc::Wait3 on cpanmetadb ...
--> Working on Proc::Wait3
Fetching 
http://search.cpan.org/CPAN/authors/id/C/CT/CTILMES/Proc-Wait3-0.04.tar.gz
-> OK
Unpacking Proc-Wait3-0.04.tar.gz
Entering Proc-Wait3-0.04
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.56)
Configuring Proc-Wait3-0.04
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Proc::Wait3
-> OK
Finding PREREQ from Makefile ...
Building and testing Proc-Wait3-0.04
cp Wait3.pm blib\lib\Proc\Wait3.pm
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp  
-typemap C:\strawberry\perl\lib\ExtUtils\typemap  Wait3.xs > Wait3.xsc && 
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Wait3.xsc Wait3.c
gcc -c          -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE 
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing 
-DPERL_MSVCRT_READFIX -s -O2        -DVERSION=\"0.04\"    -DXS_VERSION=\"0.04\" 
 "-IC:\strawberry\perl\lib\CORE"   Wait3.c
Wait3.xs:5:22: sys/wait.h: No such file or directory
Wait3.xs:6:26: sys/resource.h: No such file or directory
Wait3.xs: In function `XS_Proc__Wait3_wait3':
Wait3.xs:17: error: storage size of 'r' isn't known
dmake.exe:  Error code 129, while making 'Wait3.o'
-> FAIL Installing Proc::Wait3 failed. See \.cpanm\build.log for details.
-> FAIL Bailing out the installation for Server-Starter-0.11. Retry with 
--prompt or --force.
Searching Parallel::Prefork on cpanmetadb ...
--> Working on Parallel::Prefork
Fetching 
http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/Parallel-Prefork-0.11.tar.gz
-> OK
Unpacking Parallel-Prefork-0.11.tar.gz
Entering Parallel-Prefork-0.11
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Configuring Parallel-Prefork-0.11
Running Makefile.PL
Warning: prerequisite Proc::Wait3 0.03 not found.
Checking if your kit is complete...
Looks good
Writing Makefile for Parallel::Prefork
Writing MYMETA.yml
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Proc::Wait3 0.03 ... No
Checking if you have Scope::Guard 0 ... Yes (0.20)
Checking if you have List::MoreUtils 0 ... Yes (0.26)
Checking if you have Class::Accessor::Lite 0.04 ... Yes (0.05)
Checking if you have Test::Requires 0 ... Yes (0.05)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Checking if you have Test::Requires 0 ... Yes (0.05)
Checking if you have Scope::Guard 0 ... Yes (0.20)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56)
Checking if you have List::MoreUtils 0 ... Yes (0.26)
Checking if you have Class::Accessor::Lite 0.04 ... Yes (0.05)
==> Found dependencies: Proc::Wait3
Already tried Proc::Wait3. Skipping.
Building and testing Parallel-Prefork-0.11
cp lib/Parallel/Prefork.pm blib\lib\Parallel\Prefork.pm
cp lib/Parallel/Prefork/SpareWorkers/Scoreboard.pm 
blib\lib\Parallel\Prefork\SpareWorkers\Scoreboard.pm
cp lib/Parallel/Prefork/SpareWorkers.pm 
blib\lib\Parallel\Prefork\SpareWorkers.pm
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib\lib', 'blib\arch')" t/*.t

#   Failed test 'use Parallel::Prefork;'
#   at t/01-base.t line 10.
#     Tried to use 'Parallel::Prefork'.
#     Error:  Can't locate Proc/Wait3.pm in @INC (@INC contains: 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\inc 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\arch 
C:/strawberry/perl/lib C:/strawberry/perl/site/lib 
C:\strawberry\perl\vendor\lib .) at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
# BEGIN failed--compilation aborted at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
# Compilation failed in require at (eval 13) line 2.
# BEGIN failed--compilation aborted at (eval 13) line 2.

#   Failed test at t/01-base.t line 23.
Can't call method "signal_received" on an undefined value at t/01-base.t line 
33.
# Looks like you planned 5 tests but ran 2.
# Looks like you failed 2 tests of 2 run.
# Looks like your test exited with 255 just after 2.
t/01-base.t .......... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests 

#   Failed test 'use Parallel::Prefork;'
#   at t/02-reconfigure.t line 8.
#     Tried to use 'Parallel::Prefork'.
#     Error:  Can't locate Proc/Wait3.pm in @INC (@INC contains: 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\inc 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\arch 
C:/strawberry/perl/lib C:/strawberry/perl/site/lib 
C:\strawberry\perl\vendor\lib .) at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
# BEGIN failed--compilation aborted at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.

#   Failed test at t/02-reconfigure.t line 20.
Can't call method "signal_received" on an undefined value at t/02-reconfigure.t 
line 24.
# Looks like you planned 3 tests but ran 2.
# Looks like you failed 2 tests of 2 run.
# Looks like your test exited with 255 just after 2.
t/02-reconfigure.t ... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/3 subtests 

#   Failed test 'use Parallel::Prefork::SpareWorkers;'
#   at t/03-spareworkers.t line 8.
#     Tried to use 'Parallel::Prefork::SpareWorkers'.
#     Error:  Can't locate Proc/Wait3.pm in @INC (@INC contains: 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\inc 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\arch 
C:/strawberry/perl/lib C:/strawberry/perl/site/lib 
C:\strawberry\perl\vendor\lib .) at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
# BEGIN failed--compilation aborted at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
# Compilation failed in require at (eval 15) line 3.
#       ...propagated at C:/strawberry/perl/lib/base.pm line 94.
# BEGIN failed--compilation aborted at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork/SpareWorkers.pm
 line 10.
# Compilation failed in require at (eval 14) line 2.
# BEGIN failed--compilation aborted at (eval 14) line 2.
Can't locate object method "new" via package "Parallel::Prefork::SpareWorkers" 
at t/03-spareworkers.t line 12.
# Looks like you planned 8 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/03-spareworkers.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/8 subtests 
Can't locate Proc/Wait3.pm in @INC (@INC contains: 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\inc 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\arch 
C:/strawberry/perl/lib C:/strawberry/perl/site/lib 
C:\strawberry\perl\vendor\lib .) at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
BEGIN failed--compilation aborted at 
C:\.cpanm\work\1314716189.7552\Parallel-Prefork-0.11\blib\lib/Parallel/Prefork.pm
 line 10.
Compilation failed in require at t/04-interval.t line 5.
BEGIN failed--compilation aborted at t/04-interval.t line 5.
t/04-interval.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/01-base.t        (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 5 tests but ran 2.
t/02-reconfigure.t (Wstat: 65280 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/03-spareworkers.t (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 8 tests but ran 1.
t/04-interval.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=4, Tests=5,  1 wallclock secs ( 0.09 usr +  0.08 sys =  0.17 CPU)
Result: FAIL
Failed 4/4 test programs. 5/5 subtests failed.
dmake.exe:  Error code 130, while making 'test_dynamic'
-> FAIL Installing Parallel::Prefork failed. See \.cpanm\build.log for details.
-> FAIL Bailing out the installation for Starlet-0.13. Retry with --prompt or 
--force.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to