***********************************************************
installing DBIx::Class via cpan, has dependency on Class::C3
perl -MCPAN -e 'install DBIx::Class' 2>&1 | grep C3 | head -n3
- ERROR: Class::C3 is not installed
Class::C3
Running install for module Class::C3
.............
Class::C3 has dependency on Algorithm::C3
linux:/home/thartman # perl -MCPAN -e 'install Class::C3' 2>&1 | grep -ie ' can.t locate Algorithm/C3' | head -n1
# Error: Can't locate Algorithm/C3.pm in @INC (@INC contains: /root/.cpan/build/Class-C3-0.12/blib/lib /root/.cpan/build/Class-C3-0.12/blib/arch /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /root/.cpan/build/Class- C3-0.12/blib/lib/Class/C3.pm line 8.
Algorithm::C3 has dependency back on Class::C3, for test 006_complex_merge.t
linux:/home/thartman # perl -MCPAN -e 'install Algorithm::C3' 2>&1 | grep -ie 'can.t locate Class/C3' | head -n1
t/006_complex_merge.........Can't locate Class/C3.pm in @INC (@INC contains: /root/.cpan/build/Algorithm-C3-0.03/blib/lib /root/.cpan/build/Algorithm-C3-0.03/blib/arch /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at t/006_complex_merge.t line 91.
linux:/home/thartman #
Fix: I went into
/root/.cpan/build/Algorithm-C3-0.03/t/006_complex_merge.t
and commented out the line to use Class::C3
I then installed Algorithm::C3 via
Build.pl/; ./build test; ./build install
and it went ok. I was then able to install Class::C3 with cpan:
cpan install Class::C3
2006/8/14, Thomas Hartman <
[EMAIL PROTECTED]>:
I had problems installing DBIC.
The problem had to do with a circular dependency between Algorithm::C3 and Class::C3, which are in turn dependencies for DBIC. This error shows as a failed test in the CPAN test report, for Algo::C3, but one version back from the current version.
I'm not 100% sure, but I think what may have been happening was CPAN wasn't picking up the most recent version of Algo::C3, but one-version-back. I managed to get everything installed by commenting out the line of code that was causing the test failure. But I didn't report it via RT, because I think the may have been fixed in the most recent version. But not sure... confusing!
I'm going to try installing this on my other computer today (at work), and see if Algo::C3 now installs cleanly. If it doesn't, maybe the problem still hasn't been fixed and I'll report via rt.
CPAN certainly has bad hair days.
thomas.2006/8/14, Matt S Trout <[EMAIL PROTECTED]>:Bernhard Graf wrote:
> Is it just me, or do other people also have problems finding the most
> recent DBIC on CPAN?
>
> On http://search.cpan.org/ I can only find DBIx-Class up to 0.06999_07
> _most_ times, but _some_ times I also see 0.07000 .
Something Went Wrong With CPAN (due to a power outage, I think).
Hopefully 07001 will arrive at a more auspicious moment.
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
