[darcs-users] building a static darcs binary from HEAD

Trent W. Buck trentbuck at gmail.com
Sun Mar 28 12:02:16 UTC 2010


Guillaume Hoffmann <guillaumh at gmail.com> writes:

> I also have it, yet linking fails.

I can reproduce this on Debian Sid, with a local build of hashed-storage
0.4.10 (everything else is stock Sid packages):

    # runghc Setup configure -fstatic
    [...]
    # runghc Setup build
    [...]
    [139 of 139] Compiling Main ( src/darcs.hs, dist/build/darcs/darcs-tmp/Main.o )
    Linking dist/build/darcs/darcs ...
    /usr/bin/ld: cannot find -licuuc
    collect2: ld returned 1 exit status

    # COLUMNS=60 dpkg -l libicu-dev | cat
    [...]
    ||/ Name           Version        Description
    +++-==============-==============-============================================
    ii  libicu-dev     4.2.1-3        Development files for International Componen

If memory serves, static linking requires a .ar, and libicu-dev contains
only .so files.  No package in Debian provides an icu.ar file:

    $ apt-file search -x icu.*\\.ar$
    $



More information about the darcs-users mailing list