2012/5/11 Saul Figueiredo <[email protected]> > 2012/5/11 Marcelo Gondim <[email protected]> > > > Em 11/05/2012 16:31, Saul Figueiredo escreveu: > > > 2012/5/11 Marcelo Gondim<[email protected]> > > > > > >> 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 [email protected] [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 > [email protected] > [email protected] > ------------------------- > 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 -- *Matheus Lamberti de Abreu* [ *matheusl.abreu* (at) *gmail.com* ] [ http://matheuslamberti.blogspot.com ] * * *- Sine qua non* *- Embora nem tudo seja permitido, tudo é possível.* *- Para obter algo que você nunca teve, precisa fazer algo que nunca fez.* * * *- Unix is user friendly. It's just selective about who its friends are.* *- In theory there is no difference between theory and pratice, but in pratice there is.* *- Two things control men's nature, instinct and experience.* *- "I do not fear computers. I fear the lack of them." (Isaac Asimov)* ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

