From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 18951D179 for ; Tue, 26 Jul 2005 15:25:26 +0200 (CEST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6QDPOiA014572 for ; Tue, 26 Jul 2005 15:25:25 +0200 Received: from localhost (suiren [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.13.1/8.13.1) with ESMTP id j6QDPMwR017990 for ; Tue, 26 Jul 2005 22:25:22 +0900 (JST) Date: Tue, 26 Jul 2005 22:25:16 +0900 (JST) Message-Id: <20050726.222516.94140945.garrigue@math.nagoya-u.ac.jp> To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Caml build problems From: Jacques Garrigue In-Reply-To: <1122380699.1706.138.camel@localhost.localdomain> References: <42E5E6C8.7030900@clark-communications.com> <1122380699.1706.138.camel@localhost.localdomain> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 42E639C4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 gerd:01 stolpmann:01 -prefix:01 usr:01 lib:01 usr:01 lib:01 gmake:01 gmake:01 otherlibs:01 otherlibs:01 xlib:01 bug:01 tarball:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE autolearn=disabled version=3.0.3 From: Gerd Stolpmann > Am Dienstag, den 26.07.2005, 00:31 -0700 schrieb Don Jackson: > > Hello, > > > > I am trying to build Caml on Solaris 9 for i386. > > > > Here is my configure command line, which finishes fine: > > > > ./configure -prefix /home/dcj -x11include /usr/local/X11R6/include > > -x11lib /usr/local/X11R6/lib > > > > I then "gmake world", which dies when trying to build graph. > > It seems like it is not picking up the new location of the X11 > > libraries, although they are specified > > > > gmake[1]: Leaving directory `/home/dcj/src/ocaml-3.08.3/otherlibs/threads' > > gmake[1]: Entering directory `/home/dcj/src/ocaml-3.08.3/otherlibs/graph' > > gmake[1]: *** No rule to make target `/usr/X11R6/include/X11/Xlib.h', needed > > by `open.o'. Stop. > > gmake[1]: Leaving directory `/home/dcj/src/ocaml-3.08.3/otherlibs/graph' > > gmake: *** [otherlibraries] Error 2 > > > > Any ideas about how to fix this? > > Obviously, the X11 path is wrong. Actually no. This is a bug in the 3.08.3 tarball, due to a bug in recent versions of gcc (?) which cause the .depend of the graph subdirectory to wrongly depend on the X11 installation. The fix is to adapt dependencies to your installation: $ cd otherlibs/graph $ make depend > > Actually, I don't really want to do anything with X11 anyway...I just > > want to compile "unison" with command line only support. You can also configure with the -no-x11 option. This will disable both the graph and labl/camltk libraries. Not too good if you are a developper, but if this is not your case no problem. Jacques Garrigue