[FUG-BR] erro no ports
Tiago Ribeiro
shasty em gmail.com
Quarta Outubro 31 14:38:54 BRST 2007
bom, deu certo o pkg_create, mais os SOs nao sao compativeis nao,
entao a solucao foi compilar o samba mesmo, ai ta blz, esse server ta com os
meses contados, quem sabe qdo for formata-lo ja vai poder virar o 7.0heehhe.
valeu pelas ajudas abracos.
Em 31/10/07, Josias LG <josiaslg at uol.com.br> escreveu:
>
> Josias LG escreveu:
> > Tiago Ribeiro escreveu:
> >
> >> nao tem como gerar o package sendo q ja ta instalado o samba? nao to
> >> querendo atualizar o samba desse outro server nao.
> >>
> >> make package-recursive
> >> ===> Installing for samba-3.0.26a_1,1
> >> ===> samba-3.0.26a_1,1 depends on shared library: execinfo.1 - found
> >> ===> samba-3.0.26a_1,1 depends on shared library: popt.0 - found
> >> ===> samba-3.0.26a_1,1 depends on shared library: iconv.3 - found
> >> ===> Generating temporary packing list
> >> ===> Checking if net/samba3 already installed
> >> ===> An older version of net/samba3 is already installed (
> samba-3.0.24,1)
> >> You may wish to ``make deinstall'' and install this port again
> >> by ``make reinstall'' to upgrade it properly.
> >> If you really wish to overwrite the old port of net/samba3
> >> without deleting it first, set the variable "FORCE_PKG_REGISTER"
> >> in your environment or the "make install" command line.
> >> *** Error code 1
> >>
> >> Stop in /usr/ports/net/samba3.
> >> *** Error code 1
> >>
> >> Stop in /usr/ports/net/samba3.
> >>
> >>
> >> Em 30/10/07, Tiago Ribeiro <shasty at gmail.com> escreveu:
> >>
> >>
> >>> ok, valeu, vou testar isto, tenho uns 5.2 pra gerar isto, e mando aki
> pra
> >>> lista.
> >>>
> >>> abracos.
> >>>
> >>> Em 29/10/07, Josias LG < josiaslg at uol.com.br> escreveu:
> >>>
> >>>
> >>>> Tiago Ribeiro escreveu:
> >>>>
> >>>>
> >>>>> pessoal, to tendo um erro no ports de um de meus servers.
> >>>>>
> >>>>> o server eh um 4.10, ah nao posso atualizar nao, pois nao sei qual
> vai
> >>>>>
> >>>>>
> >>>> ser a
> >>>>
> >>>>
> >>>>> reacao de um sistema que está rodando nele, que utiliza emulacao de
> >>>>> aplicativos COFF, na epoca quando testei este server como 5.2 o
> >>>>>
> >>>>>
> >>>> aplicativo
> >>>>
> >>>>
> >>>>> gerava um erro, e somente funcionou com o free 4.10, nem mesmo com
> os
> >>>>>
> >>>>>
> >>>> linux
> >>>>
> >>>>
> >>>>> da epoca nao rodava, somente com linux mt antigo
> >>>>> ai o hardware do servidor era mto pros linux antigos.
> >>>>>
> >>>>> FreeBSD bew 4.10-RELEASE FreeBSD 4.10-RELEASE #5: Wed Jul 19
> 06:59:03
> >>>>>
> >>>>>
> >>>> BRT
> >>>>
> >>>>
> >>>>> 2006 root at bew:/usr/src/sys/compile/BEW i386
> >>>>>
> >>>>> minha arvore de ports vem dando erros a bastante tempo.
> >>>>>
> >>>>> fui desinstalar o samba e vejam q blz
> >>>>>
> >>>>> bew# pwd
> >>>>> /usr/ports/net/samba3
> >>>>> bew# make
> >>>>> "Makefile", line 331: Malformed conditional
> >>>>> (!empty(WANT_EXP_MODULES:Midmap_ad))
> >>>>> "Makefile", line 335: Malformed conditional
> >>>>> (!empty(WANT_EXP_MODULES:Midmap_rid))
> >>>>> "Makefile", line 337: if-less endif
> >>>>> "Makefile", line 337: Need an operator
> >>>>> "Makefile", line 339: Malformed conditional
> >>>>> (!empty(WANT_EXP_MODULES:Mvfs_cacheprime))
> >>>>> "Makefile", line 341: if-less endif
> >>>>> "Makefile", line 341: Need an operator
> >>>>> "Makefile", line 343: Malformed conditional
> >>>>> (!empty(WANT_EXP_MODULES:Mvfs_catia))
> >>>>> "Makefile", line 345: if-less endif
> >>>>> "Makefile", line 345: Need an operator
> >>>>> "Makefile", line 347: Malformed conditional
> >>>>> (!empty(WANT_EXP_MODULES:Mvfs_commit))
> >>>>> "Makefile", line 349: if-less endif
> >>>>> "Makefile", line 349: Need an operator
> >>>>> "Makefile", line 474: if-less endif
> >>>>> "Makefile", line 474: Need an operator
> >>>>> make: fatal errors encountered -- cannot continue
> >>>>>
> >>>>> este erro ai dava qdo eu fazia um pkg_version -v -l \< , ate ai ele
> me
> >>>>> encomodava somente um pouco, depois dessa do samba foi a gota dagua.
> >>>>>
> >>>>> mais vejam outras coisas:
> >>>>>
> >>>>> bew# pwd
> >>>>> /usr/ports
> >>>>> bew# make fetchindex
> >>>>> fetch: http://www.FreeBSD.org/ports/INDEX-4.bz2 : Not Found
> >>>>> *** Error code 1
> >>>>>
> >>>>> Stop in /usr/ports.
> >>>>>
> >>>>>
> >>>>> e tb:
> >>>>>
> >>>>>
> >>>>> bew# make index
> >>>>> Generating INDEX-4 - please
> >>>>>
> >>>>>
> >>>>>
> >>>>
> wait.."/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
> >>>>
> >>>>
> >>>>
> >>>>> line 392: Malformed conditional
> >>>>>
> >>>>>
> >>>> (${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!="")
> >>>>
> >>>>
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
> >>>>
> >>>>
> >>>>> line 396: Malformed conditional (${gst_${GST_PLUGIN}_USE_SDL}!="")
> >>>>>
> >>>>>
> >>>>>
> >>>>
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
> >>>>
> >>>>
> >>>>> line 398: if-less endif
> >>>>>
> >>>>>
> >>>>>
> >>>>
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
> >>>>
> >>>>
> >>>>
> >>>>> line 398: Need an operator
> >>>>>
> >>>>>
> >>>>>
> >>>>
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
> >>>>
> >>>>
> >>>>> line 419: if-less endif
> >>>>>
> >>>>>
> >>>>>
> >>>>
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
> >>>>
> >>>>
> >>>>
> >>>>> line 419: Need an operator
> >>>>> make: fatal errors encountered -- cannot continue
> >>>>> ===> audio/gstreamer-plugins-esound failed
> >>>>> *** Error code 1
> >>>>> 1 error
> >>>>>
> >>>>> ********************************************************************
> >>>>> Before reporting this error, verify that you are running a supported
> >>>>> version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
> >>>>> have a complete and up-to-date ports collection. (INDEX builds are
> >>>>> not supported with partial or out-of-date ports collections -- in
> >>>>> particular, if you are using cvsup, you must cvsup the "ports-all"
> >>>>> collection, and have no "refuse" files.) If that is the case, then
> >>>>> report the failure to ports at FreeBSD.org together with relevant
> >>>>> details of your ports configuration (including FreeBSD version,
> >>>>> your architecture, your environment, and your /etc/make.conf
> >>>>> settings, especially compiler flags and WITH/WITHOUT settings).
> >>>>>
> >>>>> Note: the latest pre-generated version of INDEX may be fetched
> >>>>> automatically with "make fetchindex".
> >>>>> ********************************************************************
> >>>>>
> >>>>> *** Error code 1
> >>>>>
> >>>>> Stop in /usr/ports.
> >>>>> *** Error code 1
> >>>>>
> >>>>> Stop in /usr/ports.
> >>>>>
> >>>>>
> >>>>> portsnap, cvsup, e nada soluciona, alguem pode me ajudar?
> >>>>>
> >>>>>
> >>>>> somente pra garantir vai ai meu make.conf
> >>>>>
> >>>>> bew# cat /etc/make.conf
> >>>>> # added by use.perl 2006-07-20 08:25:56
> >>>>> PERL_VER=5.8.8
> >>>>> PERL_VERSION=5.8.8
> >>>>> NOPERL=yes
> >>>>> X11BASE=${LOCALBASE}
> >>>>>
> >>>>> abracos.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>> bem, tambem se pode "produzir" um package em outro freebsd e tentar
> >>>> instalar no 4.10
> >>>> pra isso, crie no diretorio /usr/ports o diretorio packages, depois,
> va
> >>>> pra pasta do port, tipo samba mesmo, e digite make recursive-package
> ou
> >>>> make package-recursive (nao me lembro a ordem agora) e nisso o
> programa
> >>>> vai ter o seu pacote gerado pra instalação em outros bsds. A vantagem
> é
> >>>> que o package gerado é o mesmo da versao do ports, nao sendo versao
> >>>> "antiga". Depois disso, no diretorio packages, entre na pasta gerada
> >>>> chamada All, e dentro dela voce tera o pacote, que no caso foi o
> samba,
> >>>> com todas as suas dependencias. No outro bsd, pkg_add -v samba.tgz e
> >>>> pronto, se precisar de alguma dependencia ele tera disponivel pois
> voce
> >>>> transporta todo o conteudo da pasta All para o server bsd. Detalhe,
> pode
> >>>>
> >>>> existir packages antigos que precisaram ser removidos para aplicar os
> >>>> novos, mas quais sao eles irá vir no aviso de erro. é so uma
> sugestão.
> >>>>
> >>>>
> >>>> -------------------------
> >>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
> >>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >>>>
> >>>>
> >>>>
> >>> --
> >>> att,
> >>> Tiago Ribeiro
> >>> OVERSEC - +55 32 3084 2930
> >>>
> >>>
> >>>
> >> Deve ter este modo sim, porem so com uma pesquisa + a fundo. No meu
> caso eu gero os pacotes em cima de uma maquina virtual, tipo em cima do
> vmware ou microsoft virtual pc, e sao exclusivamente para este tipo de
> coisa, se for instalar em uma maquina virtual, em /boot/loader.conf de a
> entrada kern.hz="100" e corra pro abraço. Sobre gerar packages sem
> instalação, teoricamente apenas o comando make recursive-packages clean
> deveria apenas gerar o pacote sem tentar instalar. tambem teoricamente o
> comando para gerar o pacote e instalar seria make recursive-package install
> clean. Enfim, so mesmo fazendo uma pesquisa na tarde de hoje pra descobrir
> quais variaveis da para se usar no caso do make recursive...
> >>
> >
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
> >
> outra solução...
> no FSB 5.2 que tu tem, de um pkg_info e ache a versao do teu samba.
> Depois de achar, digite pkg_create -b nomedopacote. no meu caso eu fiz
> com python. no pkg_info eh python25-2.5.1, a sintaxe ficou pkg_create -b
> python25-2.5.1 e pronto, no diretorio aonde executei o comando foi
> criado o tbz do programa que eu ja havia instalado. Antes disso, so
> execute o portaudit e veja se o pacote que voce vai gerar do samba nao
> esta com defeito de segurança pois melhor que um firewall é um serviço
> bem configurado e sem bug. :)
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
--
att,
Tiago Ribeiro
OVERSEC - +55 32 3084 2930
Mais detalhes sobre a lista de discussão freebsd