The Makefile for one of the test programs needed by "make check" in
diffutils-3.2.37-f0 is missing essential library flags that broke
the build on FreeBSD 9.0:
gcc -std=gnu99 -g -O2 -o test-sh-quote test-sh-quote.o libtests.a
../lib/libdiffutils.a libtests.a
../lib/libdiffutils.a(xalloc-die.o): In function `xalloc_die':
/local/build/bare/diffutils-3.2.37-f0b0/lib/xalloc-die.c:34: undefined
reference to `libintl_gettext'
../lib/libdiffutils.a(error.o): In function `print_errno_message':
/local/build/bare/diffutils-3.2.37-f0b0/lib/error.c:188: undefined
reference to `libintl_gettext'
../lib/libdiffutils.a(quotearg.o): In function `gettext_quote':
/local/build/bare/diffutils-3.2.37-f0b0/lib/quotearg.c:195: undefined
reference to `libintl_gettext'
I built it manually with
gcc -std=gnu99 -g -O2 -o test-sh-quote test-sh-quote.o libtests.a \
../lib/libdiffutils.a libtests.a -L/usr/local/lib -lintl
then restarted the make; all tests passed, and I've installed the new
version of diffutils.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: [email protected] -
- 155 S 1400 E RM 233 [email protected] [email protected] -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------