[Query] Facing issue in build libvirt6.0 on ubuntu 1804

Hi all, I am trying to build libvirt 6.0 on ubuntu OS 18.04. Facing one issue libvirt source compilation. ============================================ <stdin>:215: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: help [command-or-group] <stdin>:229: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: =========================================== *Source:* https://libvirt.org/sources/libvirt-6.0.0.tar.xz *Build Command*: $ mkdir build && cd build $ ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var $ make $ sudo make install Need help in solving the build error. is it possible to install libvirt package without build if yes please share the command/procedure/link. Thanks, Ramesh

On 4/30/20 10:05 AM, Ramesh B wrote:
Hi all,
I am trying to build libvirt 6.0 on ubuntu OS 18.04. Facing one issue libvirt source compilation.
============================================ <stdin>:215: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block::
help [command-or-group]
<stdin>:229: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block:: ===========================================
More context would be helpful, but this looks like rst2man or rst2html failed. Again, context would be helpful to know which one and whether it's caused by a problem in our released code or rst2*. Michal

On Thu, Apr 30, 2020 at 11:18:02AM +0200, Michal Privoznik wrote:
On 4/30/20 10:05 AM, Ramesh B wrote:
Hi all,
I am trying to build libvirt 6.0 on ubuntu OS 18.04. Facing one issue libvirt source compilation.
============================================ <stdin>:215: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block::
help [command-or-group]
<stdin>:229: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block:: ===========================================
More context would be helpful, but this looks like rst2man or rst2html failed. Again, context would be helpful to know which one and whether it's caused by a problem in our released code or rst2*.
Last time someone reported this problem it was due to an outdated local / pip install of the python3-docutils package Our CI passes on Ubuntu 18.04, so we know it works with the official distro provided python3-docutils Deb package. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

On Thu, Apr 30, 2020 at 01:35:18PM +0530, Ramesh B wrote:
Hi all,
I am trying to build libvirt 6.0 on ubuntu OS 18.04. Facing one issue libvirt source compilation.
============================================ <stdin>:215: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block::
help [command-or-group]
<stdin>:229: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block:: ===========================================
*Source:* https://libvirt.org/sources/libvirt-6.0.0.tar.xz
*Build Command*: $ mkdir build && cd build $ ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var $ make $ sudo make install
Need help in solving the build error. is it possible to install libvirt package without build if yes please share the command/procedure/link.
Get a pre-built from with $ sudo apt-get install libvirt-bin libvirt-daemon Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

Hi Daniel, Thanks for command. Can I install specific version of prebuilt libvirt ? Eg: version 6.0 On Thu, Apr 30, 2020, 4:54 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
On Thu, Apr 30, 2020 at 01:35:18PM +0530, Ramesh B wrote:
Hi all,
I am trying to build libvirt 6.0 on ubuntu OS 18.04. Facing one issue libvirt source compilation.
============================================ <stdin>:215: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block::
help [command-or-group]
<stdin>:229: (ERROR/3) Error in "code-block" directive: 1 argument(s) required, 0 supplied.
.. code-block:: ===========================================
*Source:* https://libvirt.org/sources/libvirt-6.0.0.tar.xz
*Build Command*: $ mkdir build && cd build $ ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var $ make $ sudo make install
Need help in solving the build error. is it possible to install libvirt package without build if yes please share the command/procedure/link.
Get a pre-built from with
$ sudo apt-get install libvirt-bin libvirt-daemon
Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

On Thu, Apr 30, 2020 at 05:08:17PM +0530, Ramesh B wrote:
Hi Daniel,
Thanks for command. Can I install specific version of prebuilt libvirt ?
Eg: version 6.0
No, you get whatever the OS distro provides. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

Ok, thanks for the clarification. On Thu, Apr 30, 2020, 5:11 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
On Thu, Apr 30, 2020 at 05:08:17PM +0530, Ramesh B wrote:
Hi Daniel,
Thanks for command. Can I install specific version of prebuilt libvirt ?
Eg: version 6.0
No, you get whatever the OS distro provides.
Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
participants (3)
-
Daniel P. Berrangé
-
Michal Privoznik
-
Ramesh B