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

YunQiang Su wzssyqa at gmail.com
Tue Apr 3 09:49:46 UTC 2012


The 0.3.3-2 failed due to not all source files include config.h.

New version 0.3.3-3 uploaded, and patch to
src/porting_layer/include/sys/plat_posix.h
It seems that all source files include it (directly or indirectly).

On Sun, Apr 1, 2012 at 2:37 PM, Aron Xu <happyaron.xu at gmail.com> wrote:
> 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
> limitations.
>
> /bin/bash ../libtool --tag=CC   --mode=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 -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
>
> --
> Regards,
> Aron Xu
>
>
>
> _______________________________________________
> Pkg-ime-devel mailing list
> Pkg-ime-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ime-devel



-- 
YunQiang Su





More information about the Pkg-ime-devel mailing list