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

