[Haskell-cafe] Re: [darcs-users] Poll: Do you need to be able to
build darcs from source on GHC 6.6?
Don Stewart
dons at galois.com
Thu Oct 30 18:08:29 EDT 2008
dagit:
> On Thu, Oct 30, 2008 at 1:20 PM, Juliusz Chroboczek
> <Juliusz.Chroboczek at pps.jussieu.fr> wrote:
> >> I wanted to know if anyone who is using distros with 6.6 need to be
> >> able to build current releases of darcs from source.
> >
> > If there turns out to be a significant issue with Darcs 1, I need to be
> > able to build a recent version of Darcs in my Debian stable chroot.
>
> I see. If you're using the darcs 1 binary I would encourage you to
> upgrade. If you meant darcs 1 repository format then I would
> encourage you to consider darcs 1 hashed repository format. You don't
> even have to upgrade the public facing repo. Just 'darcs get --hashed
> ...'.
>
> > The alternative is to build a static version of Darcs that I can install on
> > my stable (soon to be oldstable) servers. Last time I checked, building
> > static Darcs didn't work.
>
> Interesting. Yes, building darcs statically is something we should
> probably do on the build bots.
Statically linked darcs should be trivial with the cabal version.
Let's see:
$ cabal build --ghc-options='-optl-static -lcurl -lssl -lcrypto'
Done.
$ ldd dist/build/darcs/darcs
not a dynamic executable
Easy.
More information about the Haskell-Cafe
mailing list