Hi, On 12/06/14 03:30, Mateusz Kowalczyk wrote:
> * Download the zip of the repository. It's better to download a source tarball: http://nixos.org/releases/nix/nix-1.7/nix-1.7.tar.xz This contains the configure script. > * Try to run configure as per instructions, file doesn't exist[1]. The manual does say that you need to run "./bootstrap.sh" when building from Git. > LD src/nix-hash/nix-hash > /usr/bin/ld: src/nix-hash/nix-hash: undefined reference to symbol > 'pthread_cancel@@GLIBC_2.2.5' > /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO > /lib64/libpthread.so.0 so try adding it to the linker command line > /lib64/libpthread.so.0: could not read symbols: Invalid operation > collect2: ld returned 1 exit status This is strange because Nix doesn't use pthreads (yet...). > I don't know how to hack it further to make it work. I tried setting > LDFLAGS="-lpthread $LDFLAGS" in configure.ac and it gets propagated to > configure file but it seems to make no difference. Running > ‘LDFLAGS=-lpthread make’ similarly seems to have no effect. Try adding GLOBAL_LDFLAGS += -lpthread to Makefile. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
