From: miloody@gmail.com (loody)
Subject: [lttng-dev] lttng-tool cross configure for libxml2 error
Date: Thu, 27 Mar 2014 18:18:50 +0800 [thread overview]
Message-ID: <CANudz+s1cCtDMhUygJj8gbD4PbZ=sBDNo80mqxPqQQEEAzeK6g@mail.gmail.com> (raw)
In-Reply-To: <CANudz+u1N5kr9tZRJasw28iJU0tD-k6mGqX1t1Gnm2eHaZQR7w@mail.gmail.com>
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,
prev parent reply other threads:[~2014-03-27 10:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 9:04 loody
2014-03-27 10:18 ` loody [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANudz+s1cCtDMhUygJj8gbD4PbZ=sBDNo80mqxPqQQEEAzeK6g@mail.gmail.com' \
--to=miloody@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox