2 Replies Latest reply: Feb 17, 2013 2:47 PM by 960874 RSS

    OVS 3.2.1: Installing libvirt and/or virt tools (e.g., virt-install)

    960874
      Has anybody here successfully installed libvirt and/or virt-install on Oracle VM Server 3.2.1?

      I've attempted to install libvirt & virtinstall from source...
      [root@xen3 virtinst-0.600.3]# cd /usr/local/src/virtinst-0.600.3
      
      [root@xen3 virtinst-0.600.3]# python setup.py install
      running install
      running build
      Version              : 0.600.3
      RHEL6 defaults       : False
      Formatting ru.po to build/mo/ru/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting gu.po to build/mo/gu/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting nl.po to build/mo/nl/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting pt_BR.po to build/mo/pt_BR/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting zh_CN.po to build/mo/zh_CN/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting sr.po to build/mo/sr/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting zh_TW.po to build/mo/zh_TW/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting sr@latin.po to build/mo/sr@latin/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting it.po to build/mo/it/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting fr.po to build/mo/fr/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting es.po to build/mo/es/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting uk.po to build/mo/uk/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting da.po to build/mo/da/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting ja.po to build/mo/ja/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      Formatting pl.po to build/mo/pl/LC_MESSAGES/virtinst.mo
      sh: msgfmt: command not found
      running build_py
      running build_scripts
      running install_lib
      running install_scripts
      changing mode of /usr/bin/virt-clone to 755
      changing mode of /usr/bin/virt-image to 755
      changing mode of /usr/bin/virt-convert to 755
      changing mode of /usr/bin/virt-install to 755
      running install_data
      error: can't copy 'build/mo/ru/LC_MESSAGES/virtinst.mo': doesn't exist or not a regular file
      
      [root@xen3 libvirt-1.0.2]# cd /usr/local/src/libvirt-1.0.2
      
      [root@xen3 libvirt-1.0.2]# ./configure 
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... no
      checking how to create a ustar tar archive... gnutar
      checking whether to enable maintainer-specific portions of Makefiles... yes
      checking whether make supports nested variables... no
      checking build system type... x86_64-unknown-linux-gnu
      checking host system type... x86_64-unknown-linux-gnu
      checking for gcc... no
      checking for cc... no
      checking for cl.exe... no
      configure: error: in `/usr/local/src/libvirt-1.0.2':
      configure: error: no acceptable C compiler found in $PATH
      See `config.log' for more details
      ...but been confounded by the lack of gcc in the public-yum repo .
      [root@xen3 libvirt-1.0.2]# yum search gcc
      ======================= Matched: gcc =======================
      libgcc.x86_64 : GCC version 4.1 shared support library
      libstdc++.x86_64 : GNU Standard C++ Library
      libtermcap.x86_64 : A basic system library for accessing the termcap database.
      python-zope-interface.x86_64 : Zope interfaces package
      Ideas? Suggestions?
        • 1. Re: Installing libvirt and/or virt-install on OVS 3.2.1
          budachst
          Suggestions…? Well yes… simply forget about that! Oracle treats OVM server as an appliance - or least they'd like to and sell us the hardware as well. Since they can't do that, they decided to "craft" the system to their likings and omit lots of things one might consider either necessary or nice to have.

          Oralce did intentionally leave out all the gcc stuff and a lot of the other tools as well, to make sure mortals don't mess around with the system. If you want to use OVM then you will have to live with that or risk breaking any part of OVM and rendering your installation unsupported by Oracle.

          Besides, I don't actually see, why one would need to install libvirt/virt-install on a OVM server?
          • 2. Re: Installing libvirt and/or virt-install on OVS 3.2.1
            960874
            budachst wrote:
            Besides, I don't actually see, why one would need to install libvirt/virt-install on a OVM server?
            The short answer: Oracle VM Manager.

            The long answer: My earlier post, "Oracle VM vs SuSE Linux Enterprise Server (SLES)"

            Thanks, Budachst.