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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C95BFBB83 for ; Tue, 25 Apr 2006 02:44:47 +0200 (CEST) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k3P0ilwc030461 for ; Tue, 25 Apr 2006 02:44:47 +0200 Received: from detritus.baronie.vez (lns-bzn-40-82-251-146-201.adsl.proxad.net [82.251.146.201]) by smtp6-g19.free.fr (Postfix) with ESMTP id 3EDDF1D3B3 for ; Tue, 25 Apr 2006 02:44:47 +0200 (CEST) Date: Tue, 25 Apr 2006 02:45:41 +0200 From: Nicolas FRANCOIS To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Lablgtkmathview installation : findlib problem ? Message-ID: <20060425024541.3394fca2@detritus.baronie.vez> In-Reply-To: <20060422224312.0df8dfd6@detritus.baronie.vez> References: <20060422224312.0df8dfd6@detritus.baronie.vez> X-Mailer: Sylpheed-Claws 1.9.15 (GTK+ 2.6.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 444D70FF.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; findlib:01 widget:01 gtkmathview:01 gmetadom:01 findlib:01 lablgtk:01 usr:01 lib:01 ocaml:01 site-lib:01 lablgtk:01 usr:01 lib:01 ocaml:01 site-lib: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.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Le Sat, 22 Apr 2006 22:43:12 +0200 Nicolas FRANCOIS a écrit : > I'd like to install lablgtkmathview, a wrapper for the widget > gtkmathview. Problem is : it needs gmetadom, qhich works with findlib. I > have some difficulties to work out how findlib works. > > I tried to install lablgtk2 with the option > --withdir=/usr/lib/ocaml/site-lib/, but now I can't compile > lablgtkmathview. Anyway I try it, I can't mix packages using findlib and > packages not using it. > > How do you fix those problems yourself ? I finally fixed the problem on my own. I had to do several odd things, not described in the installation doccumentation :-( 1- for lablgtk2 : create a /usr/lib/ocaml/site-lib/lablgtk2 directory, and put the META file provided inside. 2- for gmetadom2 : add to the META file provided directory="+gdome2" for it to be correctly used by lablgtkmathview 3- the oddest thing : the mlvalues.h file was to be searched by the configure script of lablgtkmathview in /usr/include/caml, so I had to create a symlink from /usr/include/caml to /usr/lib/ocaml/caml. Maybe I didn't read the right manuals, but isn't it a bit strange ? My Ocaml installation was correct, I thought ! \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr A TRUE Klingon programmer does NOT comment his code