marionnet-dev team mailing list archive
-
marionnet-dev team
-
Mailing list archive
-
Message #00063
[Bug 603139] [NEW] Make fails on Fedora 12 - Missing includes.
Public bug reported:
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/include_type_definitions_p4.ml"...
Manually pre-copying "CAMLP4/include_type_definitions_p4.mli"...
Manually pre-copying "CAMLP4/include_as_string_p4.ml"...
Manually pre-copying "CAMLP4/include_as_string_p4.mli"...
Manually pre-building "include_type_definitions_p4.cmi"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -pp camlp4of -o _build/include_type_definitions_p4.cmi CAMLP4/include_type_definitions_p4.mli
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Manually pre-building "include_type_definitions_p4.cmo"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -I _build/ -pp camlp4of -o _build/include_type_definitions_p4.cmo CAMLP4/include_type_definitions_p4.ml
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Manually pre-building "include_as_string_p4.cmi"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -pp camlp4of -o _build/include_as_string_p4.cmi CAMLP4/include_as_string_p4.mli
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Manually pre-building "include_as_string_p4.cmo"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -I _build/ -pp camlp4of -o _build/include_as_string_p4.cmo CAMLP4/include_as_string_p4.ml
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Building data...
Success: data were built.
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
GETTEXT/gettext-c-wrapper.c:25:22: error: mlvalues.h: No such file or directory
GETTEXT/gettext-c-wrapper.c:28:19: error: alloc.h: No such file or directory
GETTEXT/gettext-c-wrapper.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
GETTEXT/gettext-c-wrapper.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
make[1]: *** [_build/gettext-c-wrapper.o] Error 1
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
EXTRA/does-process-exist-c-wrapper.c:27:22: error: mlvalues.h: No such file or directory
EXTRA/does-process-exist-c-wrapper.c:30:19: error: alloc.h: No such file or directory
EXTRA/does-process-exist-c-wrapper.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
make[1]: *** [_build/does-process-exist-c-wrapper.o] Error 1
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
EXTRA/waitpid-c-wrapper.c:25:27: error: caml/mlvalues.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:26:24: error: caml/alloc.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:27:25: error: caml/memory.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:28:23: error: caml/fail.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:29:27: error: caml/callback.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:30:30: error: caml/unixsupport.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:51: error: expected ‘)’ before ‘ml_flag’
EXTRA/waitpid-c-wrapper.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
make[1]: *** [_build/waitpid-c-wrapper.o] Error 1
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
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]$
** Affects: ocamlbricks
Importance: Undecided
Status: New
--
Make fails on Fedora 12 - Missing includes.
https://bugs.launchpad.net/bugs/603139
You received this bug notification because you are a member of
marionnet-dev, which is subscribed to ocamlbricks.
Status in ocamlbricks - a library of ocaml components: New
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/include_type_definitions_p4.ml"...
Manually pre-copying "CAMLP4/include_type_definitions_p4.mli"...
Manually pre-copying "CAMLP4/include_as_string_p4.ml"...
Manually pre-copying "CAMLP4/include_as_string_p4.mli"...
Manually pre-building "include_type_definitions_p4.cmi"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -pp camlp4of -o _build/include_type_definitions_p4.cmi CAMLP4/include_type_definitions_p4.mli
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Manually pre-building "include_type_definitions_p4.cmo"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -I _build/ -pp camlp4of -o _build/include_type_definitions_p4.cmo CAMLP4/include_type_definitions_p4.ml
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Manually pre-building "include_as_string_p4.cmi"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -pp camlp4of -o _build/include_as_string_p4.cmi CAMLP4/include_as_string_p4.mli
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Manually pre-building "include_as_string_p4.cmo"...
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
ocamlc -c -I +camlp4 -I _build/ -pp camlp4of -o _build/include_as_string_p4.cmo CAMLP4/include_as_string_p4.ml
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
Building data...
Success: data were built.
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
GETTEXT/gettext-c-wrapper.c:25:22: error: mlvalues.h: No such file or directory
GETTEXT/gettext-c-wrapper.c:28:19: error: alloc.h: No such file or directory
GETTEXT/gettext-c-wrapper.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
GETTEXT/gettext-c-wrapper.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
make[1]: *** [_build/gettext-c-wrapper.o] Error 1
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
EXTRA/does-process-exist-c-wrapper.c:27:22: error: mlvalues.h: No such file or directory
EXTRA/does-process-exist-c-wrapper.c:30:19: error: alloc.h: No such file or directory
EXTRA/does-process-exist-c-wrapper.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
make[1]: *** [_build/does-process-exist-c-wrapper.o] Error 1
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
make[1]: Entering directory `/local_home/nick/tmp/ocamlbricks'
EXTRA/waitpid-c-wrapper.c:25:27: error: caml/mlvalues.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:26:24: error: caml/alloc.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:27:25: error: caml/memory.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:28:23: error: caml/fail.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:29:27: error: caml/callback.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:30:30: error: caml/unixsupport.h: No such file or directory
EXTRA/waitpid-c-wrapper.c:51: error: expected ‘)’ before ‘ml_flag’
EXTRA/waitpid-c-wrapper.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘value’
make[1]: *** [_build/waitpid-c-wrapper.o] Error 1
make[1]: Leaving directory `/local_home/nick/tmp/ocamlbricks'
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]$
Follow ups
References