From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 0DF6CBC69 for ; Wed, 7 Feb 2007 21:21:06 +0100 (CET) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l17KL4WO014038 for ; Wed, 7 Feb 2007 21:21:04 +0100 Received: by wr-out-0506.google.com with SMTP id i22so300264wra for ; Wed, 07 Feb 2007 12:21:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=l81wKcIfTLJqUvqwUijvMbXSYIfJweQoUgpAcKdRHkFK/Q72GRefMJvKKD49+w712n46pgTKrqAu2UhfkMzCsAQjLB31xYFjNZpidosQfLJUwlL5hqcNvyD4xQ4eZFbrecDkLQsic+qZIqCuraQkk4610rlgZ2pVTpDQX9mdLSg= Received: by 10.78.201.15 with SMTP id y15mr341375huf.1170879661481; Wed, 07 Feb 2007 12:21:01 -0800 (PST) Received: by 10.78.105.10 with HTTP; Wed, 7 Feb 2007 12:21:01 -0800 (PST) Message-ID: <3d13dcfc0702071221g57965817m2be00814b2b8d873@mail.gmail.com> Date: Wed, 7 Feb 2007 21:21:01 +0100 From: "David MENTRE" Sender: david.mentre@gmail.com To: "michel levy" Subject: Re: [Caml-list] Problem to install ocaml Cc: caml-list@inria.fr In-Reply-To: <45C9BCDF.6040908@imag.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45C9BCDF.6040908@imag.fr> X-Google-Sender-Auth: f564c6b3e8f83784 X-Miltered: at discorde with ID 45CA34B0.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml-:01 'make:01 -no-tk:01 labltk:01 ocaml:01 bug:01 curl:98 terminates:01 caml-list:01 michel:01 michel:01 imag:02 configured:03 seems:03 Hello, 2007/2/7, michel levy : > 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