After updating from 9.0 to 9.1 I ran into the very common issue that gettext compilation fails with locale_t being undeclared. The problems I encounter are very well described in that blogpost:
http://rax.org/blog/FreeBSD/gettext.html
So I have rebuilt libiconv, and as gettext fails, I'm trying to rebuildworld as mentioned, which stops at:
locale:
http://rax.org/blog/FreeBSD/gettext.html
So I have rebuilt libiconv, and as gettext fails, I'm trying to rebuildworld as mentioned, which stops at:
Code:
/usr/src/lib/libc/gen/glob.c: In function 'match':
/usr/src/lib/libc/gen/glob.c:818: warning: implicit declaration of function '__get_locale'
/usr/src/lib/libc/gen/glob.c:818: error: invalid type argument of '->'
/usr/src/lib/libc/gen/glob.c:818: error: 'XLC_COLLATE' undeclared (first use in this function)
/usr/src/lib/libc/gen/glob.c:818: error: (Each undeclared identifier is reported only once
/usr/src/lib/libc/gen/glob.c:818: error: for each function it appears in.)
/usr/src/lib/libc/gen/glob.c:843: error: dereferencing pointer to incomplete type
/usr/src/lib/libc/gen/glob.c:845: warning: passing argument 1 of '__collate_range_cmp' makes integer from pointer without a cast
/usr/src/lib/libc/gen/glob.c:845: error: too many arguments to function '__collate_range_cmp'
/usr/src/lib/libc/gen/glob.c:846: warning: passing argument 1 of '__collate_range_cmp' makes integer from pointer without a cast
/usr/src/lib/libc/gen/glob.c:846: error: too many arguments to function '__collate_range_cmp'
locale:
Code:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE=C
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=