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