[Catalyst] installation problem on mac os x tiger

Simon Yeh simonyeh at optonline.net
Fri Jan 20 18:21:25 CET 2006


Thanks for the helps. I have updated YAML to 0.53.

Looks to me my Catalyst installation problem most stem from my CPAN  
(or CPANPLUS?) confgurations as such errors popped everywhere when  
cpan installing catalyst dependent modules:

> Writing Makefile for Task::Catalyst
> /usr/bin/perl -Iinc Makefile.PL --config= -- 
> installdeps=Catalyst::Log::Log4perl,0,Catalyst::Plugin::StackTrace, 
> 0,Catalyst::Plugin::SubRequest,0,Catalyst::Plugin::Session, 
> 0,Catalyst::Plugin::Session::Store::File, 
> 0,Catalyst::Plugin::Session::State::Cookie, 
> 0,Catalyst::Plugin::Session::State::URI, 
> 0,Catalyst::Plugin::Authentication, 
> 0,Catalyst::Plugin::Authentication::Store::DBIC, 
> 0,Catalyst::Plugin::Authentication::Store::Htpasswd, 
> 0,Catalyst::Plugin::Authorization::ACL, 
> 0,Catalyst::Plugin::Authorization::Roles, 
> 0,Test::WWW::Mechanize::Catalyst,0
> *** Installing dependencies...
> [MSG] Checking if source files are up to date
> [MSG] Retrieving /Users/admin/.cpanplus/sourcefiles.2.15.stored
> *** Installing Catalyst::Log::Log4perl...
> ==> MISSING Signature file! <==
> Running [/usr/bin/make UNINST=1]...
> Running [/usr/bin/make test UNINST=1]...
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> 1..1
> not ok 1 - use Catalyst::Log::Log4perl;
> #   Failed test 'use Catalyst::Log::Log4perl;'#   in test.pl at  
> line 4.#     Tried to use 'Catalyst::Log::Log4perl'.#     Error:   
> Can't locate Params/Validate.pm in @INC (@INC contains: blib/lib  
> blib/arch /Users/admin/.cpanplus/5.8.6/build/Catalyst-Log- 
> Log4perl-0.1/blib/lib /System/Library/Perl/5.8.6/darwin-thread- 
> multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- 
> thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/ 
> Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/ 
> 5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/ 
> darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 / 
> Library/Perl/5.8.1 .) at blib/lib/Catalyst/Log/Log4perl.pm line 60.
> # BEGIN failed--compilation aborted at test.pl line 4.
> # Compilation failed in require at (eval 3) line 2.
> # BEGIN failed--compilation aborted at (eval 3) line 2.
> # Looks like you failed 1 test of 1.
> make[1]: *** [test_dynamic] Error 1
>

