[SP-pm] make test had returned bad status, won't install without force

Nelson Ferraz nferraz at gmail.com
Mon Sep 22 01:49:48 PDT 2008


2008/9/22 Daniel de Oliveira Mantovani <daniel.oliveira.mantovani em gmail.com>:
>   make test had returned bad status, won't install without force
>
> Alguém tem idea de como instalar o módulo ?

O primeiro passo e' ler as mensagens de erro e entender o que aconteceu:

---

# The Google API web service requires that you provide create a Google
Account and obtain a license key
# This key is then passed with each request you make to the Google servers.
# If you do not already have a Google Account, you can sign up for one here:
# http://www.google.com/apis/
#
# Please enter your Google API key:
ABQIAAAAAts6Q-bzHfaFjX6hknap6hQ__EPT7U-8JXQgbJaCoY-sAJLGyRTaf4_l_b9uFXyO2l0c5bsyPeMGpw

(...)

t/001-search......4/5 Invalid key:
ABQIAAAAAts6Q-bzHfaFjX6hknap6hQ__EPT7U-8JXQgbJaCoY-sAJLGyRTaf4_l_b9uFXyO2l0c5bsyPeMGpw

---

Voce digitou uma Google API key valida?

Se nao digitou, execute o teste novamente e entre sua chave correta.

Se digitou, vale a pena investigar o que pode estar acontecendo. Eis o
codigo-fonte do teste:

http://search.cpan.org/src/ASCOPE/Net-Google-1.0/t/001-search.t

Tente ativar o debug e ver o que acontece:

  use_ok("Net::Google");
  my $google = Net::Google->new(key=>$key,debug=>0);

( Voce encontrara' o 001-search.t no seu computador, provavelmente
dentro de /root/.cpan/build/ )


More information about the SaoPaulo-pm mailing list