[Catalyst] Catalyst Newbie -> Installation/Quickstart Issues ->Vista

Peter Edwards peter at dragonstaff.com
Thu Jul 26 23:36:02 GMT 2007


This issue is discussed here
http://www.gossamer-threads.com/lists/catalyst/users/15143?search_string=str
ftime;

and is caused by a bug in ASPerl. Try patching Helper.pm as follows and see
if it works then.

Regards, Peter

 

> For the sake of saving the next soul who wants to use Catalyst under
Win32, 
> which apparently doesn't like %T, suggest changing to: 
> 
> my $time = strftime('%Y-%m-%d %H:%M:%S', localtime time); 
> 
> 
> 
> --- Helper.pm Wed Jul 11 03:24:55 2007 
> +++ Helper.pm.orig Mon Oct 30 18:00:42 2006 
> @@ -387,7 +387,7 @@ 
> sub _mk_changes { 
> my $self = shift; 
> my $dir = $self->{dir}; 
> - my $time = strftime('%Y-%m-%d %H:%M:%S', localtime time); 
> + my $time = strftime('%Y-%m-%d %T', localtime time); 
> $self->render_file( 'changes', "$dir\/Changes", { time => $time } ); 
> } 
> 

  _____  

From: Jamie Nicholson [mailto:jamie.nicholson at gmail.com] 
Sent: 26 July 2007 22:53
To: catalyst at lists.rawmode.org
Subject: [Catalyst] Catalyst Newbie -> Installation/Quickstart Issues
->Vista

 

Hi,

I'm trying to install Catalyst on a new laptop which is running Vista,
Activestate - v5.8.8 - build [820].

After installing the catalyst-devel via ppm I've tried to run the 'perl
catalyst.pl MyApp' command but it just seems to hang, unless that's what
it's meant to do. 

>perl catalyst.pl MyApp

Output

created "MyApp"
created "MyApp\script"
created "MyApp\lib"
created "MyApp\root"
created "MyApp\root\static" 
created "MyApp\root\static\images"
created "MyApp\t"
created "MyApp\lib\MyApp"
created "MyApp\lib\MyApp\Model"
created "MyApp\lib\MyApp\View"
created "MyApp\lib\MyApp\Controller" 
created "MyApp\myapp.yml"
created "MyApp\lib\MyApp.pm"
created "MyApp\lib\MyApp\Controller\Root.pm"
created "MyApp/README"

I figured this must of been the way I installed it so I've tried several
different web links, via ppm everything installs ok, but the example above
just hangs or I can't get to the end of the maze so to speak. 

Links I've tried

http://lists.rawmode.org/pipermail/catalyst/2005-April/000119.html - was
close on this one, using the hops db 
http://catalyst.infogami.com/install/windows - couldn't get the quickstart
going
http://www.shadowcatsystems.co.uk/static/cat-install - balked on the command
line length, so i installed cygwin and it complained as well

Extra PPM Repositories used

trouchelle.com
theoryx5.uwinnipeg.ca

Thats about it, any help, hints or tips would be appreciated.  I'm thinking
a new OS is probably the best place to start :)

Thanks

Jamie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070726/58a8b616/attachment.htm


More information about the Catalyst mailing list