[Catalyst] installation problem on mac os x tiger

Simon Yeh simonyeh at optonline.net
Thu Jan 19 21:24:44 CET 2006


Hi,

I just tried installing Catalyst on my iBook  (Mac OS X, 10.4.2) by  
following what Catalyst::Manual::Tutorial suggested:

# running as root
perl -MCPAN -e 'install Task::Catalyst'

however, it failed in several points, and I'm not sure they are  
related (did record the installation log, but its too verbose to post  
here), so let me post some of them and see if I can get help to solve  
them one by one.

1. CPAM.pm keeps thinking Catalyst::Engine::Apache is missing (even  
after I separately installed it):

[Apache/mod_perl Support]
- Catalyst::Engine::Apache          ...missing. (would need 1.05)
==> Auto-install the 1 optional module(s) from CPAN? [n] y

2. after goes through installing Catalyst::Engine::Apache it proceeds  
to:

[CPANPLUS (for easier installations)]
- CPANPLUS                          ...loaded. (0.0562)
*** Dependencies will be installed the next time you type 'make'.
*** Module::AutoInstall configuration finished.
Writing Makefile for Catalyst
************************************************************************ 
********
fordmason is the greatest and gabb is drunk again!
************************************************************************ 
********

Important:
     Install Task::Catalyst to get everything you need to start writing
     serious applications with Catalyst.

         perl -MCPANPLUS -e 'install Task::Catalyst'
         perl -MCPAN -e 'install Task::Catalyst'

Have fun!
Running [/usr/bin/make UNINST=1]...
/usr/bin/perl -Iinc Makefile.PL --config= -- 
installdeps=Catalyst::Engine::Apache,1.05
Cannot determine perl version info from lib/Catalyst.pm
.....
and along the way, mutiple tests failed, such as:

t/unit_core_component.............................Spiffy.pm must be  
loaded before calling 'use base' or 'use mixin' with a
Spiffy module. See the documentation of Spiffy.pm for details.
at /Library/Perl/5.8.6/YAML/Base.pm line 2
Compilation failed in require at /Library/Perl/5.8.6/YAML/Base.pm  
line 2.
BEGIN failed--compilation aborted at /Library/Perl/5.8.6/YAML/Base.pm  
line 2.
Compilation failed in require at /Library/Perl/5.8.6/YAML.pm line 2.
BEGIN failed--compilation aborted at /Library/Perl/5.8.6/YAML.pm line 2.
Compilation failed in require at /Users/admin/.cpanplus/5.8.6/build/ 
Catalyst-5.62/blib/lib/Catalyst.pm line 24.
BEGIN failed--compilation aborted at /Users/admin/.cpanplus/5.8.6/ 
build/Catalyst-5.62/blib/lib/Catalyst.pm line 24.
Compilation failed in require at (eval 3) line 3.
         ...propagated at /System/Library/Perl/5.8.6/base.pm line 85.
BEGIN failed--compilation aborted at t/unit_core_component.t line 12.
# Looks like your test died before it could output anything.
dubious

3. and so CPAN.pm went on to a loop trying to get Catalyst modules  
installed, test, failed, on and on.

I'm complete at lost. Can someone give me a hand?

[not sure this is related, I probably did an incomplete installation  
of CPANPLUS and backed out before I installed GnuPGP and other  
required CPAN modules; and when I re-installed CPANPLUS, it indicates  
there is problem with YAML, even installation of YAML-0.51.tar.gz is  
completed without error.]

Thanks for any help.

--- Simon




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the Catalyst mailing list