<br><br><div class="gmail_quote">2010/5/18 Glauber Machado Rodrigues (Ananda) <span dir="ltr"><<a href="mailto:glauber.rodrigues@gmail.com">glauber.rodrigues@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote">2010/5/18 Nilson Santos Figueiredo Jr. <span dir="ltr"><<a href="mailto:acid06@gmail.com" target="_blank">acid06@gmail.com</a>></span><div class="im"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>2010/5/18 Glauber Machado Rodrigues (Ananda) <<a href="mailto:glauber.rodrigues@gmail.com" target="_blank">glauber.rodrigues@gmail.com</a>>:<br>
</div><div>> Valeu pessoal, eu consegui instalar os módulos que estavam faltando na mão<br>
> (que deveriam ser papel do Makefile.PL). Não sei o que fazer para o exemplo<br>
> dos livros serem corrigidos enquanto a isso. Fico feliz por ter resolvido o<br>
> meu problema, obrigado por ajudarem.<br>
<br>
</div>O problema é que você está rodando makefiles na mão.<br>
Use o shell da CPAN (o tradicional "cpan" ou então instale o<br>
App::cpanminus e use o "cpanm" que é mais DWIM).<br>
<br></blockquote></div></div><br>Estou falando do Makefile.PL do catalyst, que faz tudo isso basta você. Basta colocar o nome da dependencia lá e ele baixa para você via cpan. Quem não sabe o que é um Makefile.PL do catalyst, por favor, fala.<div>
<div></div><div class="h5"><br clear="all"></div></div></blockquote></div>"""<br>Makefile.PL: This is a script that will generate a makefile to build, test and install<br>your application. It can also contain a list of your application's CPAN dependencies<br>
and automatically install them.<br>To run Makefile.PL and generate a Makefile, simply type perl Makefile.PL.<br>After that, you can run make to build the app, make test to test the app (you can try<br>this right now, as some sample tests have already been created), make install to<br>
install the app, and so on. For full details, see the Module::Install documentation.<br>It's important that you don't delete this file. Catalyst looks for it to determine where<br>the root of your application is.<br>
"""<br>Esse é o Makefile da aplicação que eu estava com problemas:<br>"""<br># IMPORTANT: if you delete this file your app will not work as<br># expected. you have been warned<br>use inc::Module::Install;<br>
<br>name 'DBAuthTest';<br>all_from 'lib/DBAuthTest.pm';<br><br>requires 'Catalyst::Runtime' => '5.80002';<br>requires 'Catalyst::Plugin::ConfigLoader';<br>requires 'Catalyst::Plugin::Static::Simple';<br>
requires 'Catalyst::Action::RenderView';<br>requires 'parent';<br>requires 'Config::General'; # This should reflect the config file format you've chosen<br> # See Catalyst::Plugin::ConfigLoader for supported formats<br>
catalyst;<br><br>install_script glob('script/*.pl');<br>auto_install;<br>WriteAll;<br>"'""<br><br><br><br>-- <br>Glauber Machado Rodrigues<br>(Só mais um filho de Deus)<br><br>skype: glauber.rodrigues<br>