Re: [Libguestfs] failed to compile 1.18.11 on fedora18
On Sat, Mar 23, 2013 at 09:53:16PM +0800, javaon wrote:
hi richard,
I'm trying compiling libguestfs 1.18.11 on fedora 18. But I had the following error during make:
dbdump.c:56:25: error: unknown type name 'guestfs___db_dump_callback' [..] Do you know what I can do to fix it? Thanks!
Install 'hivex-devel' and re-run ./configure. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
New error comes in ... CC libguestfs_la-match.lo CC libguestfs_la-osinfo.lo osinfo.c:572: error: conflicting types for 'guestfs___osinfo_map' guestfs-internal.h:595: note: previous declaration of 'guestfs___osinfo_map' was here make[3]: *** [libguestfs_la-osinfo.lo] Error 1 make[3]: Leaving directory `/root/libguestfs-1.20.4/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/libguestfs-1.20.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/libguestfs-1.20.4' make: *** [all] Error 2 On 03/24/2013 02:08 AM, Richard W.M. Jones wrote:
On Sat, Mar 23, 2013 at 09:53:16PM +0800, javaon wrote:
hi richard,
I'm trying compiling libguestfs 1.18.11 on fedora 18. But I had the following error during make:
dbdump.c:56:25: error: unknown type name 'guestfs___db_dump_callback' [..] Do you know what I can do to fix it? Thanks! Install 'hivex-devel' and re-run ./configure.
Rich.
On Sun, Mar 24, 2013 at 02:21:03AM +0800, javaon wrote:
New error comes in ...
CC libguestfs_la-match.lo CC libguestfs_la-osinfo.lo osinfo.c:572: error: conflicting types for 'guestfs___osinfo_map' guestfs-internal.h:595: note: previous declaration of 'guestfs___osinfo_map' was here
libguestfs 1.20? This is because you need to install libxml2-devel. I would suggest doing: yum builddep libguestfs as that will install the dependencies you need. 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
participants (2)
-
javaon -
Richard W.M. Jones