On 01/30/2013 08:47 AM, harryxiyou wrote:
> Hi all,
> 
> I did following steps to install Libvirt.
> 
> 1, git clone git://libvirt.org/libvirt.git
> 2, cd libvirt
> 3, ./autogen.sh
> 4, ./configure
> 5, make
> 6, sudo make install
> 
> Therefore, after step 6, "sudo make install", i happened to some
> errors, which you can find these errors by clicking following link.
> http://paste.ubuntu.com/1589924/

Pastebin links expire, making it harder to follow the conversation when
revisiting the list archives in the future.  It is okay to paste the
actual error into the message rather than making people chase through a
link.

> 
> Could anyone give me some suggestions? Thanks in advance ;-)

> [...]
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libxslt.so.1)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libexslt.so.0)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libexslt.so.0)
> /usr/bin//xsltproc: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/lib/libexslt.so.0)
> /usr/bin//xmlcatalog: /usr/local/lib/libxml2.so.2: no version information 
> available (required by /usr/bin//xmlcatalog)
> missing XHTML1 DTD
> Generating drvphyp.html.tmp

I'm not sure why your xsltproc is so noisy (it's probably a broken
install that you ought to look into fixing), but that it outside the
scope of the libvirt list.  Meanwhile, your problem is definitely
related to the fact that you don't have enough developer tools
installed, but you are trying to build from git, and therefore the html
files aren't pre-built.  If you use the official libvirt 1.0.2 tarball
(released today) instead of building from git, you would not have this
problem.  Otherwise, it sounds like you need to install the proper DTD
files for generating the html files, before 'make install' has a chance
of working.  On Fedora, the packages are named xhtml1-dtds and
docbook-dtds; I'm not sure what they are named on other distros.

Also, be aware that it is possible to test a just-built libvirt without
installing it first, by using './autogen.sh --system' to start the
build, and then using './run daemon/libvirtd' after completing the build
(for best results, you'll need to preinstall a distro build of libvirt,
but then disable the distro service, so fhat all the auxiliary files
that the in-tree binary wants to use will already be in place).

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to