[CentOS-pt-br] Problema na hora de copilar o pacote courier-authlib

Rafael Carvalho rafaelcar em gmail.com
Sexta Outubro 5 02:39:46 UTC 2007


tem certeza? eu sempre compilo os 2 como usuario normal... sei lá.. é um
teste :)

On 10/4/07, Renato de Oliveira Diogo <rdiogo01 em yahoo.com.br> wrote:
>
> Olá Rafael
>
> o Courier-authlib pode ser compilado com o root sim. O que não pode ser
> compilado com o root é o courier-imap.
>
> []s
>
> On 10/4/07, Rafael Carvalho <rafaelcar em gmail.com> wrote:
> >
> > 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 em 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 em centos.org
> > > http://lists.centos.org/mailman/listinfo/centos-pt-br
> > >
> >
> >
> > _______________________________________________
> > CentOS-pt-br mailing list
> > CentOS-pt-br em centos.org
> > http://lists.centos.org/mailman/listinfo/centos-pt-br
> >
> >
>
>
> --
> ________________________________________________
> Renato de Oliveira Diogo
>
> Bacharel em Ciência da Computação
> UNESP - Bauru
>
> renato.diogo em gmail.com
> renato.diogo em yahoo.com.br
>
> _______________________________________________
> CentOS-pt-br mailing list
> CentOS-pt-br em centos.org
> http://lists.centos.org/mailman/listinfo/centos-pt-br
>
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.centos.org/pipermail/centos-pt-br/attachments/20071004/8c1d8bc9/attachment.htm


Mais detalhes sobre a lista de discussão CentOS-pt-br