Make fails on Fedora 12 - Missing includes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ocamlbricks |
New
|
Undecided
|
Unassigned |
Bug Description
I followed the Fedora 11 guide step by step. Made one small fix prior to building ocamlbricks to an include where a patch was found simply using Google. I have no experience of Ocaml. I was wanting to test Marionnet as an alternative to VNUML. It may be a tivial issue?
get this:
[nick@msa021 ocamlbricks]$ make
Just for debugging: PP_OPTION is "camlp4of"
Building meta.ml...
Success.
Manually pre-copying "CAMLP4/
Manually pre-copying "CAMLP4/
Manually pre-copying "CAMLP4/
Manually pre-copying "CAMLP4/
Manually pre-building "include_
make[1]: Entering directory `/local_
ocamlc -c -I +camlp4 -pp camlp4of -o _build/
make[1]: Leaving directory `/local_
Manually pre-building "include_
make[1]: Entering directory `/local_
ocamlc -c -I +camlp4 -I _build/ -pp camlp4of -o _build/
make[1]: Leaving directory `/local_
Manually pre-building "include_
make[1]: Entering directory `/local_
ocamlc -c -I +camlp4 -pp camlp4of -o _build/
make[1]: Leaving directory `/local_
Manually pre-building "include_
make[1]: Entering directory `/local_
ocamlc -c -I +camlp4 -I _build/ -pp camlp4of -o _build/
make[1]: Leaving directory `/local_
Building data...
Success: data were built.
make[1]: Entering directory `/local_
GETTEXT/
GETTEXT/
GETTEXT/
GETTEXT/
make[1]: *** [_build/
make[1]: Leaving directory `/local_
make[1]: Entering directory `/local_
EXTRA/does-
EXTRA/does-
EXTRA/does-
make[1]: *** [_build/
make[1]: Leaving directory `/local_
make[1]: Entering directory `/local_
EXTRA/waitpid-
EXTRA/waitpid-
EXTRA/waitpid-
EXTRA/waitpid-
EXTRA/waitpid-
EXTRA/waitpid-
EXTRA/waitpid-
EXTRA/waitpid-
make[1]: *** [_build/
make[1]: Leaving directory `/local_
make: *** [c-modules] Error 2
[nick@msa021 ocamlbricks]$
[nick@msa021 ocamlbricks]$ find . -name "mlvalues.h" -print
[nick@msa021 ocamlbricks]$ find /usr/include -name "mlvalues.h" -print
[nick@msa021 ocamlbricks]$ find /usr/local/include -name "mlvalues.h" -print
[nick@msa021 ocamlbricks]$
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. home/nick/ tmp/ocamlbricks ' 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 LEDGRID/ ledgrid. ml", line 48, characters 2-23: from_xpm
make[3]: Leaving directory `/local_
Finished, 0 targets (0 cached) in 00:00:00.
+ /usr/local/
File "WIDGETS/
Error: Unbound value GDraw.pixmap_
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 devel-2. 14.0-2. fc12.x86_ 64 already installed and latest version
Package ocaml-lablgtk-
Nothing to do
Is there another missing link or bit of setup?