* [lttng-dev] lttng-tool cross configure for libxml2 error
@ 2014-03-27 9:04 loody
2014-03-27 10:18 ` loody
0 siblings, 1 reply; 2+ messages in thread
From: loody @ 2014-03-27 9:04 UTC (permalink / raw)
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 <dgoulet at efficios.com>
Date: Wed Mar 26 11:31:36 2014 -0400
Fix: update test to use correct lttng load option
Signed-off-by: David Goulet <dgoulet at efficios.com>
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] lttng-tool cross configure for libxml2 error
2014-03-27 9:04 [lttng-dev] lttng-tool cross configure for libxml2 error loody
@ 2014-03-27 10:18 ` loody
0 siblings, 0 replies; 2+ messages in thread
From: loody @ 2014-03-27 10:18 UTC (permalink / raw)
hi all:
2014-03-27 17:04 GMT+08:00 loody <miloody at gmail.com>:
> 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 <dgoulet at efficios.com>
> Date: Wed Mar 26 11:31:36 2014 -0400
> Fix: update test to use correct lttng load option
> Signed-off-by: David Goulet <dgoulet at efficios.com>
>
> 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,
I found what I am wrong ^^
after install libxml2-dev lib in my host, configure is ok.
--
Regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-27 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-27 9:04 [lttng-dev] lttng-tool cross configure for libxml2 error loody
2014-03-27 10:18 ` loody
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox