[Nix-dev] Cannot compile nix with --with-bzip2

Ilja Honkonen ilja.honkonen at helsinki.fi
Mon Mar 12 10:42:29 CET 2012


Hello

When compiling nix (from svn today) with --with-bzip2 I get:
...
make[3]: Leaving directory `/home/ilja/nix-2012-03-12/src/nix-worker'
Making all in nix-setuid-helper
make[3]: Entering directory 
`/home/ilja/nix-2012-03-12/src/nix-setuid-helper'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ilja/nix-2012-03-12/src/nix-setuid-helper'
Making all in nix-log2xml
make[3]: Entering directory `/home/ilja/nix-2012-03-12/src/nix-log2xml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ilja/nix-2012-03-12/src/nix-log2xml'
Making all in bsdiff-4.3
make[3]: Entering directory `/home/ilja/nix-2012-03-12/src/bsdiff-4.3'
/bin/sh ../../libtool --tag=CC   --mode=link gcc -O3 -Iyes/include  -g 
-O2   -o bsdiff bsdiff.o -Lyes/lib -lbz2
../../libtool: line 5324: cd: yes/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `yes/lib'
make[3]: *** [bsdiff] Error 1
make[3]: Leaving directory `/home/ilja/nix-2012-03-12/src/bsdiff-4.3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ilja/nix-2012-03-12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ilja/nix-2012-03-12'
make: *** [all] Error 2

Compilation succeeds if I don't use --with-bzip2 and download the 
required tarball to externals.

My system is close to http://www.linuxfromscratch.org/lfs/view/6.7/ + 
http://www.linuxfromscratch.org/blfs/view/svn/index.html

Ilja


More information about the nix-dev mailing list