From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 5AA90BBAF for ; Thu, 1 Jul 2010 14:41:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqMCAEMpLEzU4366k2dsb2JhbACDHI9hjGkVAQEBAQkJCgkRAx+sc5ETAoEogwlyBA X-IronPort-AV: E=Sophos;i="4.53,520,1272837600"; d="scan'208";a="53474539" Received: from moutng.kundenserver.de ([212.227.126.186]) by mail3-smtp-sop.national.inria.fr with ESMTP; 01 Jul 2010 14:41:16 +0200 Received: from office1.lan.sumadev.de (dslb-084-059-068-185.pools.arcor-ip.net [84.59.68.185]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MV0vp-1Oeaak3D1Z-00Z6kq; Thu, 01 Jul 2010 14:41:15 +0200 Received: from [192.168.5.106] (dslb-084-059-068-185.pools.arcor-ip.net [84.59.68.185]) by office1.lan.sumadev.de (Postfix) with ESMTPA id 7DE1D5F701; Thu, 1 Jul 2010 14:41:15 +0200 (CEST) Subject: Re: [Caml-list] Problems with Godi and Expat under Lucid Lynx From: Gerd Stolpmann To: Till Crueger Cc: "caml-list@yquem.inria.fr" In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 01 Jul 2010 14:41:14 +0200 Message-ID: <1277988074.23495.220.camel@thinkpad> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+P0ZK9UAcVl3ONPnYu/f5uCTGVz9rYQN/DnFW x7qPOYe73dq1kAYjp4YIRU43dcxQGvR4H0CuFlZWMOEXmh36PD txsKCBTQ66ORw5UbZud0A== X-Spam: no; 0.00; gerd:01 stolpmann:01 gerd:01 donnerstag:01 non-zero:01 usr:01 lib:01 lib:01 usr:01 libdir:01 ocaml:01 ocaml:01 parser:01 parser:01 beginner's:01 Should also be fixed now in conf-expat. Gerd Am Donnerstag, den 01.07.2010, 11:34 +0200 schrieb Till Crueger: > Hi, > > I am trying to rebuild ocaml-expat in Godi after upgrading to Lucid Lynx > and have encountered some problems. The build process in the Godi console > fails with the message: > > > ===> expat not found > > Consider adding GODI_BASEPKG_EXPAT=yes to godi.conf > > Error: Exec error: File > > /opt/godi/build/conf/conf-expat/./../../mk/bsd.pkg.mk, line 1022: > > Command returned with non-zero exit code > > I hade some look at the problem and found the following. The configure > script from godi is trying to compile a small c-program to test for the > existing of libexpat. The program compiles fine and even runs, when I > execute it directly. However the directories do not match the patterns > desired by the configure script. > > All development files are laid out in the following way under Lucid Lynx: > > Headers of expat in: > /usr/lib/expat.h > > Libraries: > /lib/libexpat.so.1.5.2 > /lib/libexpat.so.1 -> /lib/libexpat.so.1.5.2 > /usr/lib/libexpat.a > /usr/lib/libexpat.so -> /lib/libexpat.so.1.5.2 > > running ldd on the binary tells me, that the libexpat.so.1 from the > directory /lib is used in this program. The script however expects the > libdir to be /usr/lib (which would work with one of the links). Because of > this mismatche it keeps on trying other directories and eventually fails. > > Any ideas on how to work around this in a simple way? Right now my > solution will probably be to install an aditional copy of libexpat under > /opt and use that one for ocaml. However I don't really want to keep > duplicate packages around all the time, just to make it work. > > > On the other hand I am not really happy with the way the expat binding > works in Ocaml, so I might just switch to another XML parser for my code > soon. Any good suggestions for a simple to use XML parser library for > OCaml? > > Thanks, > Till > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- ------------------------------------------------------------ Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------