[Catalyst] Hi, First time using Catalyst and get an install error
alejandro.imass at gmail.com
Tue Sep 22 19:59:57 GMT 2009
When working with CPAN it's usually a good idea to start by installing
If this works ok you may then proceed by installing Catalyst::Devel
Here are some tips that will surely help you:
1) Try installing DBI and your specific DBD drivers using your
distro's binary packages (rpm for SuSe).
2) Make sure you have a working C compiler and build tools. In Debian
there is a meta-package called build-essential.
3) Pay close attention to the dependencies. At first, don't install
any optional or suggested dependencies unless you know exactly why you
need them, and since you are new to Catalyst and Perl just don't
install any dependencies that have the [n] pre-selected.
4) When you get an error you have to determine which module is failing
the test. Test failure is not uncommon and it is expected that you try
to determine why the test is failing or at minimum which module that
test belong to.
Here is how I go about with a CPAN failed test:
1) Determine which module is producing the error. This is usually as
easy as scrolling up a bit in your shell and look for the latest lines
that read "Going to build XXX".
2) Exit the CPAN shell and go to the build directory, which would be
~/.cpan/build/module-XXXX . You have to be careful that XXXX is the
actual version you are trying to install. If unsure delete all
versions of the module there (rm -Rf ~/.cpan/build/module*) and re-try
with CPAN shell. If you are probably runing CPAN as root, that would
3) Inside the directory of the module, just run make and make test and
try to see exactly what's going on. Usually is a failed dependency
like Tom said, but sometimes it may be things like your locale or many
other things. If unsure, just copy the ouput from that single module's
output here and many will surely help.
On Tue, Sep 22, 2009 at 2:02 PM, David Silva <davidslv at gmail.com> wrote:
> Hi again, i updated CPAN to 1.9402, but the error apeared again, só i
> decided to force the installation. Have to see if everything is working.
> There is any command line to see if it is installed already?
> When i get home i will see if is working.
> Thank you for your help!!!
> 2009/9/22 Tomas Doran <bobtfish at bobtfish.net>
>> David Silva wrote:
>>> Hi everyone!
>>> I'm new with Catalyst Framework, and i was installing it with CPAN,
>>> everthing was ok until i get an error message:
>>> t/01use.t (Wstat: 256 Tests: 2 Failed: 1)
>> Hiya David.
>> The actual useful error message will occur significantly before where you
>> I'm guessing that the issue is your CPAN client not correctly installing
>> the dependencies for Catalyst.
>> I'd recommend that you try upgrading your CPAN client to the latest
>> version, as some versions of CPAN.pm had an issue with a broken SQLite store
>> and failed to correctly install dependencies and retry the install.
>> If you're still having issues, please feel free to come back attaching
>> _full_ logs of the CPAN session to help diagnose the issue.
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> Dev site: http://dev.catalyst.perl.org/
> David Silva - http://davidslv.com/
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://email@example.com/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst