Re: [Libguestfs] [virt-tools-list] Statically compiling virt-rescue ?

2015-03-28 Thread Richard W.M. Jones
I've added a few patches upstream to make static linking work, and it is [surprisingly] possible to get it to work. You'll have to check out libguestfs from git. Read the README file very carefully, and get familiar with building from source. This is easier on a recent Fedora machine or VM.

Re: [Libguestfs] [virt-tools-list] Statically compiling virt-rescue ?

2015-03-28 Thread Richard W.M. Jones
I forgot one thing. You have to apply the following patch/hack. diff --git a/rescue/Makefile.am b/rescue/Makefile.am index eab06e9..49568e7 100644 --- a/rescue/Makefile.am +++ b/rescue/Makefile.am @@ -60,6 +60,7 @@ virt_rescue_LDADD = \ $(LIBXML2_LIBS) \ $(LIBVIRT_LIBS) \

Re: [Libguestfs] [virt-tools-list] Statically compiling virt-rescue ?

2015-03-27 Thread Richard W.M. Jones
[Sorry - I didn't see this email until now as virt-rescue is part of the http://libguestfs.org project and so normally uses a different mailing list] On Tue, Mar 17, 2015 at 11:29:29AM +, Keith Roberts wrote: Hi all. I’d like to create a statically-linked version of virt-rescue that I can