Please keep replies on the list.
On Mon, Mar 12, 2012 at 12:05:58AM +0100, Alessandro Dentella wrote:
On Sun, Mar 11, 2012 at 09:50:35PM +0000, Richard W.M. Jones wrote:
> On Sun, Mar 11, 2012 at 08:43:56PM +0100, Alessandro Dentella wrote:
> > Hi,
> >
> > I'm trying to compile hivex library that I just discovered. I'd use
binaries
> > but I only have an i386 ubuntu and debian so I tryied to compile.
> >
> > ./configure finished with incouraging::
> >
> > -----------------------------------------------------------
> > Thank you for downloading hivex 1.3.3
> >
> > This is how we have configured the optional components for you today:
> >
> > OCaml bindings ...................... no
> > Perl bindings ....................... yes
> > Python bindings ..................... yes
> > Ruby bindings ....................... no
> >
> > If any optional component is configured 'no' when you expected
'yes'
> > then you should check the preceeding messages.
> >
> > Please report bugs back to the mailing list:
> >
http://www.redhat.com/mailman/listinfo/libguestfs
> >
> > Next you should type 'make' to build the package,
> > then 'make check' to run the tests.
> > ------------------------------------------------------------
> >
> >
> > but then compilation end badly::
> >
> > Making all in xml
> > make[2]: Entering directory `/tmp/hivex-1.3.3/xml'
> > CCLD hivexml
> > hivexml-hivexml.o: In function `main':
> > /tmp/hivex-1.3.3/xml/hivexml.c:96: undefined reference to `rpl_getopt'
> > /tmp/hivex-1.3.3/xml/hivexml.c:110: undefined reference to
`rpl_optind'
> > /tmp/hivex-1.3.3/xml/hivexml.c:154: undefined reference to
`rpl_optind'
> > collect2: ld returned 1 exit status
> > make[2]: *** [hivexml] Error 1
> > make[2]: Leaving directory `/tmp/hivex-1.3.3/xml'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/hivex-1.3.3'
> > make: *** [all] Errore 2
> >
> >
> > And I'm not enought skilled to understand it. The error is on ubuntu
10.04.
> > A complete log can be viewd at
http://pastebin.com/0s9UnxPh
>
> I don't understand why you see the error, but it comes from gnulib.
> Is gnulib/lib/libgnu.a getting built and does it contain the
no, it's not there
If you're compiling from git, did you run ./autogen.sh? Did it
run successfully?
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