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 [EMAIL PROTECTED]:/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 [EMAIL PROTECTED] 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

