<div dir="ltr"><div>Hi,</div><div><br></div><div>I was trying to follow this guide (<a href="http://libvirt.org/compiling.html">http://libvirt.org/compiling.html</a>) to compile libvirt1.2.7 on CentOS6.4. There is an error on executing "make". Below is the steps to reproduce and the error messages. Any help is appreciated. Thanks.</div>
<div><br></div><div><div>$ sudo yum install gcc make gnutls-devel device-mapper-devel \</div><div>    python-devel libnl-devel yajl-devel \</div><div>    libxml2-devel libpciaccess-devel</div></div><div>$ wget <a href="ftp://libvirt.org/libvirt/libvirt-1.2.7.tar.gz">ftp://libvirt.org/libvirt/libvirt-1.2.7.tar.gz</a></div>
<div>$ gunzip -c libvirt-1.2.7.tar.gz | tar xvf -</div><div>$ cd libvirt-1.2.7/</div><div>$ ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-openvz=yes</div><div>$ make</div><div>.....</div><div>Making all in src</div>
<div>make[2]: Entering directory `/home/ec2-user/libvirt-1.2.7/src'</div><div>  GEN      libvirt_access.xml</div><div>/bin/sh: -w: command not found</div><div>make[2]: *** [libvirt_access.xml] Error 127</div><div>make[2]: Leaving directory `/home/ec2-user/libvirt-1.2.7/src'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/ec2-user/libvirt-1.2.7'</div><div>make: *** [all] Error 2</div><div><br></div><div>$ make V=1</div><div>..........</div><div><div>/usr/bin/ld:libvirt.syms:3220: syntax error in VERSION script</div>
<div>collect2: ld returned 1 exit status</div><div>make[3]: *** [<a href="http://libvirt.la">libvirt.la</a>] Error 1</div><div>make[3]: Leaving directory `/home/ec2-user/libvirt-1.2.7/src'</div><div>make[2]: *** [all] Error 2</div>
<div>make[2]: Leaving directory `/home/ec2-user/libvirt-1.2.7/src'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/ec2-user/libvirt-1.2.7'</div><div>make: *** [all] Error 2</div>
</div><div><br></div><div><br></div></div>