[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compilacao do vpopmail



Nao.

Eh o seguinte.. a busca das libs de desenvolvimento (*-dev) pelo novo
código fonte do vpopmail é diferente.

Você irá precisar do libmysqlclient10-dev (devel package) 

Altere tb seu configure:

 --enable-libdir=/usr/bin \
        --enable-incdir=/var/lib/mysql \

para

--enable-libdir=/usr/lib
--enable-incdir=/usr (ou /usr/include) tenta lá...

Burnys

Em Ter, 2004-05-04 às 22:01, Cr0n0s escreveu:
> Save All.
> Nao seria a falta do vchkpw
> Da uma olhada em 
> http://www.debian.org/distrib/packages
> 
> Cr0n0s
>  --- Irio Andre Moesch <iam@webgenium.com.br>
> escreveu: > Saudações Pessoal,
> > 
> > Depois de uma tarde de sucessivas tentativas de
> > compilação do vpopmail
> > seguindo as próprias orientações do README.mysql que
> > vem com o
> >
> http://osdn.dl.sourceforge.net/sourceforge/vpopmail/vpopmail-5.4.0.tar.g
> > z
> > 
> > Apresenta o seguinte erro ao executar o make
> > As opções do ./configure segue abaixo 
> > 
> > #./configure \
> > 	--enable-mysql-limits \
> >         --enable-roaming-users \
> >         --enable-logging=y \
> >         --disable-ip-alias-domains \
> >         --disable-passwd \
> >         --enable-clear-passwd \
> >         --enable-domain-quotas \
> >         --enable-auth-module=mysql \
> >         --disable-many-domains \
> >         --enable-auth-logging \
> >         --enable-mysql-logging \
> >         --enable-valias \
> >         --disable-mysql-limits \
> > 	--enable-libdir=/usr/bin \
> >         --enable-incdir=/var/lib/mysql \
> > 	--disable-md5-passwords \
> > 	--disable-users-big-dir
> > 
> > ao executar o make vejam abaixo o resultado 
> > 
> > ================================
> > make  all-recursive
> > make[1]: Entering directory
> > `/usr/src/qmail/vpopmail-5.5.0'
> > Making all in cdb
> > make[2]: Entering directory
> > `/usr/src/qmail/vpopmail-5.5.0/cdb'
> > ( cat warn-auto.sh; \
> > echo CC=\'`head -1 conf-cc`\'; \
> > echo LD=\'`head -1 conf-ld`\'; \
> > cat find-systype.sh; \
> > ) | sh > systype
> > ( cat warn-auto.sh; \
> > echo 'main="$1"; shift'; \
> > echo 'rm -f "$main"'; \
> > echo 'ar cr "$main" ${1+"$@"}'; \
> > case "`cat systype`" in \
> > sunos-5.*) ;; \
> > unix_sv*) ;; \
> > irix64-*) ;; \
> > irix-*) ;; \
> > dgux-*) ;; \
> > hp-ux-*) ;; \
> > sco*) ;; \
> > *) echo 'ranlib "$main"' ;; \
> > esac \
> > ) > makelib
> > chmod 755 makelib
> > ( cat warn-auto.sh; \
> > echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \
> > ) > compile
> > chmod 755 compile
> > ( cat warn-auto.sh; \
> > echo 'main="$1"; shift'; \
> > echo exec "`head -1 conf-ld`" \
> > '-o "$main" "$main".o ${1+"$@"}' \
> > ) > load
> > chmod 755 load
> > ( ( ./compile tryulong32.c && ./load tryulong32 && \
> > ./tryulong32 ) >/dev/null 2>&1 \
> > && cat uint32.h2 || cat uint32.h1 ) > uint32.h
> > rm -f tryulong32.o tryulong32
> > ./compile cdb_hash.c
> > ./compile cdb_unpack.c
> > ./compile cdb_seek.c
> > ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
> > ./compile cdbmake_pack.c
> > ./compile cdbmake_hash.c
> > ./compile cdbmake_add.c
> > ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
> > cdbmake_add.o
> > make[2]: Leaving directory
> > `/usr/src/qmail/vpopmail-5.5.0/cdb'
> > make[2]: Entering directory
> > `/usr/src/qmail/vpopmail-5.5.0'
> > rm -f libvpopmail.a
> > ar cru libvpopmail.a vpopmail.o md5.o bigdir.o
> > vauth.o file_lock.o
> > vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o
> > ranlib libvpopmail.a
> > gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o
> > hmac_md5.o libvpopmail.a
> > -L/usr/bin  -lmysqlclient -lz -lcrypt
> > /usr/bin/ld: cannot find -lmysqlclient
> > collect2: ld returned 1 exit status
> > make[2]: *** [vchkpw] Error 1
> > make[2]: Leaving directory
> > `/usr/src/qmail/vpopmail-5.5.0'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/usr/src/qmail/vpopmail-5.5.0'
> > make: *** [all] Error 2
> > ================================
> > 
> > mais informações: 
> > usuário/grupo = vpopmail/vchkpw
> > mysql-client está instalado
> > Linux Debian kernel-2.6.5
> > Banco vpopmail criado
> > Usuário vpopmail no mysql também foi criado 
> > 
> > O que poderia estar acontecendo??
> > 
> > Obrigado por qualquer ajuda!!!
> > 
> > T+V
> > Andre
> >  
> 
> =====
> <--------------->
> Obrigado.
> []-
> ..: Cr0n0s :..
> 
> ______________________________________________________________________
> 
> Yahoo! Messenger - Fale com seus amigos online. Instale agora! 
> http://br.download.yahoo.com/messenger/
-- 
Burnys <burnystw@yahoo.com.br>



Reply to: