There appears to be a few typos in your sample (along with some typos in your instructions). I've never programmed in caml before but I think I've been able to fix them.
TEST CASE:
1. Install ocaml-nox libsdl-ocaml-dev liblablgl-ocaml-dev
2. Download my Bug.ml
2. Run ocamlc -c -g -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL Bug.ml
3. The following error should be produced:
"The files /usr/lib/ocaml/3.10.0/lablGL/glDraw.cmi
and /usr/lib/ocaml/3.10.0/sdl/sdlgl.cmi make inconsistent assumptions
over interface Raw"
4. Install rebuilt package from -proposed.
5. Run ocamlc -c -g -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL Bug.ml
6. The command should return silently.
7. Run ocamlc -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL -g bigarray.cma sdl.cma lablgl.cma sdlloader.cma -o bug Bug.cmo
8. The command should return silently.
9. Run ./bug and a window should be appear with a multicoloured/rainbow triangle.
10. With the window focused, press q to exit/quit.
There appears to be a few typos in your sample (along with some typos in your instructions). I've never programmed in caml before but I think I've been able to fix them.
TEST CASE: ocaml/3. 10.0/sdl -I +lablGL Bug.ml
1. Install ocaml-nox libsdl-ocaml-dev liblablgl-ocaml-dev
2. Download my Bug.ml
2. Run ocamlc -c -g -I /usr/lib/
3. The following error should be produced:
"The files /usr/lib/ ocaml/3. 10.0/lablGL/ glDraw. cmi ocaml/3. 10.0/sdl/ sdlgl.cmi make inconsistent assumptions
and /usr/lib/
over interface Raw"
4. Install rebuilt package from -proposed. ocaml/3. 10.0/sdl -I +lablGL Bug.ml ocaml/3. 10.0/sdl -I +lablGL -g bigarray.cma sdl.cma lablgl.cma sdlloader.cma -o bug Bug.cmo rainbow triangle.
5. Run ocamlc -c -g -I /usr/lib/
6. The command should return silently.
7. Run ocamlc -I /usr/lib/
8. The command should return silently.
9. Run ./bug and a window should be appear with a multicoloured/
10. With the window focused, press q to exit/quit.