[Libguestfs] compile guestfsd

Richard Huang huangyunsong at gmail.com
Wed Sep 12 09:09:44 UTC 2012


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>


More information about the Libguestfs mailing list