English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Problem to install ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-07 (20:21)
From: David MENTRE <dmentre@l...>
Subject: Re: [Caml-list] Problem to install ocaml

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

I hope that helps,
Good luck,

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