Em 11 de maio de 2012 17:02, Marcelo Gondim <gon...@bsdinfo.com.br>escreveu:
> Em 11/05/2012 16:56, Matheus L. Abreu escreveu: > > 2012/5/11 Saul Figueiredo<saulfelip...@gmail.com> > > > >> 2012/5/11 Marcelo Gondim<gon...@bsdinfo.com.br> > >> > >>> Em 11/05/2012 16:31, Saul Figueiredo escreveu: > >>>> 2012/5/11 Marcelo Gondim<gon...@bsdinfo.com.br> > >>>> > >>>>> Olá pessoal, > >>>>> > >>>>> Estou tendo problema em apenas um servidor e não acredito que seja no > >>>>> pacote databases/rrdtool. Quando mando o make install ele aborta > >> dizendo > >>>>> que não acha algumas libs conforme abaixo: > >>>>> > >>>>> checking for xmlParseFile in -lxml2... no > >>>>> checking for pkg-config... (cached) pkg-config > >>>>> checking for xmlParseFile in -lxml2... no > >>>>> configure: WARNING: > >>>>> > >>>>> > >> > ---------------------------------------------------------------------------- > >>>>> * I could not find a working copy of libxml-2.0. Check config.log for > >>>>> hints on why > >>>>> this is the case. Maybe you need to set LDFLAGS and CPPFLAGS > >>>>> appropriately > >>>>> so that compiler and the linker can find libxml2 and its header > >>> files. If > >>>>> you have not installed libxml-2.0, you can get it either from its > >>>>> original home on > >>>>> > >>>>> http://xmlsoft.org/downloads.html > >>>>> > >>>>> You can find also find an archive copy on > >>>>> > >>>>> http://oss.oetiker.ch/rrdtool/pub/libs > >>>>> > >>>>> The last tested version of libxml-2.0 is 2.7.8. > >>>>> > >>>>> LIBS=-lm -ldbi -ldl -lxml2 > >>>>> LDFLAGS= -L/usr/local/lib -L/usr/local/lib > >>>>> CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 > >>>>> -D_THREAD_SAFE -I/usr/include/libxml2 -I/usr/local/include/libxml2 > >>>>> -I/usr/local/include > >>>>> > >>>>> > >>>>> > >> > ---------------------------------------------------------------------------- > >>>>> configure: error: Please fix the library issues listed above and try > >>> again. > >>>>> ===> Script "configure" failed unexpectedly. > >>>>> Please report the problem to syl...@freebsd.org [maintainer] and > >> attach > >>>>> the > >>>>> "/usr/ports/databases/rrdtool/work/rrdtool-1.4.7/config.log" > including > >>> the > >>>>> output of the failure of your make command. Also, it might be a good > >>> idea > >>>>> to > >>>>> provide an overview of all packages installed on your system (e.g. an > >>> `ls > >>>>> /var/db/pkg`). > >>>>> *** Error code 1 > >>>>> > >>>>> Stop in /usr/ports/databases/rrdtool. > >>>>> *** Error code 1 > >>>>> > >>>>> Mas se eu for no work/rrdtool-1.4.7/ e fizer manualmente o configure: > >>>>> > >>>>> ./configure --disable-tcl --disable-python --disable-ruby > >> --enable-perl > >>>>> --enable-perl-site-install --prefix=/usr/local > --mandir=/usr/local/man > >>>>> --infodir=/usr/local/info/ --build=amd64-portbld-freebsd9.0 > >>>>> > >>>>> e depois o make, ambos vão certinho sem problemas. Não consegui > >>>>> descobrir porque o make install do pacote em > >>>>> /usr/ports/databases/rrdtool não tá funcionando. > >>>>> Alguém faz alguma idéia? Estou procurando e até agora nada. > >>>>> > >>>>> Grande abraço pra todos. > >>>>> > >>>>> ------------------------- > >>>>> Histórico: http://www.fug.com.br/historico/html/freebsd/ > >>>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > >>>>> > >>>> Boa tarde Marcelo > >>>> > >>>> O libxml2 está instalado? se se sim a versão é>= que 2.0 ? > >>>> > >>>> O make disponibilizou esses 2 links no corpo que tem como você fazer o > >>>> download do lib lá, caso você não tiver: > >>>> > >>>> http://xmlsoft.org/downloads.html > >>>> http://oss.oetiker.ch/rrdtool/pub/libs > >>>> > >>>> > >>>> O make do FreeBSD é bom por causa disso, retorna ajudas suficientes > pra > >>>> gente correr atrás da solução depois. > >>>> > >>>> > >>> Opa Saul está sim tanto que se eu for manualmente lá no diretório do > >>> rrdtool e fizer o configure manualmente vai e ainda sim tenho ela > >>> instalado: > >>> > >>> # pkg_info |grep libxml > >>> libxml2-2.7.8_2 XML parser library for GNOME > >>> > >>> Não entendi ainda porque manualmente está indo mas pelo make install do > >>> ports não está. > >>> ------------------------- > >>> Histórico: http://www.fug.com.br/historico/html/freebsd/ > >>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > >>> > >> > >> > >> Achei aqui na FUG alguem com o mesmo problema: > >> http://www.fug.com.br/historico/html/freebsd/2010-02/msg00235.html > >> > >> eles falam em atualizar a libtool.... to lendo aqui até chegar ao final > pra > >> ver se tem solução... > >> > >> > >> > >> -- > >> "Deve-se aprender sempre, até mesmo com um inimigo." > >> (Isaac Newton) > >> > >> Atenciosamente, > >> Saul Figueiredo > >> Analista FreeBSD/Linux > >> Linux Professional Institute Certification Level 2 > >> saulfelip...@gmail.com > >> saul-fel...@hotmail.com > >> ------------------------- > >> Histórico: http://www.fug.com.br/historico/html/freebsd/ > >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > >> > > Não sou de dar pitacos... Mas o problema mencionado no histórico não > > refere-se ao problema atual. > > O problema atual (ao menos nos três servidores que tentei) é na aplicação > > de um patch, tanto pelo "make install" do port quanto pelo > "portupgrade", o > > erro é o mesmo. > > > > ===> Applying extra patch > > /usr/ports/databases/rrdtool/files/thirdparty-json.diff > > 1 out of 6 hunks failed--saving rejects to src/rrd_tool.c.rej > > *** Error code 1 > > > > > Opa Matheus, > > Tem razão não é o mesmo problema. :) Quanto ao seu erro eu não > habilitei aqui o json. No meu só tá habilitado o mmap e o perl_module e > mesmo assim dá esse erro estranho. > O que acho estranho é porque se eu pegar a linha gerada no config.log e > fazer manualmente, a coisa flui. Parece alguma coisa de ambiente, tipo > parece não estar achando as coisas. Ainda estou investigando aqui. :) > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > Mals ae a má nota... não tinha muito haver com o seu problema. Já aplicou este path ? http://oss.oetiker.ch/rrdtool-trac/attachment/ticket/323/unbreak_norrdgraph.patch corrige algumas coisas interessantes, pode ser que corrija isso... -- "Deve-se aprender sempre, até mesmo com um inimigo." (Isaac Newton) Atenciosamente, Saul Figueiredo Analista FreeBSD/Linux Linux Professional Institute Certification Level 2 saulfelip...@gmail.com saul-fel...@hotmail.com ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd