On Wed, Sep 12, 2012 at 04:39:48PM +0800, Richard Huang wrote:> Hi Richard, > > I want to compile guestfsd only for some guests, including centos, debian, > variable versions. But I didn't find scripts for it. Can you guide me how > to do this?I'm unclear exactly what the question is. You can compile guestfsd (just the daemon) this way: ./configure \ --enable-daemon \ --disable-appliance \ --disable-fuse \ --disable-perl \ --disable-python \ --disable-ruby \ --disable-haskell \ --disable-php \ --disable-erlang \ --disable-gobject make $ ls -l daemon/guestfsd -rwxrwxr-x. 1 rjones rjones 2073914 Sep 12 09:57 daemon/guestfsd You still have to run that command on each distro/version that you want to build a daemon for, assuming that's what you're trying to do. Try: ./configure --help | grep -E -- '--(dis|en)able' to get a list of things that can be enabled or disabled. There is no way currently to disable building the library, tools and language bindings as a whole, although arguably we should add that. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
thanks, that's what i was asking for. :-) On Wed, Sep 12, 2012 at 5:01 PM, Richard W.M. Jones <rjones at redhat.com>wrote:> On Wed, Sep 12, 2012 at 04:39:48PM +0800, Richard Huang wrote: > > Hi Richard, > > > > I want to compile guestfsd only for some guests, including centos, > debian, > > variable versions. But I didn't find scripts for it. Can you guide me how > > to do this? > > I'm unclear exactly what the question is. You can compile guestfsd > (just the daemon) this way: > > ./configure \ > --enable-daemon \ > --disable-appliance \ > --disable-fuse \ > --disable-perl \ > --disable-python \ > --disable-ruby \ > --disable-haskell \ > --disable-php \ > --disable-erlang \ > --disable-gobject > make > > $ ls -l daemon/guestfsd > -rwxrwxr-x. 1 rjones rjones 2073914 Sep 12 09:57 daemon/guestfsd > > You still have to run that command on each distro/version that you > want to build a daemon for, assuming that's what you're trying to do. > > Try: > > ./configure --help | grep -E -- '--(dis|en)able' > > to get a list of things that can be enabled or disabled. There is no > way currently to disable building the library, tools and language > bindings as a whole, although arguably we should add that. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > libguestfs lets you edit virtual machines. Supports shell scripting, > bindings from many languages. http://libguestfs.org >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120912/23d9b2bf/attachment.htm>
yes, this is what i was asking for.. but I got the below message while compiling guestfsd daemon: configure: error: qemu must be installed Since I am compiling on a virtual machine (CentOS 6.3), there is no qemu in it. How can I compile without qemu? P.S., I've tried --without-qemu, didn't work. thanks. On Wed, Sep 12, 2012 at 5:01 PM, Richard W.M. Jones <rjones at redhat.com>wrote:> On Wed, Sep 12, 2012 at 04:39:48PM +0800, Richard Huang wrote: > > Hi Richard, > > > > I want to compile guestfsd only for some guests, including centos, > debian, > > variable versions. But I didn't find scripts for it. Can you guide me how > > to do this? > > I'm unclear exactly what the question is. You can compile guestfsd > (just the daemon) this way: > > ./configure \ > --enable-daemon \ > --disable-appliance \ > --disable-fuse \ > --disable-perl \ > --disable-python \ > --disable-ruby \ > --disable-haskell \ > --disable-php \ > --disable-erlang \ > --disable-gobject > make > > $ ls -l daemon/guestfsd > -rwxrwxr-x. 1 rjones rjones 2073914 Sep 12 09:57 daemon/guestfsd > > You still have to run that command on each distro/version that you > want to build a daemon for, assuming that's what you're trying to do. > > Try: > > ./configure --help | grep -E -- '--(dis|en)able' > > to get a list of things that can be enabled or disabled. There is no > way currently to disable building the library, tools and language > bindings as a whole, although arguably we should add that. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > libguestfs lets you edit virtual machines. Supports shell scripting, > bindings from many languages. http://libguestfs.org >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120912/661b0f3e/attachment.htm>
Possibly Parallel Threads
- [PATCH 00/12] Various patches for fixing separated builds.
- guestfsd process dead while quitting guestfish
- [PATCH v6 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
- [PATCH] libvirt: disallow non-local connections (RHBZ#1347830)
- [PATCH 0/4] Various tweaks to the generator.