fixing libtool script ./config/ltmain.sh configure flags: --prefix=/nix/store/j23mjgssnslcibdnwsr3pbw856y4bg6z-nix --with-store-dir=/nix/store --localstatedir=/nix/var --disable-init-state --disable-shared --with-bzip2=/nix/store/p9kr8fj9p6mw8ys6ppg6xs2s2v19722p-bzip2-1.0.3 --with-aterm=/nix/store/bfk83q4w0hfy0zs3jnrgk6s57r2brk6s-aterm-2.4.2 --with-bdb=/nix/store/zqyvqyng77pq900mwn18hyp8z7hyrx2d-db4-4.4.20 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for the canonical Nix system name... i686-cygwin checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld checking if the linker (/nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld) is GNU ld... yes checking for /nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ^x86 archive import|^x86 DLL checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... no checking whether g77 accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld checking if the linker (/nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld) is GNU ld... yes checking whether the g++ linker (/nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for g77 option to produce PIC... checking if g77 static flag -static works... no checking if g77 supports -c -o file.o... no checking whether the g77 linker (/nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... /nix/store/fyh2amz6zrmgjjpr0vldyaf68rm4gsga-gcc-native/bin/g77: line 129: /usr/bin/g77: No such file or directory Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for pubsetbuf... yes checking locale usability... yes checking locale presence... yes checking for locale... yes checking for curl... /usr/local/bin/curl checking for sh... /usr/bin/sh checking for patch... /usr/local/bin/patch checking for xmllint... /usr/bin/xmllint checking for xsltproc... false checking for jing... false checking for w3m... false checking for flex... false checking for bison... false checking for perl... /nix/store/v49l5fi5zsw31bsqwbjhzajywmvgwndi-perl/bin/perl checking for tar... /usr/bin/tar checking for dot... no checking for cat... /usr/bin/cat checking for pthread_mutex_init in -lpthread... yes checking for setresuid... no configure: creating ./config.status config.status: creating Makefile config.status: creating externals/Makefile config.status: creating src/Makefile config.status: creating src/bin2c/Makefile config.status: creating src/boost/Makefile config.status: creating src/boost/format/Makefile config.status: creating src/libutil/Makefile config.status: creating src/libstore/Makefile config.status: creating src/libmain/Makefile config.status: creating src/nix-store/Makefile config.status: creating src/nix-hash/Makefile config.status: creating src/libexpr/Makefile config.status: creating src/nix-instantiate/Makefile config.status: creating src/nix-env/Makefile config.status: creating src/nix-log2xml/Makefile config.status: creating src/bsdiff-4.3/Makefile config.status: creating scripts/Makefile config.status: creating corepkgs/Makefile config.status: creating corepkgs/nar/Makefile config.status: creating corepkgs/buildenv/Makefile config.status: creating corepkgs/channels/Makefile config.status: creating doc/Makefile config.status: creating doc/manual/Makefile config.status: creating misc/Makefile config.status: creating misc/emacs/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands