[virt-tools-list] Installing libvirt and/or virt-install on Oracle VM Server 3?

Christophe Fergeau cfergeau at redhat.com
Mon Feb 18 12:16:04 UTC 2013


Hey,

On Sat, Feb 16, 2013 at 10:23:10PM -0800, Eric wrote:
> Has anybody on the list successfully installed libvirt and/or virt-install on Oracle VM Server 3?
> 
> I've attempted to install libvirt & virtinstall from source...
> 
> [root at xen3 virtinst-0.600.3]# cd /usr/local/src/virtinst-0.600.3
>  
> [root at 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

You are missing msgfmt which comes with gettext
> [root at 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 Oracle VM Server repo .
> 
> [root at 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?

You are (at least) missing 'gcc'. I'd recommend playing with yum-builddep
to get all the needed dependencies, or trying to rebuild an existing
.src.rpm using mock.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130218/2cc120a7/attachment.sig>


More information about the virt-tools-list mailing list