ports/170760: textproc/hunspell: fails to detect /usr/local/include/libintl.h
Kazuo Dohzono
dohzono at hf.rim.or.jp
Sat Aug 18 23:30:09 UTC 2012
>Number: 170760
>Category: ports
>Synopsis: textproc/hunspell: fails to detect /usr/local/include/libintl.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 18 23:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Kazuo Dohzono
>Release: 8.3-RELEASE-p4
>Organization:
>Environment:
FreeBSD dohzono 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #0: Wed Aug 8 01:39:30 JST 2012 dohzono at dohzono:/usr/local/tmp/obj/usr/src/sys/GENERIC i386
>Description:
This is a log from www/libxul building-chain.
> ===> Building for hunspell-1.3.2_1
> /bin/sh ./config.status --recheck
> running CONFIG_SHELL=/bin/sh /bin/sh ./configure --enable-optimize=-O3 CXX=c++ CXXFLAGS=-O2 -pipe -fno-strict-aliasing LDFLAGS= -rpath=/usr/lib:/usr/local/lib CPPFLAGS= CC=cc CFLAGS=-O2 -pipe -fno-strict-aliasing CPP=cpp --no-create --no-recursion
(snip)
> checking libintl.h usability... no
> checking libintl.h presence... no
> checking for libintl.h... no
(snip)
> c++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers -D_THREAD_SAFE -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT hunspell.o -MD -MP -MF .deps/hunspell.Tpo -c -o hunspell.o hunspell.cxx
> hunspell.cxx:104:36: error: ../../intl/libintl.h: No such file or directory
> hunspell.cxx: In function 'char* chenc(char*, const char*, const char*)':
> hunspell.cxx:200: error: 'gettext' was not declared in this scope
(snip)
I have libintl.h in /usr/local/include, and configure fails to find it.
> $ echo /var/db/pkg/gettext*
> /var/db/pkg/gettext-0.18.1.1
> $ ls -l /usr/local/include/libintl.h
> -r--r--r-- 1 root wheel 16647 Apr 22 13:05 /usr/local/include/libintl.h
> $
> grep libintl config.log
(snip)
> ac_cv_header_libintl_h=no
> gt_cv_func_gnugettext1_libintl=yes
(snip)
>How-To-Repeat:
# cd /usr/ports/www/libxul
# make CONFIGURE_ARGS=--enable-optimize=-O3
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list