caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Matthieu Dubuget <matthieu.dubuget@gmail.com>
To: caml-list@inria.fr
Subject: ocaml mingw installation problem
Date: Thu, 22 Jan 2009 18:11:45 +0100	[thread overview]
Message-ID: <4978A8D1.9060906@gmail.com> (raw)

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 && 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

Salutations

Matthieu Dubuget

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


             reply	other threads:[~2009-01-22 17:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 17:11 Matthieu Dubuget [this message]
2009-01-27 16:16 ` Matthieu Dubuget

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4978A8D1.9060906@gmail.com \
    --to=matthieu.dubuget@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).