Andre, o que aconteceu foi um erro no teste do programa, o programa foi compilado normalmente, o erro aconteceu por causa disso:<br>t/board............Can&#39;t locate List/Compare.pm in @INC (@INC contains: /root/.cpan/build/Chess-
0.6.0/blib/lib<br>você não tem instalado o List::Compare, que não é um pre-requisito para instalar, mais sim para testar, se voce está com pressa digita <br>force installl Modulo::Modulo<br>Se não instale o List::Compare e tente de novo ;)
<br>Que erro que acontece quando você tenta instalar o catalyst?<br><br><div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">André Garcia Carneiro</b> &lt;<a href="mailto:andre.garcia.carneir@terra.com.br">
andre.garcia.carneir@terra.com.br</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Salve Monges!<br><br><br>Tive que me ausentar devido a forças maiores, mas continuo com o meu problema do CPAN. Espero que não se
<br>importem em me ajudar com isso.<br><br>Só pra re-lembrar, estou tentando instalar o Catalyst no Slackware 10.1, e o meu CPAN não funciona direito. O<br>problema aparente é que no final da compilação ele não consegue instalar os pacotes nos seus respectivos
<br>diretórios, por alguma razão. Como eu costumo resolver isso? Baixo o source e compilo na mão, mas com o<br>Catalyst fica inviável, já que são muitas dependências.<br><br>Lembrando mais:<br><br>S.O. : Linux Slackware 10.1
<br><br>usuário rodando o cpan: root<br><br>@INC (# perl -e &quot;print @INC;&quot;)&nbsp;&nbsp;:<br>/usr/lib/perl5/5.8.7/i486-linux/usr/lib/perl5/5.8.7/usr/lib/perl5/site_perl/5.8.7/i486-linux/usr/lib/perl5/site_perl/5.8.7/usr/lib/perl5/site_perl
<br><br><br>Abaixo coloquei o ciclo de instalação do pacote através do cpan(como root digite &#39;cpan&#39; e depois fiz install<br>Chess::Game), logo abaixo. Um dos problemas que eu notei é que ele não conseguiu encontrar a package
<br>List::Compare, embora tenha continuado a instalação(pode ser q a instalação dessa package não seja mandatória).<br>Tentei instalar a List::Compare também, mas embora não tenha ocorrido nenhum erro, quando tento fazer use na
<br>package, perl me retorna uma mensagem dizendo que não encontrou a p... da package em @INC.<br><br>Não sei se ajuda, mas os builds estão sendo construídos em /root/.cpan/Build.<br><br>Por favor me ajudem!!!<br><br><br>
<br>Resultado do teste de instalação do CPAN, para o pacote Chess::Game:<br><br>cpan[4]&gt; install Chess::Game<br>Running install for module Chess::Game<br>Running make for B/BJ/BJR/Chess-0.6.0.tar.gz<br>Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/5.8.7/CPAN/HandleConfig.pm line 335, &lt;FIN&gt;
<br>line 4.<br><br>Trying with &quot;/usr/bin/wget -O /root/.cpan/sources/authors/id/B/BJ/BJR/Chess-0.6.0.tar&quot; to get<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="ftp://ftp.is.co.za/programming/perl/CPAN/authors/id/B/BJ/BJR/Chess-0.6.0.tar.gz">ftp://ftp.is.co.za/programming/perl/CPAN/authors/id/B/BJ/BJR/Chess-0.6.0.tar.gz
</a><br>--17:12:14--&nbsp;&nbsp;<a href="ftp://ftp.is.co.za/programming/perl/CPAN/authors/id/B/BJ/BJR/Chess-0.6.0.tar.gz">ftp://ftp.is.co.za/programming/perl/CPAN/authors/id/B/BJ/BJR/Chess-0.6.0.tar.gz</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; `/root/.cpan/sources/authors/id/B/BJ/BJR/Chess-
0.6.0.tar&#39;<br>Resolving ftp.is.co.za... <a href="http://196.4.160.12">196.4.160.12</a><br>Connecting to ftp.is.co.za|196.4.160.12|:21... connected.<br>Logging in as anonymous ... Logged in!<br>==&gt; SYST ... done.&nbsp;&nbsp;&nbsp;&nbsp;==&gt; PWD ... done.
<br>==&gt; TYPE I ... done.&nbsp;&nbsp;==&gt; CWD /programming/perl/CPAN/authors/id/B/BJ/BJR ... done.<br>==&gt; PASV ... done.&nbsp;&nbsp;&nbsp;&nbsp;==&gt; RETR Chess-0.6.0.tar.gz ... done.<br>Length: 22,058 (22K) (unauthoritative)<br><br>100%[===============================================================================&gt;] 22,058&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
10.43K/s<br><br>17:12:27 (10.42 KB/s) - `/root/.cpan/sources/authors/id/B/BJ/BJR/Chess-0.6.0.tar&#39; saved [22058]<br><br>CPAN: checksum security checks disabledbecause Digest::SHA not installed.<br>Chess-0.6.0/<br>Chess-0.6.0
/lib/<br>Chess-0.6.0/lib/Chess.pm<br>Chess-0.6.0/lib/Chess/<br>Chess-0.6.0/lib/Chess/Game/<br>Chess-0.6.0/lib/Chess/Game/MoveListEntry.pm<br>Chess-0.6.0/lib/Chess/Game/MoveList.pm<br>Chess-0.6.0/lib/Chess/Game.pm<br>Chess-0.6.0
/lib/Chess/Board.pm<br>Chess-0.6.0/lib/Chess/Piece.pm<br>Chess-0.6.0/lib/Chess/Board/<br>Chess-0.6.0/lib/Chess/Piece/<br>Chess-0.6.0/lib/Chess/Piece/Pawn.pm<br>Chess-0.6.0/lib/Chess/Piece/Bishop.pm<br>Chess-0.6.0/lib/Chess/Piece/Queen.pm
<br>Chess-0.6.0/lib/Chess/Piece/Rook.pm<br>Chess-0.6.0/lib/Chess/Piece/King.pm<br>Chess-0.6.0/lib/Chess/Piece/Knight.pm<br>Chess-0.6.0/MANIFEST<br>Chess-0.6.0/t/<br>Chess-0.6.0/t/game.t<br>Chess-0.6.0/t/movelist.t<br>Chess-0.6.0
/t/queen.t<br>Chess-0.6.0/t/king.t<br>Chess-0.6.0/t/movelistentry.t<br>Chess-0.6.0/t/knight.t<br>Chess-0.6.0/t/board.t<br>Chess-0.6.0/t/rook.t<br>Chess-0.6.0/t/stalemate.t<br>Chess-0.6.0/t/pawn.t<br>Chess-0.6.0/t/checkmate.t
<br>Chess-0.6.0/t/bishop.t<br>Chess-0.6.0/t/piece.t<br>Chess-0.6.0/TODO<br>Chess-0.6.0/Changes<br>Chess-0.6.0/README<br>Chess-0.6.0/Makefile.PL<br><br>&nbsp;&nbsp;CPAN.pm: Going to build B/BJ/BJR/Chess-0.6.0.tar.gz<br><br>Checking if your kit is complete...
<br>Looks good<br>Writing Makefile for Chess<br>cp lib/Chess/Game.pm blib/lib/Chess/Game.pm<br>cp lib/Chess/Game/MoveList.pm blib/lib/Chess/Game/MoveList.pm<br>cp lib/Chess/Piece/King.pm blib/lib/Chess/Piece/King.pm<br>cp lib/Chess/Board.pm blib/lib/Chess/Board.pm
<br>cp lib/Chess/Piece/Queen.pm blib/lib/Chess/Piece/Queen.pm<br>cp lib/Chess/Piece/Knight.pm blib/lib/Chess/Piece/Knight.pm<br>cp lib/Chess/Piece/Pawn.pm blib/lib/Chess/Piece/Pawn.pm<br>cp lib/Chess/Game/MoveListEntry.pm blib/lib/Chess/Game/MoveListEntry.pm
<br>cp lib/Chess.pm blib/lib/Chess.pm<br>cp lib/Chess/Piece.pm blib/lib/Chess/Piece.pm<br>cp lib/Chess/Piece/Bishop.pm blib/lib/Chess/Piece/Bishop.pm<br>cp lib/Chess/Piece/Rook.pm blib/lib/Chess/Piece/Rook.pm<br>Manifying blib/man3/Chess::Game::
MoveList.3<br>Manifying blib/man3/Chess::Game.3<br>Manifying blib/man3/Chess::Piece::King.3<br>Manifying blib/man3/Chess::Piece::Queen.3<br>Manifying blib/man3/Chess::Board.3<br>Manifying blib/man3/Chess::Piece::Knight.3<br>
Manifying blib/man3/Chess::Piece::Pawn.3<br>Manifying blib/man3/Chess::Game::MoveListEntry.3<br>Manifying blib/man3/Chess.3<br>Manifying blib/man3/Chess::Piece.3<br>Manifying blib/man3/Chess::Piece::Rook.3<br>Manifying blib/man3/Chess::Piece::
Bishop.3<br>&nbsp;&nbsp;/usr/bin/make&nbsp;&nbsp;-- OK<br>Running make test<br>Prepending /root/.cpan/build/IO-Compress-Base-2.003/blib/arch /root/.cpan/build/IO-Compress-Base-2.003/blib/lib<br>/root/.cpan/build/PathTools-3.24/blib/arch /root/.cpan/build/PathTools-
3.24/blib/lib<br>/root/.cpan/build/Compress-Raw-Zlib-2.003/blib/arch /root/.cpan/build/Compress-Raw-Zlib-2.003/blib/lib<br>/root/.cpan/build/File-Which-0.05/blib/arch /root/.cpan/build/File-Which-0.05/blib/lib to PERL5LIB.
<br>PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, &#39;blib/lib&#39;, &#39;blib/arch&#39;)&quot;<br>t/*.t<br>t/bishop...........ok<br>t/board............Can&#39;t locate List/Compare.pm in @INC (@INC contains: /root/.cpan/build/Chess-
0.6.0/blib/lib<br>/root/.cpan/build/Chess-0.6.0/blib/arch /root/.cpan/build/IO-Compress-Base-2.003/blib/arch<br>/root/.cpan/build/IO-Compress-Base-2.003/blib/lib /root/.cpan/build/PathTools-3.24/blib/arch<br>/root/.cpan/build/PathTools-
3.24/blib/lib /root/.cpan/build/Compress-Raw-Zlib-2.003/blib/arch<br>/root/.cpan/build/Compress-Raw-Zlib-2.003/blib/lib /root/.cpan/build/File-Which-0.05/blib/arch<br>/root/.cpan/build/File-Which-0.05/blib/lib /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7
<br>/usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at<br>t/board.t line 4.<br>BEGIN failed--compilation aborted at t/board.t line 4.<br># Looks like your test died before it could output anything.
<br>t/board............dubious<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test returned status 255 (wstat 65280, 0xff00)<br>DIED. FAILED tests 1-36<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Failed 36/36 tests, 0.00% okay<br>t/checkmate........ok<br>t/game.............ok<br>t/king.............ok
<br>t/knight...........ok<br>t/movelist.........ok<br>t/movelistentry....ok<br>t/pawn.............ok<br>t/piece............ok<br>t/queen............ok<br>t/rook.............ok<br>t/stalemate........ok<br>Failed Test Stat Wstat Total Fail&nbsp;&nbsp;Failed&nbsp;&nbsp;List of Failed
<br>-------------------------------------------------------------------------------<br>t/board.t&nbsp;&nbsp;&nbsp;&nbsp;255 65280&nbsp;&nbsp;&nbsp;&nbsp;36&nbsp;&nbsp; 72 200.00%&nbsp;&nbsp;1-36<br>Failed 1/13 test scripts, 92.31% okay. 36/310 subtests failed, 88.39% okay.<br>make: *** [test_dynamic] Error 255
<br>&nbsp;&nbsp;/usr/bin/make test -- NOT OK<br>Running make install<br>&nbsp;&nbsp;make test had returned bad status, won&#39;t install without force<br>Failed during this command:<br>&nbsp;&nbsp;BJR/Chess-0.6.0.tar.gz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : make_test NO
<br><br>cpan[5]&gt;<br><br><br><br><br><br><br><br><br>--<br>André Garcia Carneiro<br>Developer(Perl/PHP)<br>Member of &quot;São Paulo Perl Mongers&quot; - <a href="http://sao-paulo.pm.org">http://sao-paulo.pm.org</a><br>
<br>_______________________________________________<br>SaoPaulo-pm mailing list<br><a href="mailto:SaoPaulo-pm@pm.org">SaoPaulo-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/saopaulo-pm">http://mail.pm.org/mailman/listinfo/saopaulo-pm
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Lindolfo &quot;Lorn&quot; Rodrigues<br>- <a href="http://www.slackwarezine.com.br">www.slackwarezine.com.br</a><br>- <a href="http://lornlab.org">http://lornlab.org
</a><br>- <a href="http://sao-paulo.pm.org">http://sao-paulo.pm.org</a><br>use Catalyst;