Comment 1 for bug 603139

Revision history for this message
NickFiler (nick-cs) wrote :

I worked around this by eventually adding a link in /usr/include as below:

ln -s /usr/lib64/ocaml/caml ./caml

The above then compiles until:

make[3]: `_build/waitpid-c-wrapper.o' is up to date.
make[3]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Finished, 0 targets (0 cached) in 00:00:00.
+ /usr/local/bin/ocamlc.opt -c -thread -thread -I /usr/local/lib/ocaml -I +threads -I +lablgtk2 -I +camlp4 -I /usr/local/lib/ocaml/threads -I /usr/local/lib/ocaml/lablgtk2 -I /usr/local/lib/ocaml/camlp4 -pp camlp4of -I WIDGETS/LEDGRID -I SHELL -I CAMLP4 -I BASE -I CONFIGURATION -I DOT -I MARSHAL -I MAKE -I EXTRA -I GETTEXT -I STRUCTURES -I WIDGETS -o WIDGETS/LEDGRID/ledgrid.cmo WIDGETS/LEDGRID/ledgrid.ml
File "WIDGETS/LEDGRID/ledgrid.ml", line 48, characters 2-23:
Error: Unbound value GDraw.pixmap_from_xpm
Command exited with code 2.

Looks like a missing type definition therefore probably a missing library? First tried installing any graphings gtk, tk, X11 packages and devel packages. I already have the required library:

Package ocaml-lablgtk-2.14.0-2.fc12.x86_64 already installed and latest version
Package ocaml-lablgtk-devel-2.14.0-2.fc12.x86_64 already installed and latest version
Nothing to do

Is there another missing link or bit of setup?