[FUG-BR] rrdtool 1.4.7 com problemas na instalação

Marcelo Gondim gondim em bsdinfo.com.br
Sexta Maio 11 16:24:38 BRT 2012


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 sylvio em 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.



Mais detalhes sobre a lista de discussão freebsd