[Libguestfs] Compilation troubles

Richard W.M. Jones rjones at redhat.com
Tue Mar 13 14:53:22 UTC 2012


Please keep replies on the list, otherwise how can future readers
benefit from the permanent record of answers?

On Tue, Mar 13, 2012 at 03:43:07PM +0100, Alessandro Dentella wrote:
> On Tue, Mar 13, 2012 at 02:33:13PM +0000, Richard W.M. Jones wrote:
> > On Tue, Mar 13, 2012 at 02:33:40PM +0100, Alessandro Dentella wrote:
> > > On Mon, Mar 12, 2012 at 08:36:32AM +0000, Richard W.M. Jones wrote:
> > > > If you're compiling from git, did you run ./autogen.sh?  Did it
> > > > run successfully?
> > > 
> > > no, I used the package at [1]. After you e-mail I also cloned the git repo
> > > and run autogen.sh that ends with
> > > 
> > >   # Rerun the generator (requires OCaml interpreter).  This is *not* for
> > >   # anything that is required at configure-time when configure is run
> > >   # from a distribution tarball.  From those, nothing ocaml-related is
> > >   # required.
> > >   mkdir -p perl/lib/Win
> > >   ./generator/generator.ml
> > >   /usr/bin/env: ocaml: permission denied
> > > 
> > > And I don't have/need ocaml
> > 
> > You need if you want to build from git, but not from tarballs,
> > although if you have Debian/Ubuntu you might as well just install the
> > OCaml compiler.
> 
> isn't it possible to avoid it?

Yes, if you build from tarballs.

> > > [1] http://libguestfs.org/download/hivex/hivex-1.3.3.tar.gz
> > > 
> > > Any more hints?
> > 
> > You didn't mention what version of Debian or Ubuntu you are using.
> 
> I'm testing on Ubuntu 10.04. I'm not using .deb since they're just for amd
> and I'm on i386.

Yes, there is some problem with Ubuntu 10.04; I can reproduce it here,
but it probably just requires updating gnulib.  I'll try to see if
that helps ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list