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
thanks for any possible hints
sandro
*:-)
PS: I dont have libguestfs as I just need to batch modify (preferably via
Python) some profile NTUSER.DAT. My understanding is that hivex does not
depend on libguestfs.