[SP-pm] Erro no make ao instalar módulo.

Wagner Arbex arbex at arbex.pro.br
Mon Jun 20 10:11:23 PDT 2011


Prezados monges;

Por favor, vejam o trecho final que recebo como resultado do comando
sudo perl -MCPAN -e 'install Proc::ProcessTable'


  CPAN.pm: Going to build D/DU/DURIST/Proc-ProcessTable-0.45.tar.gz

Checking if your kit is complete...
Looks good
Processing hints file hints/linux.pl
Writing Makefile for Proc::ProcessTable::Process
Writing Makefile for Proc::ProcessTable
make: Warning: File `/usr/lib/perl/5.10/Config.pm' has modification
time 5.8e+07 s in the future
Makefile out-of-date with respect to /usr/lib/perl/5.10/Config.pm
/usr/lib/perl/5.10/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL "INSTALLDIRS=site"
Checking if your kit is complete...
Looks good
Processing hints file hints/linux.pl
Writing Makefile for Proc::ProcessTable::Process
Writing Makefile for Proc::ProcessTable
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make: *** [Makefile] Error 1
  DURIST/Proc-ProcessTable-0.45.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible


Como pode ser visto, eu não estou conseguindo instalar o módulo que
pedi e tb não consigo outros módulos como, p. ex., DBI, porém, alguns
outros módulos eu consegui instalar. Esse mesmo erro acontece caso eu
tente instalar os módulos pelo ambiente interativo do CPAN. Não estou
conseguindo achar/identificar a origem desse erro, apesar de estar
escrito que o prob está no make, mas, em outras situações make
funciona perfeitamente e, além disso, já fiz a reinstalação do make no
sistema (Ubuntu 11.04). Outra opção que eu tentei, e tb acusou o mesmo
erro, foi fazer a instalação "na mão": baixei o módulo do CPAN,
descompactei, entrei no diretório, executei "perl Makefile.PL" e, em
seguida, "make", qdo acusou o mesmo prob. Além disso, dei uma
procurada no Google e as informações que achei estavam relacionadas a
probs de instalação do make, gcc e libs, mas, pelo que verifiquei, não
são esses os meus probs, porém, podem até ser esses os probs e eu não
consegui ver.

Agradeço MUITO =) qq informação.

[]s e obrigado
Arbex
-- 
   Wagner Arbex
   http://www.arbex.pro.br/


More information about the SaoPaulo-pm mailing list