<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
于 2011-6-27 23:17, Laine Stump 写道:
<blockquote cite="mid:4E089F0A.6040208@laine.org" type="cite">On
06/27/2011 07:32 AM, Matthias Bolte wrote:
<br>
<blockquote type="cite">2011/6/27
simon<a class="moz-txt-link-rfc2396E" href="mailto:simonjin@linux.vnet.ibm.com"><simonjin@linux.vnet.ibm.com></a>:
<br>
<blockquote type="cite">于 2011-6-27 13:01, Daniel Veillard 写道:
<br>
<br>
So we are entering the week freeze for the new version
0.9.3
<br>
I have made an rc1 tarball available at:
<br>
<a class="moz-txt-link-freetext" href="ftp://libvirt.org/libvirt/libvirt-0.9.3-rc1.tar.gz">ftp://libvirt.org/libvirt/libvirt-0.9.3-rc1.tar.gz</a>
<br>
along with rpms for those interested
<br>
We pushed a lot of patches in the last few days, we know there
is at
<br>
least some cleanup issues, but I tried it locally and basic
operations
<br>
seems to work fine,
<br>
<br>
please give it a try too and report issues,
<br>
<br>
thanks !
<br>
<br>
Daniel
<br>
<br>
On fc14.x86_64
<br>
TEST: networkxml2argvtest FAIL
<br>
<br>
Download libvirt-0.9.3-rc1.tar.gz
<br>
<br>
./configure&& make&& make check
<br>
<br>
It report 1 of 52 tests failed
<br>
<br>
TEST: networkxml2argvtest
<br>
!.!!!!! 7 FAIL
<br>
FAIL: networkxml2argvtest
<br>
</blockquote>
This a known problem when you configure libvirt with
localstatedir
<br>
other than /var, what happens when you just run configure
without
<br>
arguments.
<br>
</blockquote>
<br>
It looks like that's what he did, so maybe this is a different
problem (or possibly his configure defaults to /usr/local/var?).
<br>
<br>
If the default localstatedir isn't /var, try doing "./autogen.sh
--system" instead of ./configure. If that doesn't cure the
problem, try running the test with debug logging turned on to see
exactly what error is reported:
<br>
<br>
LIBVIRT_LOG_OUTPUTS=3:stderr VIR_TEST_DEBUG=2
./networkxml2argvtest
<br>
<br>
</blockquote>
I didn't use any arguments in configure, but the defaults
localstatdir is /usr/local/var.<br>
I found below lines in config.status:<br>
S["prefix"]="/usr/local"<br>
S["localstatedir"]="${prefix}/var"<br>
<br>
./autogen.sh --system will fix this issue.<br>
<br>
<span class="Apple-style-span" style="color: rgb(0, 0, 0);
font-family: arial,verdana,sans-serif; font-size: 14px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 23px; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; background-color: rgb(255, 255,
255);">[libvirt-0.9.3]$ LIBVIRT_LOG_OUTPUTS=3:stderr
VIR_TEST_DEBUG=2 tests/networkxml2argvtest<br>
TEST: tests/networkxml2argvtest<br>
1) Network XML-2-Argv
isolated-network ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/isolated-network.xml:
failed to open: No such file or directory<br>
FAILED<br>
2) Network XML-2-Argv
routed-network ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/routed-network.xml:
failed to open: No such file or directory<br>
FAILED<br>
3) Network XML-2-Argv
nat-network ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/nat-network.xml:
failed to open: No such file or directory<br>
FAILED<br>
4) Network XML-2-Argv
netboot-network ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/netboot-network.xml:
failed to open: No such file or directory<br>
FAILED<br>
5) Network XML-2-Argv
netboot-proxy-network ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/netboot-proxy-network.xml:
failed to open: No such file or directory<br>
FAILED<br>
6) Network XML-2-Argv
nat-network-dns-txt-record ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/nat-network-dns-txt-record.xml:
failed to open: No such file or directory<br>
FAILED<br>
7) Network XML-2-Argv
nat-network-dns-hosts ...
/home/simon/Downloads/libvirt-0.9.3/networkxml2argvdata/nat-network-dns-hosts.xml:
failed to open: No such file or directory<br>
FAILED<br>
</span><br>
Those .xml files actully under test/.<br>
<br>
-Simon Jin<br>
<br>
<br>
</body>
</html>