Safa Rekik
2014-Feb-25 14:53 UTC
[Libguestfs] 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
Richard W.M. Jones
2014-Feb-25 14:59 UTC
Re: [Libguestfs] Problem with febootstrap version while compiling guestfsd in centos6.5
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#)
Richard W.M. Jones
2014-Feb-25 15:06 UTC
Re: [Libguestfs] Problem with febootstrap version while compiling guestfsd in centos6.5
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=febootstrap3Here'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
Richard W.M. Jones
2014-Feb-25 15:15 UTC
Re: [Libguestfs] Problem with febootstrap version while compiling guestfsd in centos6.5
[Please keep replies on the list] On Tue, Feb 25, 2014 at 04:13:52PM +0100, Safa Rekik wrote:> Actually i am trying to use libguestfs live in centos 6.5 guest. > > I couldn't find the libguestfs-live-service for centos so i am trying two > things : either compiling guestfsd from source or generating an rpm for > centos with rpmbuild (didn't try it yet). > > Please tell me if i am wrong or if there is a better way to use libguestfs > live.I believe libguestfs live is disabled in the RHEL/CentOS 6 package, so the only way to do it is to build the whole libguestfs from source. Just building the daemon won't work. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Safa Rekik
2014-Feb-25 15:32 UTC
Re: [Libguestfs] Problem with febootstrap version while compiling guestfsd in centos6.5
Ah OK, and what about generating the libguestfs-live-service for centos ? I know that they may compatibilities issues with the distribution of source rpm for fedora >=16 Actually i prefer not have all our guests overburdened with the libguestfs package while we just need the daemon. Beside i believe that with the live-service packege, closing the guestfs handle does not cause the daemon to exit (correct me if i am wrong) Thank you 2014-02-25 16:15 GMT+01:00 Richard W.M. Jones <rjones@redhat.com>:> [Please keep replies on the list] > > On Tue, Feb 25, 2014 at 04:13:52PM +0100, Safa Rekik wrote: > > Actually i am trying to use libguestfs live in centos 6.5 guest. > > > > I couldn't find the libguestfs-live-service for centos so i am trying two > > things : either compiling guestfsd from source or generating an rpm for > > centos with rpmbuild (didn't try it yet). > > > > Please tell me if i am wrong or if there is a better way to use > libguestfs > > live. > > I believe libguestfs live is disabled in the RHEL/CentOS 6 package, so > the only way to do it is to build the whole libguestfs from source. > Just building the daemon won't work. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > Fedora Windows cross-compiler. Compile Windows programs, test, and > build Windows installers. Over 100 libraries supported. > http://fedoraproject.org/wiki/MinGW >-- Safa REKIK
Apparently Analagous Threads
- Problem with febootstrap version while compiling guestfsd in centos6.5
- Re: guestfsd crashes when the handle is closed
- Re: guestfsd crashes when the handle is closed
- guestfsd crashes when the handle is closed
- CentOS6.5: disklessboot could not find ramdisk but CentOS6.2 :OK. CentOS6.5 has bug with dracut?