<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/01/f6735e5adf3e71e22f286197791245f5"
  from="Matthieu Dubuget &lt;matthieu.dubuget@g...&gt;"
  author="Matthieu Dubuget"
  date="2009-01-22T17:11:49"
  subject="ocaml mingw installation problem"
  prev="2009/01/db46a675f250b0d4cc8af31992f1dc4a"
  next="2009/01/e4715fef3a3c4def40473db2f9f4e252"
  next-in-thread="2009/01/0bfe95057adebded20672ce44202771d"
  prev-thread="2009/01/3597c0d55acb8b0cfc394f624453ba49"
  next-thread="2009/01/e4715fef3a3c4def40473db2f9f4e252"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="ocaml mingw installation problem">
<msg 
  url="2009/01/f6735e5adf3e71e22f286197791245f5"
  from="Matthieu Dubuget &lt;matthieu.dubuget@g...&gt;"
  author="Matthieu Dubuget"
  date="2009-01-22T17:11:49"
  subject="ocaml mingw installation problem">
<msg 
  url="2009/01/0bfe95057adebded20672ce44202771d"
  from="Matthieu Dubuget &lt;matthieu.dubuget@g...&gt;"
  author="Matthieu Dubuget"
  date="2009-01-27T16:16:40"
  subject="Re: ocaml mingw installation problem">
</msg>
</msg>
</thread>

<contents>
Hello,

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 8.4.19.1. Default configuration.
- from here, I installed everything from  cygwin shell (in fact a KiTTY
shell)
- 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 http://caml.inria.fr/pub/distrib/ocaml-3.11/ocaml-3.11.0.tar.gz
- 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
's|PREFIX=C:/ocamlmgw|PREFIX=C:/cygwin/home/matt/ocamlmgw|'
ocaml-3.11/config/Makefile
- cd ocaml-3.11.0 &amp;&amp; make -f Makefile.nt world &amp;&amp; make -f Makefile.nt
opt &amp;&amp; make -f Makefile.nt opt.opt &amp;&amp; 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

Salutations

Matthieu Dubuget

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

</contents>

</message>

