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.0 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 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 4E8BFBC69 for ; Mon, 12 Nov 2007 15:15:54 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALvuN0fAXQImh2dsb2JhbACPCgEBAQgKKYEP X-IronPort-AV: E=Sophos;i="4.21,405,1188770400"; d="scan'208";a="4330679" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 12 Nov 2007 15:15:53 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id lACEFrnY018249 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 12 Nov 2007 15:15:53 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAO7uN0dQW+UCh2dsb2JhbACPCQEBAQgKKYEP X-IronPort-AV: E=Sophos;i="4.21,405,1188770400"; d="scan'208";a="19189425" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail4-smtp-sop.national.inria.fr with ESMTP; 12 Nov 2007 15:15:52 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ira4k-00014h-8J for caml-list@inria.fr; Mon, 12 Nov 2007 14:15:42 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Nov 2007 14:15:42 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Nov 2007 14:15:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: ocamlgsl-0.6.0. fails to compile on ubuntu Date: Mon, 12 Nov 2007 14:15:33 +0000 (UTC) Message-ID: References: <1194869203.9372.12.camel@mikhaa> <95513600711120422h10090a48j839d1420e50cb4a8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/0.9.8.1pl2 (Debian) Sender: news X-Miltered: at discorde with ID 47386019.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 andrieu:01 oandrieu:01 zxvf:01 makefile:01 mingw:01 mingw:01 ocamlc:01 -dhave:01 -dhave:01 fenv:01 gsl:01 gsl:01 camlp:01 buildd:01 On 12-11-2007, Olivier Andrieu wrote: > Hi, > > On Nov 12, 2007 1:06 PM, Mikhalev, Alex wrote: >> >> >> >> Dear All, >> Any help will be appreciated as well as suggestion to any docs or >> tutorial (I have seen README and website). All error messages and system >> configuration below. >> Regards, >> Alex >> >tar zxvf ocamlgsl-0.6.0.tar.gz >> >cd ocamlgsl-0.6.0/ >> >make >> /ocamlgsl-0.6.0$ make >> /bin/sh: gawk: not found >> /bin/sh: gawk: not found >> /bin/sh: gawk: not found >> Makefile:100: mingw.mak: No such file or directory >> /bin/sh: gawk: not found >> make: *** No rule to make target `mingw.mak'. Stop. >> >sudo aptitude install gawk >> Setting up gawk (3.1.5.dfsg-4build1) ... > > indeed, you need awk. > >> >make >> .... >> ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_eigen.c >> mlgsl_eigen.c: In function 'ml_gsl_eigen_nonsymm_alloc': >> mlgsl_eigen.c:152: error: 'gsl_eigen_nonsymm_workspace' undeclared >> (first use in this function) > > that's because your version of GSL is too old: ocamlgsl 0.6.0 requires GSL 1.9. > Either upgrade your GSL or use a previous version of ocamlgsl. > > Btw I'm pretty sure Debian has a package for ocamlgsl ... > Debian has ocamlgsl 0.6.0, and it build-depends on gawk (and libgsl0) Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, ocaml-nox (>= 3.10.0-9), ocaml-findlib (>= 1.1.2pl1-4), libgsl0-dev, chrpath, gawk, dpkg-dev (>= 1.13.19), camlp4 (>= 3.10.0) http://packages.qa.debian.org/o/ocamlgsl.html http://buildd.debian.org/pkg.cgi?pkg=ocamlgsl (libgsl0 is 1.9) Ubuntu people can take a look at build log, if they want to see everything which is require to build ocamlgsl (using ocaml 3.10.0) Regards, Sylvain Le Gall