fixing libtool script ./config/ltmain.sh configure flags: --prefix=/nix/store/qhs1cycz13mb2x17idxhqc5ppr4qfagx-nix --with-store-dir=/nix/store --localstatedir=/nix/var --disable-init-state --with-bzip2=/nix/store/64dzsllwj5irnmp3mwp7z1na0s30n77f-bzip2-1.0.3 --with-aterm=/nix/store/r5gis2qin2kg2vvv1haliyzayjpb68wd-aterm-2.4.2 --with-bdb=/nix/store/k7yv53k9v0rr0k7y1wv01rr1llid60zh-db4-4.4.20 checking for a BSD-compatible install... /usr/local/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking build system type... i386-unknown-freebsd4.10 checking host system type... i386-unknown-freebsd4.10 checking for the canonical Nix system name... i686-freebsd checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 gmake... GNU checking dependency style of gcc... gcc 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++... gcc 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/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld checking if the linker (/nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld) is GNU ld... yes checking for /nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-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... pass_all 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... no 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... no checking for f77... f77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 49152 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... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... freebsd4.10 ld.so 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... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld checking if the linker (/nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld) is GNU ld... yes checking whether the g++ linker (/nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd4.10 ld.so 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... yes checking whether to build static libraries... no checking for f77 option to produce PIC... -fPIC checking if f77 PIC flag -fPIC works... yes checking if f77 static flag -static works... no checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/nix/store/xg110gxnw17zyj83icngflf5z16hi0nq-gcc-native/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd4.10 ld.so checking how to hardcode library paths into programs... immediate checking for pubsetbuf... no checking locale usability... no checking locale presence... no checking for locale... no checking for curl... /usr/local/bin/curl checking for sh... //bin/sh checking for patch... /usr/bin/patch checking for xmllint... /usr/local/bin/xmllint checking for xsltproc... false checking for jing... false checking for w3m... false checking for flex... /usr/bin/flex checking for bison... /usr/local/bin/bison checking for perl... /nix/store/gabfa1vyrhivf49ma7prn381pz8gkwnb-perl/bin/perl checking for tar... /usr/bin/tar checking for dot... no checking for cat... //bin/cat checking for pthread_mutex_init in -lpthread... no checking for setresuid... yes 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