Installing catalyst on MS platform

lilstevey on 2009-09-15T15:56:19

I've decided to have a play with catalyst...

On windows...

So first I install active perl. I read a couple of blogs, then decide perhaps strawberry perl would be more appropriatte.

So I download 5.10.dot.dot.

I read a little more. Apparently it's not recommended.

So then I install perl number 3. 5.8.dot.dot...

And try to install catalyst. then I get a bug on Catalyst::Devel.

Result: PASS
  FLORA/Catalyst-Devel-1.20.tar.gz
Tests succeeded but 2 dependencies missing (Win32::Process,Proc::Background)
  FLORA/Catalyst-Devel-1.20.tar.gz
  [dependencies] -- NA
Running make install
  make test had returned bad status, won't install without force
So I thought I'd try to install Win32::Process but it didn't like that:
dmake.EXE:  Error code 129, while making 'Process.o'
  JDB/Win32-Process-0.14.tar.gz
  C:\strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
But I found this on the perl,org faq: cpan doesn't set compiler path in portable version which suggest setting paths thusly:
 P:\dev\aliasperl-b3\perl\bin> set PATH=%PATH%;p:\dev\aliasperl-b3\c\bin
 P:\dev\aliasperl-b3\perl\bin> set PATH=%PATH%;p:\dev\aliasperl-b3\c\mingw32\bin


Meanwhile the other me who wasn't quite as determined to install 3 different perls to try to see what catalyst is like these days has gone down the pub for a beer and opted to use another framework.





Anyway - that didn't work, so I again resort to google and find another thread:

< A HREf="http://groups.google.com/group/perl.libwin32/browse_thread/thread/62f83948e14dd945#> CPAN build fails in Strawberry Perl 5.8.9.2

This contains the following gem from DAGOLDEN:

I've released 2.20_04 to CPAN as 2.200401. That looks like it should more stable than 2.20_05 and contains the const char * fix.


So next I install this version of extutils make::maker. I'm now starting to worry if I'm going to be able to make this work should I decide to try it on a real project.

Fortunately that does it, and it appears to be installed. Now to find a "hello world" howto showing me how to configure it with apache...