Problem with febootstrap version while compiling guestfsd in centos6.5
Hello, I am try to compile guestfsd using this link<http://thr3ads.net/libguestfs/2012/09/2100168-Re-compile-guestfsd>. I am using libguestfs-1.24.4.tar.gz After running ./configure with disable options i get a message claiming a febootstrap >=3.2. I already installed febootstrap-3.21-4.el6x86_64.rpm for centos6.5. In the rpm description i found a note telling that this rpm will provide febootstrap 2.11 and 3.21, and indeed i have too commands febbotstrap(2.11) and febootstrap3(3.21). So could it be a version conflict problem? is there a way to make the ./configure script point to 3.21 version? Any help would be much appreciated. Thanks in advance ! *Note : the kernel of centos6.5 is 2.6.32, which is lower than the one required in README file . But i don't know whether it may be the source of the problem* -- Safa REKIK
On Tue, Feb 25, 2014 at 03:53:03PM +0100, Safa Rekik wrote:
I am try to compile guestfsd using this link<http://thr3ads.net/libguestfs/2012/09/2100168-Re-compile-guestfsd>. I am using libguestfs-1.24.4.tar.gz
After running ./configure with disable options i get a message claiming a febootstrap >=3.2.
I already installed febootstrap-3.21-4.el6x86_64.rpm for centos6.5.
In the rpm description i found a note telling that this rpm will provide febootstrap 2.11 and 3.21, and indeed i have too commands febbotstrap(2.11) and febootstrap3(3.21).
Right, good old RHEL/CentOS 6 :-) You have to set the following environment variable to tell it which febootstrap to use: export FEBOOTSTRAP=febootstrap3
*Note : the kernel of centos6.5 is 2.6.32, which is lower than the one required in README file . But i don't know whether it may be the source of the problem*
We (Red Hat) have backported all the bits needed for libguestfs, so the CentOS kernel "2.6.32" should be fine. I'm interested though: why do you want to just compile guestfsd? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
On Tue, Feb 25, 2014 at 02:59:31PM +0000, Richard W.M. Jones wrote:
You have to set the following environment variable to tell it which febootstrap to use:
export FEBOOTSTRAP=febootstrap3
Here's a more complete answer. In your libguestfs source directory, create two files as follows: (a) localconfigure should contain: ------- source localenv # qemu is too old (< 1.0) so the qemu test will fail. export vmchannel_test=no ./autogen.sh \ --prefix /usr \ --disable-ruby \ -C \ "$@" ------- (b) localenv should contain: ------- export SUPERMIN=/usr/bin/febootstrap3 export SKIP_TEST_LAUNCH_RACE_PL=1 ------- Make sure both files are executable: chmod +x localconfigure localenv Instead of using './configure [args...]' use './localconfigure [args...]' Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
participants (2)
-
Richard W.M. Jones -
Safa Rekik