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=AWL,RCVD_NUMERIC_HELO, UNPARSEABLE_RELAY 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 6801BBC69 for ; Mon, 12 Nov 2007 15:12:14 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAErtN0eK+jBTn2dsb2JhbACHLoc6IgEBAQEHBAYJCBhQPw X-IronPort-AV: E=Sophos;i="4.21,405,1188770400"; d="scan'208";a="4330480" Received: from mailgate-4.central.cranfield.ac.uk ([138.250.48.83]) by mail1-smtp-roc.national.inria.fr with ESMTP; 12 Nov 2007 15:12:14 +0100 Received: from [193.63.240.161] (helo=exchange1.cds.cranfield.ac.uk) by mailgate-4.central.cranfield.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1Ira1N-0006hk-FL for caml-list@yquem.inria.fr; Mon, 12 Nov 2007 14:12:13 +0000 Received: from 193.63.247.68 ([193.63.247.68]) by exchange1.cds.cranfield.ac.uk ([193.63.240.161]) via Exchange Front-End Server mail.cds.cranfield.ac.uk ([193.63.240.201]) with Microsoft Exchange Server HTTP-DAV ; Mon, 12 Nov 2007 14:11:49 +0000 Received: from mikhaa by mail.cds.cranfield.ac.uk; 12 Nov 2007 14:09:33 +0000 Subject: Re: [Caml-list] ocamlgsl-0.6.0. fails to compile on ubuntu From: Alex Mikhalev To: caml-list@yquem.inria.fr In-Reply-To: <95513600711120422h10090a48j839d1420e50cb4a8@mail.gmail.com> References: <1194869203.9372.12.camel@mikhaa> <95513600711120422h10090a48j839d1420e50cb4a8@mail.gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 12 Nov 2007 14:09:33 +0000 Message-Id: <1194876573.9372.15.camel@mikhaa> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Spam: no; 0.00; gsl:01 0100,:01 andrieu:01 zxvf:01 makefile:01 mingw:01 mingw:01 ocamlc:01 -dhave:01 -dhave:01 fenv:01 gsl:01 ubuntu:98 wrote:01 wrote:01 Thank you Olivier, upgrading to gsl 1.9 did the trick. Regards, Alex On Mon, 2007-11-12 at 13:22 +0100, 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 ... >