caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David MENTRE" <dmentre@linux-france.org>
To: "michel levy" <michel.levy@imag.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Problem to install ocaml
Date: Wed, 7 Feb 2007 21:21:01 +0100	[thread overview]
Message-ID: <3d13dcfc0702071221g57965817m2be00814b2b8d873@mail.gmail.com> (raw)
In-Reply-To: <45C9BCDF.6040908@imag.fr>

Hello,

2007/2/7, michel levy <michel.levy@imag.fr>:
> Can you help me to solve this installation problem occured during the
> installation from sources of ocaml-3.09.3 on a sun sparc.
> The 'make world' terminates with the message :
> ld: fatal: relocations remain against allocatable but non-writable sections
[...]
> After that we have tried ./configure -no-tk
> i.e. Do not attempt to build LablTk
> and the installation has terminated correctly.

After some googling, it seems that this error appears when the linked
library (in your case Tk) is not built as a shared library[1].

Have you compiled Tk yourself? Is there any --shared or the like
option to configure script of Tk?

Another possible cause is that you don't always use GNU ld to build
your software. Check that both OCaml and Tk are configured to use GNU
ld.

I hope that helps,
Good luck,
d.

[1] http://curl.haxx.se/mail/archive-2003-06/0072.html
[2] http://bugs.php.net/bug.php?id=34516


      reply	other threads:[~2007-02-07 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 11:49 michel levy
2007-02-07 20:21 ` David MENTRE [this message]

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=3d13dcfc0702071221g57965817m2be00814b2b8d873@mail.gmail.com \
    --to=dmentre@linux-france.org \
    --cc=caml-list@inria.fr \
    --cc=michel.levy@imag.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).