From mboxrd@z Thu Jan 1 00:00:00 1970 From: miloody@gmail.com (loody) Date: Thu, 27 Mar 2014 17:04:39 +0800 Subject: [lttng-dev] lttng-tool cross configure for libxml2 error Message-ID: hi all i use below configure command to cross-compile lttng-tool ./configure --disable-static --host=arm-v7a8v4r3-linux-gnueabi CPPFLAGS=-I/media/sdb2/toolchain/arm/arm-v7a8v4r3-20131011/arm-v7a8v4r3-linux-gnueabi/sys-root/include --prefix=/media/sdb2/toolchain/arm/arm-v7a8v4r3-20131011/arm-v7a8v4r3-linux-gnueabi/sys-root/ But get below message: checking for libxml - version >= 2.7.6... no *** The xml2-config script installed by LIBXML could not be found *** If libxml was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the XML2_CONFIG environment variable to the *** full path to xml2-config. configure: error: No supported version of libxml2 found. I use below git commit version to cross-compile: commit 83b7c3bf7a5c28883396af5dadd6ee469f20aa59 Author: David Goulet Date: Wed Mar 26 11:31:36 2014 -0400 Fix: update test to use correct lttng load option Signed-off-by: David Goulet My questions are 1. is that necessary for lttng run on arm platform with xml support? 2. Is it possible to disable xml support with configure command? 3. I use "--disable-xmltest" option, but configure still said it need libxmll Thanks for your help in advance,