[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [augeas-devel] Re: [fedora-virt] ANNOUNCE: Augeas support added to libguestfs



On Sun, Apr 12, 2009 at 09:32:18PM +0100, Richard W.M. Jones wrote:
> On Sun, Apr 12, 2009 at 07:58:22PM +0200, Ján ONDREJ (SAL) wrote:
> > Another error (writing privatelly to do not flood virt mailinglist):
> > 
> > > After installing augeas-devel from updates-testing, rpmbuild fails after
> > > compilation:
> > 
> > After disabling check section, some files are not found:
> > 
> > RPM build errors:
> >     File not found:
> > /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs
> >     File not found by glob:
> > //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.a
> >     File not found by glob:
> > /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.cmxa
> >     File not found by glob:
> > //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.cmx
> >     File not found by glob:
> > /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/guestfs/*.mli
> >     File not found by glob:
> > //usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/stublibs/*.so
> >     File not found by glob:
> > /usr/src/rpmbuild/BUILDROOT/libguestfs-0.8-1.fc10.i386/usr/lib/ocaml/stublibs/*.so.owner
> 
> Seems like you need ocaml-findlib-devel (for the OCaml bindings).  See:
> http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=f1a10c6285cca30f8c9491ae08951137457bb018

Better, but still error:

ocamlfind ocamlc -c guestfs.mli
ocamlfind ocamlc -c guestfs.ml
ocamlfind ocamlopt -c guestfs.ml
ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmo -lguestfs
ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmx -lguestfs
/usr/bin/ld: cannot find -lguestfs
collect2: ld returned 1 exit status
/usrmake[3]: *** [mlguestfs.cmxa] Error 2
make[3]: *** Waiting for unfinished jobs....
/bin/ld: cannot find -lguestfs
collect2: ld returned 1 exit status
make[3]: *** [mlguestfs.cma] Error 2
make[3]: Leaving directory `/usr/src/rpmbuild/BUILD/libguestfs-0.8/ocaml'

			SAL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]