[libvirt] Compile libvirt V1.0.1 error

Eric Blake eblake at redhat.com
Wed Feb 27 03:04:54 UTC 2013


On 02/26/2013 06:32 PM, harryxiyou wrote:
> Hi all,
> 

> i got following errors.
> 
> [...]
> cc1: error: AVA_HOME/include: No such file or directory [-Werror]
> cc1: error: AVA_HOME/include/linux: No such file or directory [-Werror]
> cc1: all warnings being treated as errors
> make[3]: *** [libvirt_driver_storage_impl_la-storage_driver.lo] Error 1

You trimmed too much of your make line to tell us what was happening.
It might also help to run 'make V=1' to get the full command line being
attempted.  I have to wonder if you have an unexpanded '$JAVA_HOME'
injected somewhere into your configure output, where make is trying to
compute $J (empty) followed by literal 'AVA_HOME'; maybe you should
figure out what in your build setup is providing that bad variable value
(correct would likely be '${JAVA_HOME}').  But I cannot reproduce your
build failure, so it is something in your environment and not in libvirt
itself that is causing you grief.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130226/504da181/attachment-0001.sig>


More information about the libvir-list mailing list