cadaver on netbsd

Pierre-Philipp Braun pbraun at nethence.com
Sun Sep 26 08:35:21 EDT 2010


Hi,

cadaver compiles fine on RHEL5, but not on NetBSD,

# make
gcc -DHAVE_CONFIG_H -I. -I./lib  -I/usr/include/krb5 
-DXML_BYTE_ORDER=12 -DXML_DTD -I./lib/expat/xmlparse 
-I./lib/expat/xmltok -I./lib/intl 
-DLOCALEDIR=\"/usr/local/share/locale\" -I./src -g -O2 -I./lib/neon -o 
src/cadaver.o -c src/cadaver.c
src/cadaver.c: In function 'main':
src/cadaver.c:859: error: 'LC_ALL' undeclared (first use in this function)
src/cadaver.c:859: error: (Each undeclared identifier is reported only once
src/cadaver.c:859: error: for each function it appears in.)
*** Error code 1

Stop.
make: stopped in /root/tp/cadaver-0.23.3
bsd# export LC_ALL=C
bsd# make
gcc -DHAVE_CONFIG_H -I. -I./lib  -I/usr/include/krb5 
-DXML_BYTE_ORDER=12 -DXML_DTD -I./lib/expat/xmlparse 
-I./lib/expat/xmltok -I./lib/intl 
-DLOCALEDIR=\"/usr/local/share/locale\" -I./src -g -O2 -I./lib/neon -o 
src/cadaver.o -c src/cadaver.c
src/cadaver.c: In function 'main':
src/cadaver.c:859: error: 'LC_ALL' undeclared (first use in this function)
src/cadaver.c:859: error: (Each undeclared identifier is reported only once
src/cadaver.c:859: error: for each function it appears in.)
*** Error code 1

Stop.
make: stopped in /root/tp/cadaver-0.23.3


(same with gmake)


Am I missing something is it something to fix ?  NetBSD (using current 
here) has locale.h,

# grep LC_ALL /usr/include/locale.h
#define LC_ALL          0


Thanks
//Pierre-Philipp





More information about the cadaver mailing list