Before installing Catalyst I installed CPANPLUS but bailed out (or I  
thought I did) because I turned on the cpan feature of verifying  
signed modules without GnuPGP and a few other modules in placed  
first. I later installed GnuPGP and generated my keys. Now when  
running cpan as root, I often got this warning:

     gpg: WARNING: unsafe ownership on configuration file `/Users/ 
syeh/.gnupg/gpg.conf'

for example, now I am not able to even upgrade CPAN with cpan, here  
is the log:
> syehmac:~ root# cpan
>
> cpan shell -- CPAN exploration and modules installation (v1.76)
> ReadLine support enabled
>
> cpan> install  
> Bundle::CPAN                                                           
>      CPAN: Storable loaded ok
> Going to read /Users/syeh/.cpan/Metadata
>   Database was generated on Thu, 19 Jan 2006 23:12:42 GMT
> File::Spec is up to date.
> Digest::MD5 is up to date.
> Compress::Zlib is up to date.
> Archive::Tar is up to date.
> Data::Dumper is up to date.
> Net::Telnet is up to date.
> Net::Cmd is up to date.
> Term::ReadKey is up to date.
> Term::ReadLine::Perl is up to date.
> Running install for module CPAN
> Running make for A/AN/ANDK/CPAN-1.83.tar.gz
> CPAN: Digest::MD5 loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for /Users/syeh/.cpan/sources/authors/id/A/AN/ANDK/ 
> CPAN-1.83.tar.gz ok
> Scanning cache /Users/syeh/.cpan/build for sizes
> CPAN-1.83/
> CPAN-1.83/lib/
> CPAN-1.83/lib/CPAN.pm
> CPAN-1.83/lib/CPAN/
> CPAN-1.83/lib/CPAN/Tarzip.pm
> CPAN-1.83/lib/CPAN/Admin.pm
> CPAN-1.83/lib/CPAN/Version.pm
> CPAN-1.83/lib/CPAN/Nox.pm
> CPAN-1.83/lib/CPAN/Debug.pm
> CPAN-1.83/lib/CPAN/HandleConfig.pm
> CPAN-1.83/lib/CPAN/FirstTime.pm
> CPAN-1.83/lib/Bundle/
> CPAN-1.83/lib/Bundle/CPAN.pm
> CPAN-1.83/inc/
> CPAN-1.83/inc/Test/
> CPAN-1.83/inc/Test/Builder.pm
> CPAN-1.83/inc/Test/More.pm
> CPAN-1.83/Releasenotes
> CPAN-1.83/t/
> CPAN-1.83/t/loadme.t
> CPAN-1.83/t/vcmp.t
> CPAN-1.83/t/signature.t
> CPAN-1.83/t/mirroredby.t
> CPAN-1.83/t/version.t
> CPAN-1.83/t/pod.t
> CPAN-1.83/t/Nox.t
> CPAN-1.83/PAUSE2003.pub
> CPAN-1.83/ChangeLog.old
> CPAN-1.83/MANIFEST
> CPAN-1.83/MANIFEST.SKIP
> CPAN-1.83/scripts/
> CPAN-1.83/scripts/cpan
> CPAN-1.83/PAUSE2005.pub
> CPAN-1.83/META.yml
> CPAN-1.83/Todo
> CPAN-1.83/ChangeLog
> CPAN-1.83/Changes.old
> CPAN-1.83/Makefile.PL
> CPAN-1.83/README
> CPAN-1.83/SIGNATURE
> Removing previously used /Users/syeh/.cpan/build/CPAN-1.83
>
>   CPAN.pm: Going to build A/AN/ANDK/CPAN-1.83.tar.gz
>
> Importing PAUSE public key into your GnuPG keychain... gpg:  
> WARNING: unsafe ownership on configuration file `/Users/syeh/.gnupg/ 
> gpg.conf'
> done!
> (You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
> Checking if your kit is complete...
> Looks good
> Writing Makefile for CPAN
> cp lib/CPAN.pm blib/lib/CPAN.pm
> cp lib/CPAN/Admin.pm blib/lib/CPAN/Admin.pm
> cp lib/CPAN/Tarzip.pm blib/lib/CPAN/Tarzip.pm
> cp lib/CPAN/Debug.pm blib/lib/CPAN/Debug.pm
> cp lib/CPAN/HandleConfig.pm blib/lib/CPAN/HandleConfig.pm
> cp lib/Bundle/CPAN.pm blib/lib/Bundle/CPAN.pm
> cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm
> cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm
> cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm
> cp scripts/cpan blib/script/cpan
> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpan
> Manifying blib/man1/cpan.1
> Manifying blib/man3/CPAN.3pm
> Manifying blib/man3/CPAN::Version.3pm
> Manifying blib/man3/CPAN::Admin.3pm
> Manifying blib/man3/Bundle::CPAN.3pm
> Manifying blib/man3/CPAN::Nox.3pm
> Manifying blib/man3/CPAN::FirstTime.3pm
>   /usr/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/loadme........ok
> t/mirroredby....ok
> t/Nox...........ok
> t/pod...........ok
> t/signature.....gpg: WARNING: unsafe ownership on configuration  
> file `/Users/syeh/.gnupg/gpg.conf'
> gpg: WARNING: unsafe ownership on configuration file `/Users/ 
> syeh/.gnupg/gpg.conf'
> gpg: Signature made Thu Jan  5 03:02:17 2006 EST using DSA key ID  
> A317C15D
> gpg: external program calls are disabled due to unsafe options file  
> permissions
> gpg: keyserver communications error: general error
> gpg: Can't check signature: public key not found
> ==> BAD/TAMPERED signature detected! <==
> t/signature.....FAILED test 1
>         Failed 1/1 tests, 0.00% okay
> t/vcmp..........ok
> t/version.......ok
> Failed Test   Stat Wstat Total Fail  Failed  List of Failed
> ---------------------------------------------------------------------- 
> -------------------
> t/signature.t                1    1 100.00%  1
> Failed 1/7 test scripts, 85.71% okay. 1/68 subtests failed, 98.53%  
> okay.
> make: *** [test_dynamic] Error 255
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force
> Bundle summary: The following items in bundle Bundle::CPAN had  
> installation
> problems:
>   CPAN
>
> cpan>

I wonder if this is due to the ownership of my ~/.gnupg/gpg.conf  
since I'm running cpan as root?
Is there a way for root to trust my keys? Or perhaps, how can I  
reconfig cpan to turn off the feature that verifying module signatures?

Sorry these questions seems beyond the subject of Catalyst  
discussion, but I am just trying to get Catalyst installed, didn't  
think it can be so aggravated :-(

--- 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