Erro na execução

121 views
Skip to first unread message

Cleiton Pinheiro

unread,
Sep 16, 2012, 10:49:09 PM9/16/12
to uniscan...@googlegroups.com
Estou com seguinte erro
Uso linux Suse 12.1

perl uniscan.pl
Can't locate Moose.pm in @INC (@INC contains: ./Uniscan /usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl .) at Uniscan/Crawler.pm line 3.
BEGIN failed--compilation aborted at Uniscan/Crawler.pm line 3.
Compilation failed in require at uniscan.pl line 25.
BEGIN failed--compilation aborted at uniscan.pl line 25.

Douglas Poerschke Rocha

unread,
Sep 17, 2012, 6:11:45 AM9/17/12
to uniscan...@googlegroups.com
Olá Cleiton

Tu precisa instalar a biblioteca Moose.

Instale com o teu gerenciador de pacotes (recomendado) ou através do cpan:

# cpan -i Moose


Abraços.

2012/9/16 Cleiton Pinheiro <t5e...@gmail.com>



--
Douglas Poerschke Rocha
Desenvolvedor do Uniscan.



Douglas Poerschke Rocha

unread,
Sep 17, 2012, 6:20:29 AM9/17/12
to uniscan...@googlegroups.com
Outra coisa, a versão mais recente do perl ( 5.14.2.1402 ) contém todas as bibliotecas necessárias
Cel: +55 55 81375020


Cleiton Pinheiro

unread,
Sep 17, 2012, 2:12:49 PM9/17/12
to uniscan...@googlegroups.com
Ja tenho instalado estou usando o suse.

cleiton:/home/cleiton/Downloads/libwww-perl-6.04 # cpan -i Moose
Going to read '/root/.cpan/Metadata'
  Database was generated on Sun, 16 Sep 2012 08:43:03 GMT
Moose is up to date (2.0603).
cleiton:/home/cleiton/Downloads/libwww-perl-6.04 #

o que devo fazer


leiton:/home/cleiton/Downloads/libwww-perl-6.04 # perl -v

This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-thread-multi

Copyright 1987-2011, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Douglas Poerschke Rocha

unread,
Sep 17, 2012, 6:11:13 PM9/17/12
to uniscan...@googlegroups.com
Estranho, verifica onde está o Moose.pm: 
# updatedb; locate Moose.pm
aqui está em: /opt/ActivePerl-5.14/lib/Moose.pm

Se não encontrar reinstala e instala as dependências do Moose também.
Se ainda assim não der, instala o ActivePerl em vez do Perl pelo site que te passei antes.

Caso ainda tenha problemas me avisa pra investigarmos isso.

Abraços.

2012/9/17 Cleiton Pinheiro <t5e...@gmail.com>

BuM

unread,
Sep 23, 2012, 4:05:39 PM9/23/12
to uniscan...@googlegroups.com

BuM

unread,
Sep 23, 2012, 4:07:22 PM9/23/12
to uniscan...@googlegroups.com
sudo apt-get install libmodule-install-perl libmoose-perl

Cleiton Pinheiro

unread,
Sep 25, 2012, 11:40:40 AM9/25/12
to uniscan...@googlegroups.com
Ja resolvi instalei o novo perl o meu estava desatualizado.
Reply all
Reply to author
Forward
0 new messages