+ Responder ao Tópico



  1. #1
    marcfee
    Visitante

    Padrão SHELL CPAN

    Galera,
    Eu estou com um problema dificil de resolver, já coloquei este assunto no forum 3 vezes hoje.
    Eu já instalei o Uvscan, e agora estou instalando o AMAVIS C/ POSTFIX.
    é o seguinte assim que eu descompacto o AMAVIS, eu executo o comando
    ./configure --enable-smtp --enable-postfix --with-amavis-user=vscan
    Ai ele me diz que está faltando alguns modulos perl.

    MENSAGEM:
    loading cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for mawk... mawk
    checking whether make sets ${MAKE}... yes
    checking whether make sets ${MAKE}... (cached) yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking dependency style of gcc... none
    checking for perl... /usr/bin/perl
    checking for perl modules...
    Module not found in path: ´Unix/Syslog´
    Module not found in path: ´Convert/UUlib´
    Module not found in path: ´Convert/TNEF´
    Module not found in path: ´Compress/Zlib´
    Module not found in path: ´Archive/Tar´
    Module not found in path: ´Archive/Zip´
    Configure: error: You are missing some perl modules.


    Então eu entro no Shel CPAN da seguinte maneira

    perl -MCPAN -e shell

    Tento instalar os modulos e ele me informa da seguinte maneira:

    install Unix::Syslog

    There seems to be running another CPAN process (1724). Contacting...
    Other job not responding. Shall I overwrite the lockfile? (Y/N) [y]
    cpan shell -- CPAN exploration and modules installation (v1.59_54)
    ReadLine support enabled

    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on
    Warning: Cannot install Unix::Syslog, don´t know what it is.
    Try the command

    i /Unix::Syslog/

    to find objects with matching identifiers.


    Depois eu executo a instalação dessa maneira e ele mostra as seguintes informações:

    install Unix/Syslog

    [B]Running make for U/U//U/Un/Unix/Syslog
    CPAN: LWP::UserAgent loaded ok
    Fetching with LWP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog
    Fetching with LWP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog.gz
    Fetching with Net::FTP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog
    Fetching with Net::FTP
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog.gz

    Trying with "/usr/bin/lynx -source" to get
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog

    Trying with "/usr/bin/lynx -source" to get
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog.gz

    Trying with "/usr/bin/ncftpget" to get
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog

    Trying with "/usr/bin/ncftpget" to get
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog.gz

    Trying with "/usr/bin/wget -O -" to get
    ftp://ftp.perl.org/pub/CPAN/authors/id/U/U//U/Un/Unix/Syslog</B>

    GENTE O QUE EU FAÇO PARA INSTALAR ESSES BENDITOS MODULOS.....
    POR FAVOR ME AJUDEM.......
    <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif"> <IMG SRC="images/forum/icons/icon27.gif">

  2. #2
    marcfee
    Visitante

    Padrão SHELL CPAN

    Alguém ajude por favor

  3. #3

    Padrão SHELL CPAN

    entre em www.cpan.org e faça download dos modulos:
    Unix::Syslog
    Convert::UUlib
    Convert::TNEF
    Compress::Zlib
    Archive::Tar
    Archive::Tar

    depois de fazer o download descompacte eles
    tar -zxvf PACOTE
    cd PACOTE
    ./configure
    make
    make install

  4. #4
    BrunoC
    Visitante

    Padrão SHELL CPAN

    Pegue o módulo aqui

    tar xvzf Unix-Syslog-0.99.tar.gz
    cd Unix-Syslog-0.99/
    perl Makefile.PL
    make test
    make install

    *Não tem ./configure em módulo Perl*

    Parece que a sua shell do CPAN não achou o Unix::Syslog por causa do mirror. Pegueo o arquivo MIRRORED.BY em ftp://ftp.matrix.com.br/pub/perl/CPAN/ coloque dentro de .cpan/sources entre no shell do CPAN de novo, rode "o conf init" e escolha um outro mirror. Isso pode ajudar.

  5. #5

    Padrão SHELL CPAN

    eh verdade... desculpe a falha....
    ao inves de configure eh perl Makefile....

  6. #6
    marcfee
    Visitante

    Padrão SHELL CPAN

    BrunoC ou 1c3_m4n,

    Eu consegui baixar o Unix-Syslog-0.99.tar.gz, só que eu precisso de outros modulos também......
    Os modulos são:

    Convert::UUlib
    Convert::TNEF
    Compress::Zlib
    Archive::Tar
    Archive::Zip

    Será que vcs poderiam me passar a url deles tb....

    Grato..... <IMG SRC="images/forum/icons/icon21.gif"> <IMG SRC="images/forum/icons/icon21.gif">

  7. #7
    marcfee
    Visitante

    Padrão SHELL CPAN

    Alguém sabe a url deste outros modulos???

    Grato...

  8. #8
    marcfee
    Visitante

    Padrão SHELL CPAN

    Galera,

    Eu consegui baixar os modulos e já compilei.
    Agora o problema é outro, ao executar a linha de comando
    ./configure --enable-smtp --enable-postfix --with-amavis-user=vscan
    ele me apresenta as seguinte informações, ou seja os modulos perl já foi resolvido, agora o problema é outro.

    Erro

    loading cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for mawk... mawk
    checking whether make sets ${MAKE}... yes
    checking whether make sets ${MAKE}... (cached) yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking dependency style of gcc... none
    checking for perl... /usr/bin/perl
    checking for perl modules... found
    checking for file... /usr/bin/file
    checking if file can be brief... yes
    checking for id... /usr/bin/id
    checking for arc... no
    Configure: error: Sorry, you need arc.


    Galera o que pode ser isso agora.
    Instalar o AMAVIS é muita treta...... <IMG SRC="images/forum/icons/icon_mad.gif"> <IMG SRC="images/forum/icons/icon_mad.gif"> <IMG SRC="images/forum/icons/icon_mad.gif"> <IMG SRC="images/forum/icons/icon_mad.gif">

  9. #9
    marcfee
    Visitante

    Padrão SHELL CPAN

    Alguém pode ajudar.
    Please, I need help......

  10. #10

    Padrão SHELL CPAN

    cara entra no www.cpan.org....
    lah tem um link escrito "ALL MODULES" entra nele e baixe oq falta

  11. #11
    BrunoC
    Visitante

    Padrão SHELL CPAN

    Aí já não é problema de módulo. Falta o arc propriamente dito. Provavelmente ele vai reclamar de outras ferramentas de compressão / descompressão. A princípio tá tudo aqui. Pegue o ARC (e qualquer outra ferramenta que ele pedir), instale e rode o configure de novo.

  12. #12
    marcfee
    Visitante

    Padrão SHELL CPAN

    Obrigado pessoal,
    Até que enfim eu consegui instalar o AMAVIS..

    Thanks my friends..