+ Responder ao Tópico



  1. Pessoal quando dou o comando no meu redhat 9 para compilar o source do vpopmail da um erro e ta me stress rsrsrsrsr

    rpmbuild --rebuild --with rht90 vpopmail-toaster-5.4.10-1.2.10.src.rpm

    Código :
    A instalar o vpopmail-toaster-5.4.10-1.2.10.src.rpm
    A executar(%prep): /bin/sh -e /var/tmp/rpm-tmp.21866
    + umask 022
    + cd /usr/src/redhat/BUILD
    + cd /usr/src/redhat/BUILD
    + rm -rf vpopmail-5.4.10
    + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/vpopmail-5.4.10.tar.bz2
    + tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd vpopmail-5.4.10
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chown -Rhf root .
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chgrp -Rhf root .
    + /bin/chmod -Rf a+rX,g-w,o-w .
    + echo 'Patch #0 (vpopmail-5.4.10.patch.bz2):'
    Patch #0 (vpopmail-5.4.10.patch.bz2):
    + /usr/bin/bzip2 -d
    + patch -p0 -s
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + '[' -f /var/tmp/vpopmail-5.4.10-gcc ']'
    + rm -f /var/tmp/vpopmail-5.4.10-gcc
    + '[' -x /usr/bin/gcc-3.2.3 ']'
    + '[' -x /usr/bin/gcc-3.2.2 ']'
    + '[' -x /usr/bin/gcc-3.2.1 ']'
    + '[' -x /usr/bin/gcc-3.2 ']'
    + '[' -x /usr/bin/gcc-3.1.1 ']'
    + echo gcc
    + '[' -f /var/tmp/vpopmail-5.4.10-show_flags ']'
    + cat
    + chmod u+x /var/tmp/vpopmail-5.4.10-show_flags
    + /var/tmp/vpopmail-5.4.10-show_flags
     
     
     RPM RELEASE: vpopmail-toaster-5.4.10-1.2.10
     OS TYPE IS : RedHat 9 Linux
     BUILD DATE : Sun Nov 20 2005
     CCFLAGS  : -O2 -g -march=i386 -mcpu=i686
     LDFLAGS  : -O2 -g -march=i386 -mcpu=i686
     
     
    + '[' -f /var/tmp/vpopmail-5.4.10-show_flags ']'
    + rm -f /var/tmp/vpopmail-5.4.10-show_flags
    + exit 0
    A executar(%build): /bin/sh -e /var/tmp/rpm-tmp.94061
    + umask 022
    + cd /usr/src/redhat/BUILD
    + cd vpopmail-5.4.10
    + '[' -f /var/qmail/bin/vpopfake ']'
    + rm -fR /var/qmail
    + '[' -f /var/qmail/bin/qmail-newu ']'
    + mkdir /var/qmail
    + mkdir /var/qmail/bin
    + touch /var/qmail/bin/qmail-newu
    + touch /var/qmail/bin/qmail-inject
    + touch /var/qmail/bin/qmail-newmrh
    + touch /var/qmail/bin/vpopfake
    ++ /usr/bin/id -g vchkpw
    + '[' -z '' ']'
    + /usr/sbin/groupadd -g 89 -r vchkpw
    ++ /usr/bin/id -u vpopmail
    + '[' -z 89 ']'
    + aclocal
    /var/tmp/rpm-tmp.94061: line 56: aclocal: command not found
    erro: Código de saída inválido do /var/tmp/rpm-tmp.94061 (%build)
     
     
    Erros de criação do RPM:
      Código de saída inválido do /var/tmp/rpm-tmp.94061 (%build)

    texto do log de erro:

    Código :
    #!/bin/sh
     
     RPM_SOURCE_DIR="/usr/src/redhat/SOURCES"
     RPM_BUILD_DIR="/usr/src/redhat/BUILD"
     RPM_OPT_FLAGS="-O2 -g -march=i386 -mcpu=i686"
     RPM_ARCH="i386"
     RPM_OS="linux"
     export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
     RPM_DOC_DIR="/usr/share/doc"
     export RPM_DOC_DIR
     RPM_PACKAGE_NAME="vpopmail"
     RPM_PACKAGE_VERSION="5.4.10"
     RPM_PACKAGE_RELEASE="1.2.10"
     export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
     RPM_BUILD_ROOT="/var/tmp/vpopmail-toaster-5.4.10-root"
     export RPM_BUILD_ROOT
     
     
     set -x
     umask 022
     cd /usr/src/redhat/BUILD
    cd vpopmail-5.4.10
    #----------------------------------------------------------------------------------
     
    # Trick vpopmail so we don't install qmail twice to have chkuser
    #------------------------------------------------------------------------------------
    if [ -f /var/qmail/bin/vpopfake ] ; then
     rm -fR /var/qmail ;
    fi
     
    if [ -f /var/qmail/bin/qmail-newu ] ; then
     tempdir="1" ;
    else
     mkdir /var/qmail ;
     mkdir /var/qmail/bin ;
     touch /var/qmail/bin/qmail-newu ;
     touch /var/qmail/bin/qmail-inject ;
     touch /var/qmail/bin/qmail-newmrh ;
     touch /var/qmail/bin/vpopfake ;
    fi
     
     
    # Create group and user for build if they don't exist
    #------------------------------------------------------------------------------------
    if [ -z "`/usr/bin/id -g vchkpw 2>/dev/null`" ]; then
     /usr/sbin/groupadd -g 89 -r vchkpw 2>&1 || :
    fi
     
    if [ -z "`/usr/bin/id -u vpopmail 2>/dev/null`" ]; then
     /usr/sbin/useradd -u 89 -r -M -d /home/vpopmail -s /sbin/nologin -c "Vpopmail User" -g vchkpw vpopmail 2>&1 || :
    fi
     
     
    # Run configure to create makefile
    #------------------------------------------------------------------------------------
    [code]aclocal # linha 56
    autoconf
    automake
    ./configure --prefix=/home/vpopmail \
    --enable-vpopuser=vpopmail \
    --enable-vpopgroup=vchkpw \
    --enable-libdir=/usr/lib/mysql \
    --disable-roaming-users \
    --enable-tcprules-prog=/usr/bin/tcprules \
    --enable-tcpserver-file=/etc/tcprules.d/tcp.smtp \
    --enable-make-seekable \
    --enable-clear-passwd \
    --disable-users-big-dir \
    --enable-qmail-ext \
    --disable-ip-alias-domains \
    --enable-domainquotas \
    --enable-auth-module=mysql \
    --disable-passwd \
    --enable-logging=v \
    --enable-log-name=vpopmail \
    --disable-mysql-limits \
    --enable-valias \
    --disable-many-domains
    /usr/bin/make

    # Delete gcc temp file
    #------------------------------------------------------------------------------------
    [ -f /var/tmp/vpopmail-5.4.10-gcc ] && rm -f /var/tmp/vpopmail-5.4.10-gcc


    #------------------------------------------------------------------------------------[/code]

    Pessoal help me please! so nele que deu pau ah eu to indo pelo artigo da underlinux:
    https://under-linux.org/content/view/5134/58/

    Abraços

  2. Instala o pacote automake, é ele que tem o aclocal



  3. Valew Ice, eu tinha o automake17 e tive de retiralo para poder instalar o automake .... Valew abraços






Tópicos Similares

  1. Erro ao compilar vpopmail
    Por slipkorn no fórum Servidores de Rede
    Respostas: 2
    Último Post: 08-05-2006, 12:11
  2. Erro ao compilar mysql++
    Por NeoRamza no fórum Servidores de Rede
    Respostas: 2
    Último Post: 17-05-2004, 23:33
  3. Erro ao compilar o module-init-tool
    Por vonlinkerstain no fórum Servidores de Rede
    Respostas: 2
    Último Post: 01-03-2004, 23:00
  4. erro ao compilar o samba
    Por APS no fórum Servidores de Rede
    Respostas: 0
    Último Post: 03-10-2003, 11:27
  5. Erro ao compilar o Kernel
    Por fsales no fórum Servidores de Rede
    Respostas: 1
    Último Post: 22-04-2003, 02:50

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L