Thank you guys, it seems that i didn&#39;t had installed GCC, and now there is another error after i run the comand : <br># <a href="http://catalyst.pl">catalyst.pl</a> Myapp<br>Can&#39;t locate Class/MOP.pm in @INC<br><div class="gmail_quote">
<br>This is the module Class::MOP ? If it is it gives me another error ... (after alot of text)<br><br><blockquote>t/315_magic.t                           (Wstat: 512 Tests: 0 Failed: 0)<br>  Non-zero exit status: 2<br>  Parse errors: Bad plan.  You planned 9 tests but ran 0.<br>
t/500_deprecated.t                      (Wstat: 512 Tests: 0 Failed: 0)<br>  Non-zero exit status: 2<br>  Parse errors: Bad plan.  You planned 6 tests but ran 0.<br>Files=77, Tests=22,  6 wallclock secs ( 0.29 usr  0.16 sys +  5.26 cusr  0.79 csys =  6.50 CPU)<br>
Result: FAIL<br>Failed 74/77 test programs. 2/22 subtests failed.<br>make: *** [test_dynamic] Error 2<br>  DROLSKY/Class-MOP-0.93.tar.gz<br>  /usr/bin/make test -- NOT OK<br>//hint// to see the cpan-testers results for installing this module, try:<br>
  reports DROLSKY/Class-MOP-0.93.tar.gz<br>Running make install<br>  make test had returned bad status, won&#39;t install without force<br></blockquote>Thank you for your help once more!<br><br>2009/9/22 Octavian Rāsnita <span dir="ltr">&lt;<a href="mailto:orasnita@gmail.com">orasnita@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">From: &quot;Alejandro Imass&quot; &lt;<a href="mailto:alejandro.imass@gmail.com" target="_blank">alejandro.imass@gmail.com</a>&gt;<div class="im">
<br>
Here is how I go about with a CPAN failed test:<br>
1) Determine which module is producing the error. This is usually as<br>
easy as scrolling up a bit in your shell and look for the latest lines<br>
that read &quot;Going to build XXX&quot;.<br>
2) Exit the CPAN shell and go to the build directory, which would be<br>
~/.cpan/build/module-XXXX . You have to be careful that XXXX is the<br>
actual version you are trying to install. If unsure delete all<br>
versions of the module there (rm -Rf ~/.cpan/build/module*) and re-try<br>
with CPAN shell. If you are probably runing CPAN as root, that would<br>
be /root/.cpan/build/module-XXXX.<br>
3) Inside the directory of the module, just run make and make test and<br>
try to see exactly what&#39;s going on. Usually is a failed dependency<br>
like Tom said, but sometimes it may be things like your locale or many<br>
other things. If unsure, just copy the ouput from that single module&#39;s<br>
output here and many will surely help.<br>
Best,<br>
Alejandro Imass<br>
<br></div>
If you want to go into the directory where the module ModuleName was built, you don&#39;t need to exit the CPAN shell, but just use:<br>
<br>
cpan&gt; look ModuleName<br>
<br>
It will open a sub-shell.<br>
There you can use perl Makefile.PL, make, make test, prove -l t<br>
Then you can go back to the cpan shell by using exit command.<br>
<br>
HTH.<br><font color="#888888">
<br>
Octavian</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>David Silva - <a href="http://davidslv.com/">http://davidslv.com/</a><br>