tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wchar.h vs. gettext-lib on AIX
Hi,
On AIX, pkgsrc-2019Q3. PKGSRC_COMPILER=gcc (8.3.0)
I'm having a configure problem with gettext-lib...
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether <wchar.h> uses 'inline' correctly... no
configure: error: <wchar.h> cannot be used with this compiler (cc
-I/usr/include -I/usr/include -D_THREAD_SAFE).
This is a known interoperability problem of glibc <= 2.5 with gcc >=
4.3 in
C99 mode. You have four options:
- Add the flag -fgnu89-inline to CC and reconfigure, or
- Fix your include files, using parts of
<https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>,
or
- Use a gcc version older than 4.3, or
- Don't use the flags -std=c99 or -std=gnu99.
Configuration aborted.
configure: error: ./configure failed for gettext-runtime
*** Error code 1
Stop.
bmake[1]: stopped in /opt/pkgsrc/devel/gettext-lib
*** Error code 1
Stop.
So I added "USE_BUILTIN.gettext=yes" to mk.conf. Now it skips the
gettext-lib package, but now gets stuck the same way (in
gettext-runtime) for gettext-tools. What can be done?
Any help would be great. Thanks!
--
Louis
Home |
Main Index |
Thread Index |
Old Index