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=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id B7201BBC1 for ; Mon, 21 Apr 2008 12:20:30 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAGoHDEjAXQIm/2dsb2JhbACBUahLAQ X-IronPort-AV: E=Sophos;i="4.25,689,1199660400"; d="scan'208";a="25262874" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 21 Apr 2008 12:20:15 +0200 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m3LAKAM4001237 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 21 Apr 2008 12:20:15 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkAAHoGDEjU4368mmdsb2JhbACBUZAJAQEBAQEIBQkHFpgIAQ X-IronPort-AV: E=Sophos;i="4.25,689,1199660400"; d="scan'208";a="11188435" Received: from moutng.kundenserver.de ([212.227.126.188]) by mail1-smtp-roc.national.inria.fr with ESMTP; 21 Apr 2008 12:20:10 +0200 Received: from gate.lan.gerd-stolpmann.de (dslb-084-059-124-237.pools.arcor-ip.net [84.59.124.237]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1Jnt833ctF-0003uA; Mon, 21 Apr 2008 12:20:09 +0200 Received: from [192.168.0.32] (fw.lan.gerd-stolpmann.de [192.168.1.1]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id 468DBC074; Mon, 21 Apr 2008 12:20:07 +0200 (CEST) Subject: Re: [Caml-list] ocamlnet -without-core From: Gerd Stolpmann To: Matt Gushee Cc: caml-list@inria.fr In-Reply-To: <480BDD1C.6030304@gushee.net> References: <480BDD1C.6030304@gushee.net> Content-Type: text/plain Date: Mon, 21 Apr 2008 12:21:12 +0200 Message-Id: <1208773272.5160.0.camel@flake.lan.gerd-stolpmann.de> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX188x7WsWifsWfDMLjJeahbMakvglaObU6paM+h WurLWDNTQoa9KYHfBz0LIKxxsKJHXPNOwLcdkw/JmC8/NztF7Q 4G8PAfAERyGCYDphz2XhYfxaIF3MMCi X-Miltered: at discorde with ID 480C6A5A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlnet:01 gerd:01 stolpmann:01 gerd:01 ocamlnet:01 dependencies:01 minimalist:01 ocamlfind:01 install':01 makefile:01 ocamlnet-:01 usr:01 usr:01 -package:01 netstring:01 Matt, sorry for that, but it is -disable-core, not -without-core. It is wrong in the README. Gerd Am Sonntag, den 20.04.2008, 18:17 -0600 schrieb Matt Gushee: > Hi, all-- > > I am attempting to package Ocamlnet for Arch Linux; in the README, Gerd > suggests splitting the package into several parts--core and various > add-ons--to keep dependencies sane. Sounds good to me, and I'm trying to > do it that way. So I have built and installed the core, and am now > working on the SSL component. However, even though I use the > -without-core option as recommended, the entire core still seems to get > built (and installed). The following is my build function. Arch is a > rather minimalist distribution so, although the package builder does a > few things before and after the build, I'm pretty sure it doesn't > intervene in the build process itself--so my script should be doing > exactly the same as if I executed the commands manually. The patch is > just a very simple tweak to add a $(OCAMLFIND_INSTFLAGS) argument to the > 'ocamlfind install' command in Makefile.rules. > > > build() { > cd "$srcdir/ocamlnet-$pkgver" > > patch -p1 <../ocamlnet-install.patch > > ./configure -without-core -enable-ssl -bindir /usr/bin -datadir > /usr/share/ocamlnet > > make all > INC_NETSYS="-package netsys" \ > INC_NETSTRING="-package netstring" \ > INC_EQUEUE="-package equeue" \ > INC_NETCGI1="-package netcgi1" \ > INC_NETCGI2="-package netcgi2" \ > INC_NETPLEX="-package netplex" \ > INC_RPC="-package rpc" \ > INC_SHELL="-package shell" \ > || return 1 > make opt > INC_NETSYS="-package netsys" \ > INC_NETSTRING="-package netstring" \ > INC_EQUEUE="-package equeue" \ > INC_NETCGI1="-package netcgi1" \ > INC_NETCGI2="-package netcgi2" \ > INC_NETPLEX="-package netplex" \ > INC_RPC="-package rpc" \ > INC_SHELL="-package shell" \ > || return 1 > > mkdir -p $pkgdir/usr/lib/ocaml/site-lib/stublibs > make DESTDIR=$pkgdir \ > OCAMLFIND_INSTFLAGS="-destdir $pkgdir/usr/lib/ocaml/site-lib > -ldconf ignore" \ > install > } > > > So, am I doing something wrong? > -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------