bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep-2.5 and grep-2.5.1 disable-nls problem


From: Warren L Dodge
Subject: grep-2.5 and grep-2.5.1 disable-nls problem
Date: Thu, 4 Dec 2003 11:53:39 -0800 (PST)

I am configuring grep as follows

../grep-2.5.1/configure --prefix=/proj/wdt/gnu_$ARCH/grep-2.5.1 --disable-nls


As it compiles the error shown below occurs. Without the --disable-nls it
compiles fine.

This is on solaris 2.5.1
I have not loaded libiconv or gettext. Only the system versions are there.
Only gnu make and sed have been installed.

So it appears that --disable-nls is not turning something off that it should.

But I may not understand the whole thing either.


make[2]: Entering directory 
`/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src'
gcc -DHAVE_CONFIG_H -I. -I../../grep-2.5.1/src -I.. -I../intl 
-I../../grep-2.5.1/lib 
-DLOCALEDIR=\"/proj/wdt/gnu_sun5.1/grep-2.5.1/share/locale\"    -g -O2 -c `test 
-f ../../grep-2.5.1/src/grep.c || echo 
'../../grep-2.5.1/src/'`../../grep-2.5.1/src/grep.c
gcc -DHAVE_CONFIG_H -I. -I../../grep-2.5.1/src -I.. -I../intl 
-I../../grep-2.5.1/lib 
-DLOCALEDIR=\"/proj/wdt/gnu_sun5.1/grep-2.5.1/share/locale\"    -g -O2 -c `test 
-f ../../grep-2.5.1/src/dfa.c || echo 
'../../grep-2.5.1/src/'`../../grep-2.5.1/src/dfa.c
gcc -DHAVE_CONFIG_H -I. -I../../grep-2.5.1/src -I.. -I../intl 
-I../../grep-2.5.1/lib 
-DLOCALEDIR=\"/proj/wdt/gnu_sun5.1/grep-2.5.1/share/locale\"    -g -O2 -c `test 
-f ../../grep-2.5.1/src/kwset.c || echo 
'../../grep-2.5.1/src/'`../../grep-2.5.1/src/kwset.c
gcc -DHAVE_CONFIG_H -I. -I../../grep-2.5.1/src -I.. -I../intl 
-I../../grep-2.5.1/lib 
-DLOCALEDIR=\"/proj/wdt/gnu_sun5.1/grep-2.5.1/share/locale\"    -g -O2 -c `test 
-f ../../grep-2.5.1/src/search.c || echo 
'../../grep-2.5.1/src/'`../../grep-2.5.1/src/search.c
gcc -DHAVE_CONFIG_H -I. -I../../grep-2.5.1/src -I.. -I../intl 
-I../../grep-2.5.1/lib 
-DLOCALEDIR=\"/proj/wdt/gnu_sun5.1/grep-2.5.1/share/locale\"    -g -O2 -c `test 
-f ../../grep-2.5.1/src/grepmat.c || echo 
'../../grep-2.5.1/src/'`../../grep-2.5.1/src/grepmat.c
gcc  -g -O2   -o grep  grep.o dfa.o kwset.o search.o grepmat.o 
../lib/libgreputils.a 
dfa.o: In function `xcalloc':
/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src/../../grep-2.5.1/src/dfa.c:136:
 undefined reference to `gettext'
dfa.o: In function `xmalloc':
/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src/../../grep-2.5.1/src/dfa.c:147:
 undefined reference to `gettext'
dfa.o: In function `xrealloc':
/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src/../../grep-2.5.1/src/dfa.c:158:
 undefined reference to `gettext'
dfa.o: In function `lex':
/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src/../../grep-2.5.1/src/dfa.c:741:
 undefined reference to `gettext'
/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src/../../grep-2.5.1/src/dfa.c:1063:
 undefined reference to `gettext'
dfa.o:/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src/../../grep-2.5.1/src/dfa.c:1063:
 more undefined references to `gettext' follow
collect2: ld returned 1 exit status
make[2]: *** [grep] Error 1
make[2]: Leaving directory 
`/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/proj/wdtold/warrend/gnusrc/200070-grep-2.5.1/grep-2.5.1_sun5.1'
make: *** [all] Error 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]