rkd77 / elinks

Fork of elinks
Other
349 stars 38 forks source link

plural.h missing in latest master causes build failure #83

Closed balducci closed 3 years ago

balducci commented 3 years ago

hello

current master (0f6d4310ad37550be3323fab80456e4953698bf0) fails to build (most probably due to latest changes to plural.*):

[102/211] gcc -m64 -Isrc/elinks.p -Isrc -I../src -I. -I.. -I/opt/stow.d/stow/zlib/usr/include -I/opt/stow.d/versions/openssl-3.0.0-alpha9/usr/include -I/opt/stow.d/versions/expat-2.2.10/usr/include -I/opt/stow.d/versions/python3-3.9.1/usr/python3/include/python3.9 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g '-DGETTEXT_PACKAGE="elinks"' '-DBUILD_ID=""' -DHAVE_CONFIG_H -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Wno-address -MD -MQ src/elinks.p/intl_gettext_plural.c.o -MF src/elinks.p/intl_gettext_plural.c.o.d -o src/elinks.p/intl_gettext_plural.c.o -c ../src/intl/gettext/plural.c
FAILED: src/elinks.p/intl_gettext_plural.c.o 
gcc -m64 -Isrc/elinks.p -Isrc -I../src -I. -I.. -I/opt/stow.d/stow/zlib/usr/include -I/opt/stow.d/versions/openssl-3.0.0-alpha9/usr/include -I/opt/stow.d/versions/expat-2.2.10/usr/include -I/opt/stow.d/versions/python3-3.9.1/usr/python3/include/python3.9 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g '-DGETTEXT_PACKAGE="elinks"' '-DBUILD_ID=""' -DHAVE_CONFIG_H -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Wno-address -MD -MQ src/elinks.p/intl_gettext_plural.c.o -MF src/elinks.p/intl_gettext_plural.c.o.d -o src/elinks.p/intl_gettext_plural.c.o -c ../src/intl/gettext/plural.c
plural.c:134:10: fatal error: plural.h: No such file or directory
compilation terminated.

Building with meson:

-Dperl=false
-Dpython=true
-Dgnutls=false
-Dspidermonkey=false
-Dsm-scripting=false
-Dtre=false
-Dfsp=false

and gcc:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/stow.d/versions/gcc-10.2.0/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/balducci/tmp/install-us-d/gcc-10.2.0.d/gcc-10.2.0/configure --prefix=/opt/stow.d/versions/gcc-10.2.0/usr --libdir=/opt/stow.d/versions/gcc-10.2.0/usr/lib64 --libexecdir=/opt/stow.d/versions/gcc-10.2.0/usr/lib64 --enable-shared --disable-bootstrap --enable-languages=c,c++,objc,fortran --enable-multilib
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC) 

thanks ciao -gabriele

balducci commented 3 years ago

current master (0f6d431) fails to

oops, sorry: commit should have been 66fb230326e475caf1b03a16d9d7b227b10f2f78

rkd77 commented 3 years ago

If this commit does not help, need to back to idea of external gettext library.

balducci commented 3 years ago

fixed thanks ciao -gabriele