# HG changeset patch # User Rob Landley # Date 1259798627 21600 # Node ID b69d7013e16ef8938352deb96378fc0564b534d5 # Parent f1671488c740dc858241b0e682275d87c3e86982 Fix e2fsprogs on uClibc build. Bug report from Natanael Copa: Hi, When trying to './build i586' on an uclibc host I get this error: make[2]: Leaving directory `/home/ncopa/firmware/build/host-temp/e2fsprogs/lib/blkid' making all in intl make[2]: Entering directory `/home/ncopa/firmware/build/host-temp/e2fsprogs/intl' " SED libgnuintl.h " /bin/sh: SED libgnuintl.h : not found make[2]: *** [libgnuintl.h] Error 127 make[2]: Leaving directory `/home/ncopa/firmware/build/host-temp/e2fsprogs/intl' make[1]: *** [all-libs-recursive] Error 1 make[1]: Leaving directory `/home/ncopa/firmware/build/host-temp/e2fsprogs' make: *** [all] Error 2 Exiting due to errors (host host-tools e2fsprogs) Scrolling back a bit reveals this: ... checking whether NLS is requested... yes ... So it seems like autoconf fails to detect that i dont have the internationalization stuff he needs. (no surprise there...) Adding --disable-nls fixes that. diff -r f1671488c740 -r b69d7013e16e host-tools.sh --- a/host-tools.sh Tue Dec 01 19:49:23 2009 -0600 +++ b/host-tools.sh Wed Dec 02 18:03:47 2009 -0600 @@ -153,7 +153,7 @@ if [ ! -f "${STAGE_DIR}"/mke2fs ] then setupfor e2fsprogs && - ./configure --disable-tls --enable-htree && + ./configure --disable-tls --disable-nls --enable-htree && make -j "$CPUS" && cp misc/{mke2fs,tune2fs} resize/resize2fs "${STAGE_DIR}" && cp e2fsck/e2fsck "$STAGE_DIR"/fsck.ext2