Opam installation
Created by: leowzukw
When installing stog with opam like this :
opam install stog lwt js_of_ocaml xmldiff websocket ojs-base ppx_deriving_yojson cstruct crunch
to get the stog server, everything installs properly except stog.
Here is the error :
6 shift/reduce conflicts.
+ as --32 -o '/tmp/camlstartup6939ee.o' '/tmp/camlstartupb7a61f.s'
+ gcc -m32 -o 'stog' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/ocamldoc' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/xmlm' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/xtmpl' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/netsys' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/netstring' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/config-file' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/camlp4' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/ulex' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/higlo' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/threads' '-L/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml' -Wl,-E '/tmp/camlstartup6939ee.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/std_exit.o' 'stog_main.o' 'stog.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/higlo/higlo_xml.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/higlo/higlo_ocaml.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/higlo/higlo.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/ulex/ulexing.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/dynlink.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/config-file/config_file.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/netstring/netstring.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/netsys/netsys.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/netsys/netsys_oothr_mt_init.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/netsys/netsys_oothr_mt.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/bigarray.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/xtmpl/xtmpl.o' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/str.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/xmlm/xmlm.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/threads/threads.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/unix.a' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/stdlib.a' '-lnetsys' '-lrt' '-lpthread' '-lbigarray' '-lcamlstr' '-lthreadsnat' '-lpthread' '-lunix' '/home/lwzukw/.opam/4.02.1+32bit/lib/ocaml/libasmrun.a' -lm -ldl
There are some missing primitives
Dummy implementations (raising 'Failure' exception) will be used if they are not available at runtime.
You can prevent the generation of dummy implementations with the commandline option '-disable genprim'
Missing primitives:
re_replacement_text
re_search_forward
re_string_match
File "stog_server_ws.ml", line 62, characters 38-41:
Error: This expression has type string but an expression was expected of type
unit
make: *** [stog_server_ws.cmi] Erreur 2
After trying to compile manually (from sources used by opam), I got the same error.
Did I something wrong or is there a problem with the package?