[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] Can not build indent-2.2.7 with --disable-nls
From: |
Vin Shelton |
Subject: |
[Bug-indent] Can not build indent-2.2.7 with --disable-nls |
Date: |
24 Dec 2001 14:46:35 -0500 |
When I attempt to configure --disable-nls and then build, I get the
following error:
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/opt/build/indent-2.2.7'
Making all in intl
make[2]: Entering directory `/opt/build/indent-2.2.7/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/build/indent-2.2.7/intl'
Making all in src
make[2]: Entering directory `/opt/build/indent-2.2.7/src'
source='../../../src/indent-2.2.7/src/args.c' object='args.o' libtool=no \
depfile='.deps/args.Po' tmpdepfile='.deps/args.TPo' \
depmode=gcc /bin/sh ../../../src/indent-2.2.7/config/depcomp \
gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I.
-I../../../src/indent-2.2.7/src -I.. -I. -I../../../src/indent-2.2.7/src -I..
-I../intl -I../../../src/indent-2.2.7/intl -g -O2 -c `test -f
../../../src/indent-2.2.7/src/args.c || echo
'../../../src/indent-2.2.7/src/'`../../../src/indent-2.2.7/src/args.c
In file included from ../../../src/indent-2.2.7/src/args.c:26:
../../../src/indent-2.2.7/src/indent.h:27: intl/libgettext.h: No such file or
directory
make[2]: *** [args.o] Error 1
make[2]: Leaving directory `/opt/build/indent-2.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/build/indent-2.2.7'
make: *** [all] Error 2
I commented out the inclusion of intl/libgettext.h and successfully
built the package, although a number of warnings were detected during
compilation:
../../../src/indent-2.2.7/src/args.c:885: warning: passing arg 1 of `message'
makes pointer from integer without a cast
../../../src/indent-2.2.7/src/args.c:885: warning: passing arg 2 of `message'
makes pointer from integer without a cast
../../../src/indent-2.2.7/src/args.c:892: warning: passing arg 1 of `message'
makes pointer from integer without a cast
../../../src/indent-2.2.7/src/args.c:892: warning: passing arg 2 of `message'
makes pointer from integer without a cast
My guess is that these warnings are due to attempting to build without
nls support.
HTH,
- vin shelton
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-indent] Can not build indent-2.2.7 with --disable-nls,
Vin Shelton <=