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=2.3 required=5.0 tests=AWL,DNS_FROM_RFC_POST, 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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 8B045BBC4 for ; Thu, 16 Apr 2009 19:15:01 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgkJADcE50nRVdqrZGdsb2JhbACVZzIaCQUHBw8FqV+BCZAkAQMBA4N6Bg X-IronPort-AV: E=Sophos;i="4.38,431,1233529200"; d="scan'208";a="27807310" Received: from mail-bw0-f171.google.com ([209.85.218.171]) by mail1-smtp-roc.national.inria.fr with ESMTP; 16 Apr 2009 19:15:01 +0200 Received: by bwz19 with SMTP id 19so421639bwz.9 for ; Thu, 16 Apr 2009 10:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:cc:x-mailer; bh=lR/+9ixmPIHE3vDhxFoaHaWjqR0OllUV435yqfIum7k=; b=dxnrztphMqBWQWPvxHJBtafKdlARauAyKTmkkjmgVTr7QNQgZlMPDPX4nkhukxhT3h 0Z5POubsewqfs89MgqrIAUh2qSpj0gWCuwRg7kKGd6Gw/t1fuPvjDHbbTJ6bTseaZcv0 x8C2fNQV+rE/VXaCEoH9a2kIi8iC0AQxaK534= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:cc:x-mailer; b=mqUucsTyK1fsEDB7AbB0We67GCbKTNFbnWjp37njIZrL7+GwYOGgBchSkX1OlTEwSn Bj7Xj9j55kxXm3pzjGPhWvy2OE5VKd+MM3b9fe1q5BhEELBbRO9dlDa3nIZzR2d84gEG Tok61ITymhpDvyhPkVLsFiRh/I+09Qy0uNQVQ= Received: by 10.103.213.19 with SMTP id p19mr874467muq.9.1239902100785; Thu, 16 Apr 2009 10:15:00 -0700 (PDT) Received: from ?10.10.30.15? (101.Red-83-59-28.dynamicIP.rima-tde.net [83.59.28.101]) by mx.google.com with ESMTPS id u26sm3037902mug.27.2009.04.16.10.14.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Apr 2009 10:15:00 -0700 (PDT) References: <49E759C8.2020701@glondu.net> <49E761F3.9030004@glondu.net> Message-Id: <22CE143A-2D8A-446B-95B0-AC5776C3E925@gmail.com> From: Joel Reymont To: =?ISO-8859-1?Q?St=E9phane_Glondu?= In-Reply-To: <49E761F3.9030004@glondu.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [Caml-list] cvs ocaml build failing Date: Thu, 16 Apr 2009 18:14:57 +0100 Cc: caml-list X-Mailer: Apple Mail (2.930.3) X-Spam: no; 0.00; cvs:01 ocaml:01 otherlibs:01 libunix:01 compilation:01 ocamlyacc:01 ocamldoc:01 odoc:01 parser:01 solver:01 ocamldoc:01 odoc:01 mlast:01 backtrace:01 cmx:01 On Apr 16, 2009, at 5:50 PM, St=E9phane Glondu wrote: > Add initgroups.o and setgroups.o in otherlibs/unix/libunix.clib, then > launch again the compilation. Seems to help but still bombs out. ./build/fastworld.sh ... + boot/ocamlyacc -v ocamldoc/odoc_text_parser.mly 5 shift/reduce conflicts. Solver failed: Ocamlbuild knows of no rules that apply to a target named ocamldoc/=20= odoc_opt.mlast. This can happen if you ask Ocamlbuild to build a =20 target with the wrong extension (e.g. .opt instead of .native) or if =20 the source files live in directories that have not been specified as =20 include directories. Backtrace: - Failed to build the target ocamldoc/ocamldoc.opt - Building ocamldoc/ocamldoc.opt: - Building ocamldoc/odoc_opt.native: - Building ocamldoc/odoc_opt.cmx: - Failed to build all of these: - Building ocamldoc/odoc_opt.ml: - Failed to build all of these: - Building ocamldoc/odoc_opt.mlast - Building ocamldoc/odoc_opt.ml4 - Building ocamldoc/odoc_opt.mlbuild - Building ocamldoc/odoc_opt.mly - Building ocamldoc/odoc_opt.mll - Building ocamldoc/odoc_opt.mlpack Compilation unsuccessful after building 2136 targets (681 cached) in =20 00:00:49. > It seems that -lm is missing in BYTECCLIBS and/or NATIVECCLIBS (see > config/Makefile). However, the ./configure script should have done =20 > this > for you. This might be worth a bugreport. BYTECCLIBS=3D -lcurses -lpthread NATIVECCLIBS=3D This was all working fine before, ocamlbuild and make. > Please pay attention and don't mix both build systems: either use make > or ocamlbuild, but don't run make after having used ocamlbuild nor > vice-versa. To be sure, start from a fresh CVS checkout. I don't mix and I always do 'make clean', 'make distclean' and './=20 build/distclean.sh'. Thanks, Joel --- Mac hacker with a performance bent http://linkedin.com/in/joelreymont