[Nix-dev] Git doesn't build in trunk nix-pkgs

Eelco Dolstra e.dolstra at tudelft.nl
Fri Nov 14 12:49:12 CET 2008


Hi,

Jeevakan Suresh wrote:

> Git fails to build when attempting to derive w3m-0.5.2
> 
> The error message is shown below.
> 
> checking /nix/store/217dx7nxn45akmh64draq6apjrwcrdy1-boehm-gc-7.1...
> checking for GC_init in -lgc... no
> configure: error: libgc not found
> 
> However, I did a bit of poking around, and the real issue seems to be a
> broken configure script, which sometimes checks for libraries in
> /usr/lib.
> 
> I fixed it by patching the configure script to *never* check for files
> in /usr/lib. There is probably a more general solution - but I don't
> have time or the autotools knowledge to pursue it.

I've committed a different fix (r13290) which does a generic replacement of /usr
to /no-such-path in the configure script.  Could you try if that works for you?

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list