Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocaml mingw installation problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-22 (17:11)
From: Matthieu Dubuget <matthieu.dubuget@g...>
Subject: ocaml mingw installation problem

I still have a problem with my installation of OCaml 3.11.
Certainly because of some mis-configuration, but I can't figure out were
it could come from?

This was a mingw installation, from source.

I did it this way:

- Installed cygwin (+ some needed packages)
- Installed Active TCL Default configuration.
- from here, I installed everything from  cygwin shell (in fact a KiTTY
- get rid of $OCAMLLIB, simplified a lot  $PATH to avoid strange effect
with other software
- Installation of version 0.13 of flexlink + added in PATH
- wget
- tar xzf ocaml-3.11.0.tar.gz
- cp ocaml-3.11.0/config/s-nt.h ocaml-3.11/config/s.h
- cp ocaml-3.11.0/config/m-nt.h ocaml-3.11/config/m.h
- cp ocaml-3.11.0/config/Makefile.mingw ocaml-3.11/config/Makefile
- sed -i.bak -e
- cd ocaml-3.11.0 && make -f Makefile.nt world && make -f Makefile.nt
opt && make -f Makefile.nt opt.opt && make -f Makefile.nt install

Everything seems to have been installed without problem, but:
- ocamlbrowser does not want to run: application error (try to read
address 0)
- labltk: "Fatal error: cannot load shared library dlllabltk\nReason:
Cannot resolve Tk_PhotoPutBlock"

Thanks in advance for any idea to go further


Matthieu Dubuget

P.S. On the contrary, I was able to install, compile and have lablgtk2