Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: andyj on May 03, 2019, 02:16:14 PM
-
Building gvim on 64-bit works just fine. On 32-bit it fails:
msgfmt --desktop -d . --template gvim.desktop.in -o gvim.desktop
msgfmt: Cannot convert from "ISO-8859-1" to "UTF-8". msgfmt relies on iconv(). This version was built without iconv().
tce-fetch says it's up to date. I also noticed that glib2 32-bit no longer depends on pcre so I have some dep files to update as well.
-
As far as I can see, glib2 has never had a dep on pcre in the 32-bit repo?
I'm surprised by the msgfmt (gettext) error, which version of gvim were you compiling?
-
I just tested using vim81 in tc-10.x x86 - it compiles without error with and without gettext:
tce-load -i compiletc gtk3-dev [gettext]
cd vim81
CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --sysconfdir=/usr/local/etc --mandir=/usr/local/share/man --enable-multibyte --with-tlib=ncursesw --with-x --enable-gui=gtk3
find . -name config.mk -type f -exec sed -i 's/-g -O2//g' {} \;
make [1m 28.29s]
sudo make install
-
At the time the most current: vim-8.1.1248.tar.gz. I didn't have a problem with older versions, I'd have to experiment to see exactly which version breaks it. I use the same build file for 32 and 64-bit.
-
I saw the same problem with vim-8.1.1270, it seems gettext-0.19.8.1 has gained a sed since it was last compiled:
sed -e '/AppData/{N;N;p;s/\.appdata\./.metainfo./}' -i gettext-tools/its/appdata.loc
..which seems to fix the problem - updated gettext posted
-
It's back on TC-11 when making gvim:
msgfmt --desktop -d . --template gvim.desktop.in -o tmp_gvim.desktop
ko.po: warning: Charset "EUC-KR" is not supported. msgfmt relies on iconv(),
and iconv() does not support "EUC-KR".
Installing GNU libiconv and then reinstalling GNU gettext
would fix this problem.
Continuing anyway.
msgfmt: Cannot convert from "EUC-KR" to "UTF-8". msgfmt relies on iconv(), and iconv() does not support this conversion.
-
I get the same error with gettext alone, but things work if you compile with gettext and glibc_gconv.