From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Matt Gushee <matt@gushee.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlnet -without-core
Date: Mon, 21 Apr 2008 12:21:12 +0200 [thread overview]
Message-ID: <1208773272.5160.0.camel@flake.lan.gerd-stolpmann.de> (raw)
In-Reply-To: <480BDD1C.6030304@gushee.net>
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
------------------------------------------------------------
prev parent reply other threads:[~2008-04-21 10:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-21 0:17 Matt Gushee
2008-04-21 10:21 ` Gerd Stolpmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208773272.5160.0.camel@flake.lan.gerd-stolpmann.de \
--to=info@gerd-stolpmann.de \
--cc=caml-list@inria.fr \
--cc=matt@gushee.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).