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.3 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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id B750FBBC1 for ; Mon, 21 Apr 2008 02:17:38 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAOh5C0jAXQIn/2dsb2JhbACpDg X-IronPort-AV: E=Sophos;i="4.25,687,1199660400"; d="scan'208";a="9812932" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 21 Apr 2008 02:17:38 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m3L0HbCt000963 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 21 Apr 2008 02:17:38 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4AAL55C0jY8SQMlWdsb2JhbACRWAEBAQEJBQcJlxE X-IronPort-AV: E=Sophos;i="4.25,687,1199660400"; d="scan'208";a="25240794" Received: from mzpi3.forethought.net ([216.241.36.12]) by mail4-smtp-sop.national.inria.fr with ESMTP; 21 Apr 2008 02:17:37 +0200 Received: from [216.241.35.41] (helo=[10.0.0.2]) by mz1.forethought.net with esmtp (Exim 4.69) (envelope-from ) id 1Jnjix-0007YK-AH for caml-list@inria.fr; Sun, 20 Apr 2008 18:17:35 -0600 Message-ID: <480BDD1C.6030304@gushee.net> Date: Sun, 20 Apr 2008 18:17:32 -0600 From: Matt Gushee User-Agent: Thunderbird 2.0.0.12 (X11/20080228) MIME-Version: 1.0 To: caml-list@inria.fr Subject: ocamlnet -without-core Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 480BDD21.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlnet:01 ocamlnet:01 gerd:01 dependencies:01 minimalist:01 ocamlfind:01 install':01 makefile:01 ocamlnet-:01 usr:01 usr:01 -package:01 netstring:01 -package:01 netstring:01 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? -- Matt Gushee : Bantam - lightweight file manager : matt.gushee.net/software/bantam/ : : RASCL's A Simple Configuration Language : matt.gushee.net/rascl/ :