RE: [Catalyst] Catalyst Newbie - Installation/Quickstart Issues -Vista

2007-07-26 Thread Peter Edwards
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:[EMAIL PROTECTED] 
Sent: 26 July 2007 22:53
To: catalyst@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

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/


RE: [Catalyst] Catalyst Newbie - Installation/Quickstart Issues -Vista

2007-07-26 Thread Peter Edwards
Regards, Peter

Dragonstaff Limited   http://www.dragonstaff.com/
http://www.dragonstaff.com  Business IT Consultancy
Technology House, 151 Silbury Boulevard, Central Milton Keynes, Bucks MK9
1LH, UK

Skype:  callto://Peter.Edwards/ Peter.Edwards  Tel/Fax: 0845 0537418
Direct: 01908 424400  Mob: 07986 842718

 

  _  

From: Jamie Nicholson [mailto:[EMAIL PROTECTED] 
Sent: 26 July 2007 22:53
To: catalyst@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

___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/