Can't find unicode/ustring.h in test
I get this error during compilation:
make[3]: Entering directory '/home/hacksaw/src/dovecot-2.4.4/src/lib-language' CC test-lang-icu.o In file included from test-lang-icu.c:8: lang-icu.h:4:10: fatal error: unicode/ustring.h: No such file or directory 4 | #include <unicode/ustring.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated.
I have unicode 66, at least as far as Ubuntu is concerned.
On 14/05/2026 22:20 EEST mr.thesaw--- via dovecot <dovecot@dovecot.org> wrote:
I get this error during compilation:
make[3]: Entering directory '/home/hacksaw/src/dovecot-2.4.4/src/lib-language' CC test-lang-icu.o In file included from test-lang-icu.c:8: lang-icu.h:4:10: fatal error: unicode/ustring.h: No such file or directory 4 | #include <unicode/ustring.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated.
I have unicode 66, at least as far as Ubuntu is concerned.
Do you happen to have that header too? The header is in libicu-dev.
Aki
TL;DR: Nope.
hacksaw@hacksaw:~/src/dovecot-2.4.4$ dpkg -L libicu-dev /. /usr /usr/include /usr/include/unicode /usr/include/unicode/ustdio.h /usr/include/unicode/ustream.h /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/icu /usr/lib/x86_64-linux-gnu/icu/66.1 /usr/lib/x86_64-linux-gnu/icu/66.1/Makefile.inc /usr/lib/x86_64-linux-gnu/icu/66.1/pkgdata.inc /usr/lib/x86_64-linux-gnu/libicudata.a /usr/lib/x86_64-linux-gnu/libicui18n.a /usr/lib/x86_64-linux-gnu/libicuio.a /usr/lib/x86_64-linux-gnu/libicutest.a /usr/lib/x86_64-linux-gnu/libicutu.a /usr/lib/x86_64-linux-gnu/libicuuc.a /usr/lib/x86_64-linux-gnu/pkgconfig /usr/lib/x86_64-linux-gnu/pkgconfig/icu-i18n.pc /usr/lib/x86_64-linux-gnu/pkgconfig/icu-io.pc /usr/lib/x86_64-linux-gnu/pkgconfig/icu-uc.pc /usr/share /usr/share/doc /usr/share/doc/libicu-dev /usr/share/doc/libicu-dev/copyright /usr/share/icu /usr/share/icu/66.1 /usr/share/icu/66.1/config /usr/share/icu/66.1/config/mh-linux /usr/share/icu/66.1/install-sh /usr/share/icu/66.1/mkinstalldirs /usr/lib/x86_64-linux-gnu/icu/Makefile.inc /usr/lib/x86_64-linux-gnu/icu/current /usr/lib/x86_64-linux-gnu/icu/pkgdata.inc /usr/lib/x86_64-linux-gnu/libicudata.so /usr/lib/x86_64-linux-gnu/libicui18n.so /usr/lib/x86_64-linux-gnu/libicuio.so /usr/lib/x86_64-linux-gnu/libicutest.so /usr/lib/x86_64-linux-gnu/libicutu.so /usr/lib/x86_64-linux-gnu/libicuuc.so /usr/share/doc/libicu-dev/changelog.Debian.gz
I note in the NEWS that the external ICU lib was replaced, is this a left over from the old thing?
On 14/05/2026 22:29 EEST mr.thesaw--- via dovecot <dovecot@dovecot.org> wrote:
I note in the NEWS that the external ICU lib was replaced, is this a left over from the old thing?
We'll have to check. Anyways, ubuntu package search claims libicu-dev should contain a bunch of headers. Not sure what ubuntu this is though.
Aki
Having looked at the icu 66 tag on their repo, I see that quite a bit was missing, so I ran:
sudo apt reinstall libicu-dev
And lo and behold, lots more files.
Why it was partial I do not know.
Anyway, I'm set for the moment, though the dependence is weird if you were trying to step away from it.
Aaaand compilation finished. :)
participants (2)
-
Aki Tuomi
-
mr.thesaw@gmail.com