[Pkg-ime-devel] Bug#666706: libchewing: FTBFS on hurd-i386: PATH_MAX undeclared

Aron Xu happyaron.xu at gmail.com
Sun Apr 1 06:37:56 UTC 2012

Package: libchewing
Version: 0.3.3-1

libchewing fails to build on Hurd.

There is no PATH_MAX in Hurd, because Hurd doesn't impose path length

/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -I../include -I../include/internal
-DCHEWING_DATADIR=\"/usr/share/libchewing3/chewing\"    -g -O2
-fvisibility=hidden -c -o char.lo char.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/internal -I../src/porting_layer/include
-DCHEWING_DATADIR=\"/usr/share/libchewing3/chewing\" -g -O2
-fvisibility=hidden -c char.c  -fPIC -DPIC -o .libs/char.o
char.c: In function 'InitChar':
char.c:84:17: error: 'PATH_MAX' undeclared (first use in this function)
char.c:84:17: note: each undeclared identifier is reported only once
for each function it appears in
make[3]: *** [char.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Aron Xu

More information about the Pkg-ime-devel mailing list