Não li todo o artigo... mas acho que lá não diz o seguinte.... tem que gerar os rpm como "não" root.... baixa os pacotes diretamente do site do courier...
Abaixo a explicação de como compilar como "não" root Cria um usuário... com qqr nome... joga os arquivos bz2 dentro da pasta home dele e segue o tutorial abaixo...
### Cria as pastas necessárias
mkdir $HOME/rpm mkdir $HOME/rpm/SOURCES mkdir $HOME/rpm/SPECS mkdir $HOME/rpm/BUILD mkdir $HOME/rpm/SRPMS mkdir $HOME/rpm/RPMS mkdir $HOME/rpm/RPMS/i386
### Edita o enviroment
echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros
### Depois compila o pacote normalmente
rpm -ta courier-authlib.???.tar.bz2
Espero ter ajudado... e depois me avisa se conseguiu...
Rafael.
On 10/4/07, Valdir josevaldirg@gmail.com wrote:
Pessoal, já faz alguns dias que estou tentando passar um passo a frente para configurar um Servidor de E-mail seguindo este artigo http://centosbr.org/site/artigos/item.php?itemid=181
Só que estou sendo barrado na instalação do courier-authlib.
Veja só se tento copilar usando o comando rpmbuild -ta courier-authlib-0.58.tar.bz2, aparece os erro abaixo.
erro: Installed (but unpackaged) file(s) found: /usr/lib/libltdl.a /usr/lib/libltdl.la /usr/lib/libltdl.so /usr/lib/libltdl.so.3 /usr/lib/libltdl.so.3.1.0
Erros de criação do RPM: Installed (but unpackaged) file(s) found: /usr/lib/libltdl.a /usr/lib/libltdl.la /usr/lib/libltdl.so /usr/lib/libltdl.so.3 /usr/lib/libltdl.so.3.1.0
Se tento copilar na forma padrão usando os comandos ./configure make make install
Depoos de algus segundo rodadno o ./configure aparece o erro abaixo,
checking for courier-config... no configure: WARNING: === I think you are trying to run this configure script configure: WARNING: === on Red Hat/Fedora. You're doing too much work! configure: WARNING: === It's much faster to create installable binary RPMs configure: WARNING: === like this: http://www.courier-mta.org/FAQ.html#rpm configure: WARNING: === When you do this you may find that RPM will tell you configure: WARNING: === to install some other software first, before trying to configure: WARNING: === build this one, and even tell you the name of RPMs you configure: WARNING: === need to install from the distribution CD. That's much configure: WARNING: === easier than trying to figure out the same from some configure: WARNING: === cryptic error message. configure: WARNING: configure: WARNING: === Even if you don't intend to use everything you need to configure: WARNING: === have in order to build via RPM, you should still do as configure: WARNING: === you're told. All the extra stuff (LDAP, SQL, etc...) configure: WARNING: === goes into RPM sub-packages, which do not need to be configure: WARNING: === installed. configure: WARNING: === But, if you insist, you can simply add '--with-redhat' configure: WARNING: === parameter to this configure script and not see this configure: WARNING: === error message. You should also do this when upgrading configure: WARNING: === and you didn't use RPM with the older version. configure: error: ... in either case you better know what you're doing!
O que devo fazer?
Abraço
CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br