packaging laby

Richard W.M. Jones rjones at redhat.com
Wed Oct 27 19:29:15 UTC 2010


[Sorry for the late reply, best to CC me in]

On Sat, Oct 16, 2010 at 11:21:18AM +0530, Ankur Sinha wrote:
> I've recently been trying to package laby[1]
> 
> In the middle of building it in mock, I come across this error:
> 
> > DEBUG: + make -j2
> > DEBUG: ocamlfind: Package `lablgtk2' not found
> > DEBUG: building laby-0.6.2 for linuxelf-i386: laby
> > DEBUG: ocamlfind: Package `lablgtk2' not found

Right, this is a sort of Debian vs Fedora incompatibility.  The
ocamlfind package is called 'lablgtk' in Fedora.  You can probably
patch this very easily in the source, and it should fix the error
below too.

Rich.

> > DEBUG: /usr/bin/ocamldep.opt -modules src/laby.ml > src/laby.ml.depends
> > DEBUG: /usr/bin/ocamldep.opt -modules src/dtools/conf.mli > src/dtools/conf.mli.depends
> > DEBUG: /usr/bin/ocamldep.opt -modules src/dtools/f.mli > src/dtools/f.mli.depends
> 
> The build ends up failing with the error:
> 
> > DEBUG: ocamlopt -c -g -I src -I src/dtools -o src/game.cmx src/game.ml
> > DEBUG: /usr/bin/ocamldep.opt -modules src/version.ml > src/version.ml.depends
> > DEBUG: ocamlopt -c -g -I src -I src/dtools -o src/config.cmx src/config.ml
> > DEBUG: ocamlopt -c -g -I src -I src/dtools -o src/gfx.cmx src/gfx.ml
> > DEBUG: + ocamlopt -c -g -I src -I src/dtools -o src/gfx.cmx src/gfx.ml
> > DEBUG: File "src/gfx.ml", line 39, characters 15-31:
> > DEBUG: Error: Unbound type constructor GdkPixbuf.pixbuf
> > DEBUG: Command exited with code 2.
> > DEBUG: make: *** [all] Error 1
> > 
> 
> Any help would be appreciated.
> 
> The incomplete spec is here[2]
> 
> [1]http://www.pps.jussieu.fr/~gimenez/laby/
> 
> [2]http://ankursinha.fedorapeople.org/laby/laby.spec
> 
> -- 
> Thanks!
> Regards,
> Ankur 
> 
> https://fedoraproject.org/wiki/User:Ankursinha
> 
> "FranciscoD"
> 
> _______________________________________________
> ocaml-devel mailing list
> ocaml-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ocaml-devel

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the ocaml-devel mailing list