Hi,

I'm new to catalyst and I'm trying to get it installed on my Mac.

The machine's details:
running os 10.4.11
perl 5.8.6

I've been using the manual at http://search.cpan.org/dist/Catalyst-Runtime/lib/Catalyst/Manual/Installation.pod

Basically, I've been assuming that using cpan to install Task::Catalyst and Catalyst::Devel is the way to go.

I started by installing Catalyst::Devel cuz Task::Catalyst seemed to require it. That seemed to install without difficulties.

However, Task::Catalyst wouldn't work.

I found it was failing on Template::Timer.
I fixed that, apparently, by installing Template whole.
This also get Catalyst::View::TT to install properly.

WWW::Mechanize failed because, it seemed, the string "utf8" didn't match "utf-8". I figured that was minor, and force installed it.

Test::WWW::Mechanize failed thus:
    # 500 Can't connect to localhost:13432 (connect: Invalid argument)
so I force-installed that too.
CPAN was trying to install v1.22 of Test::WWW::Mechanize, but during the TEST phase, it comes up with these messages:

t/put_ok................ok 3/12Use of uninitialized value in substitution (s///) at 
/Library/Perl/5.8.6/LWP/Protocol/http.pm line 161, <DATA> line 16.
Use of uninitialized value in concatenation (.) or string at 
/Library/Perl/5.8.6/Net/HTTP/Methods.pm line 140, <DATA> line 16.
Use of uninitialized value in substitution (s///) at 
/Library/Perl/5.8.6/LWP/Protocol/http.pm line 161, <DATA> line 16.
Use of uninitialized value in concatenation (.) or string at 
/Library/Perl/5.8.6/Net/HTTP/Methods.pm line 140, <DATA> line 16.
t/put_ok................ok t/stuff_inputs..........ok t/submit_form_ok........ok 2/0 # Failed test 'Submit First Form'
#   at t/submit_form_ok.t line 28.
# 500 Can't connect to localhost:13432 (connect: Invalid argument)
# Content-Type: text/plain
# Client-Date: Tue, 23 Dec 2008 17:57:22 GMT
# Client-Warning: Internal response
# # 500 Can't connect to localhost:13432 (connect: Invalid argument)
# Looks like you failed 1 test of 3.
t/submit_form_ok........dubious Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
Failed Test        Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/submit_form_ok.t    1   256     3    1  3
2 tests skipped.
Failed 1/22 test scripts. 1/198 subtests failed.
Files=22, Tests=198, 26 wallclock secs ( 6.71 cusr +  1.94 csys =  8.65 CPU)
Failed 1/22 test programs. 1/198 subtests failed.
make: *** [test_dynamic] Error 1
  PETDANCE/Test-WWW-Mechanize-1.22.tar.gz

Test::WWW::Mechanize::Catalyst failed because it couldn't find certain URLs and ports. Possibly a matter of how my httpd is configured.
So I force-installed that too.

With this, Locale::Maketext::Lexicon installed properly (which it didn't do before). Ditto for Catalyst::Plugin::I18N.

Eventually, CPAN gets to Catalyst::Controller::HTML::FormFu v0.03007.
It's test fails thus:

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01basic-form...................ok t/01basic-formconfig.............ok t/01basic-formconfig_conf_ext....ok t/01basic-formmethod.............ok t/02multiform-multiformconfig....Can't locate object method "post_ok" via package "Test::WWW::Mechanize::Catalyst" at t/02multiform-multiformconfig.t line 27.
t/02multiform-multiformconfig....ok 1/13# Looks like you planned 13 tests but 
ran 4.
# Looks like your test exited with 255 just after 4.
t/02multiform-multiformconfig....dubious Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-13
        Failed 9/13 tests, 30.77% okay
t/02multiform-multiformmethod....ok 1/13Can't locate object method "post_ok" via package 
"Test::WWW::Mechanize::Catalyst" at t/02multiform-multiformmethod.t line 27.
# Looks like you planned 13 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/02multiform-multiformmethod....dubious Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-13
        Failed 9/13 tests, 30.77% okay
Failed Test                     Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/02multiform-multiformconfig.t  255 65280    13   18  5-13
t/02multiform-multiformmethod.t  255 65280    13   18  5-13
Failed 2/6 test scripts. 18/38 subtests failed.
Files=6, Tests=38, 12 wallclock secs ( 8.69 cusr +  2.19 csys = 10.88 CPU)
Failed 2/6 test programs. 18/38 subtests failed.
make: *** [test_dynamic] Error 255
  CFRANKS/Catalyst-Controller-HTML-FormFu-0.03007.tar.gz
  /usr/bin/make test -- NOT OK

I also get several occurrences of

Cannot determine perl version info from lib/Task/Catalyst.pm

I'm stumped.  Can anyone help?

Cheers.
Fil Salustri

--
Prof. Filippo A. Salustri, Ph.D., P.Eng.
Department of Mechanical and Industrial Engineering
Ryerson University                         Tel: 416/979-5000 x7749
350 Victoria St.                           Fax: 416/979-5265
Toronto, ON                                email: salus...@ryerson.ca
M5B 2K3  Canada                            http://deseng.ryerson.ca/~fil/

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

Reply via email to