[PATCH] Fix out-of-tree build for GObject bindings
                                
                                
                                
                                    
                                        by Hilko Bengen
                                    
                                
                                
                                        guestfs-gobject.h (in the source directory) was not found.
In file included from <stdin>:4:0:
/path/to/libguestfs/gobject/guestfs-gobject.h:23:37: fatal error: guestfs-gobject-session.h: No such file or directory
compilation terminated.
Error while processing the source.
make[2]: *** [Guestfs-1.0.gir] Error 1
---
 gobject/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index aef07d7..d482d21 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -56,7 +56,7 @@ introspection_sources = \
 
 Guestfs-1.0.gir: $(libname)
 Guestfs_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
-Guestfs_1_0_gir_CFLAGS = $(INCLUDES)
+Guestfs_1_0_gir_CFLAGS = $(INCLUDES) -I$(srcdir)
 Guestfs_1_0_gir_LIBS = $(libname)
 Guestfs_1_0_gir_FILES = $(introspection_sources)
 INTROSPECTION_GIRS += Guestfs-1.0.gir
-- 
1.7.9.1
                                
                         
                        
                                
                                13 years, 7 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        [PATCH] java: NFC: Remove unused section from Makefile.am
                                
                                
                                
                                    
                                        by Matthew Booth
                                    
                                
                                
                                        ---
 java/Makefile.am |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/java/Makefile.am b/java/Makefile.am
index c753672..9c31e57 100644
--- a/java/Makefile.am
+++ b/java/Makefile.am
@@ -22,12 +22,6 @@ java_prefix = com/redhat/et/libguestfs
 # Old RHEL 5 autoconf doesn't have builddir.
 builddir ?= $(top_builddir)/java
 
-generator_built = \
-	Makefile.inc \
-	$(java_built_sources) \
-	com_redhat_et_libguestfs_GuestFS.c \
-	Bindtests.java
-
 # Pull in automatically generated built sources
 include $(srcdir)/Makefile.inc
 
-- 
1.7.7.6
                                
                         
                        
                                
                                13 years, 7 months
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        [PATCH 0/3] Enable FUSE support in the API via 'mount-local' call.
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        This patch is just for review.
It enables FUSE support in the API via two new calls,
'guestfs_mount_local' and 'guestfs_umount_local'.
FUSE turns out to be very easy to deadlock (necessitating that the
machine be rebooted).  Running the test from the third patch is
usually an effective way to demonstrate this.  However I have not yet
managed to produce a simple reproducer that can be reported upstream
and/or understand the precise bug.
Rich.
                                
                         
                        
                                
                                13 years, 7 months
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
            
        
        
        
                
                        
                                
                                
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        trouble compiling libguestfs 1.17.21
                                
                                
                                
                                    
                                        by THO HUYNH
                                    
                                
                                
                                        I downloaded the libguestfs-1.17.21.tar.gz  tarball from www.libguestfs.org
I tried to compile the package but I got this error in "make" step:
virt_df-domains.o: In function `add_domain':
/home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk'
collect2: ld returned 1 exit status
make[2]: *** [virt-df] Error 1
make[2]: Leaving directory `/home/feeliwood/Downloads/libguestfs-1.17.21/df'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/feeliwood/Downloads/libguestfs-1.17.21'
make: *** [all] Error 2
Here is the result of "./configure" step :
This is how we have configured the optional components for you today:
Daemon .............................. yes
Appliance ........................... yes
QEMU ................................ /usr/bin/qemu-kvm
OCaml bindings ...................... no
Perl bindings ....................... no
Python bindings ..................... yes
Ruby bindings ....................... no
Java bindings ....................... no
Haskell bindings .................... no
PHP bindings ........................ yes
Erlang bindings ..................... yes
guestfish and C virt tools .......... yes
Perl virt tools ..................... yes
virt-resize ......................... no
FUSE filesystem ..................... no
gobject bindings .................... no
gobject introspection ............... no
I attached configure.txt and makefile.txt which show log of"./configure" and " make" process in case you need more info.
Do you have any hints?
Thanks.
                                
                         
                        
                                
                                13 years, 7 months