system : alpine 3.12
apk --update add gd geoip libpng libwebp pwgen sudo wxgtk zlib bash && \
apk --update add --virtual build-dependencies alpine-sdk automake \
autoconf bison g++ gcc gd-dev geoip-dev \
gettext gettext-dev git libpng-dev libwebp-dev \
libtool libsm-dev make musl-dev wget \
flex wxgtk-dev zlib-dev zlib-static \
asio-dev boost-static libpng-static
./configure \
--disable-gui \
--disable-amule-gui \
--disable-wxcas \
--disable-alc \
--disable-plasmamule \
--disable-kde-in-home \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-unicode \
--without-subdirs \
--without-expat \
--enable-amule-daemon \
--enable-amulecmd \
--enable-webserver \
--enable-cas \
--enable-alcc \
--enable-fileview \
--enable-geoip \
--with-geoip-static \
--enable-mmap \
--enable-optimize \
--enable-upnp \
--with-boost \
--enable-static-boost \
--disable-debug \
--enable-static
configure: WARNING: unrecognized options: --disable-gui, --enable-unicode, --without-subdirs, --without-expat
Configure script has finished system check.
Configured aMule SVN (rev. g07932e9+) for 'x86_64-pc-linux-musl'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with UPnP support? yes
Should aMule be compiled with IP2country support? yes
Should aMule monolithic application be built? yes
Should aMule daemon version be built? yes
Should aMule remote gui be built? no
**** aMule TextClient ****
Should aMule Command Line Client be built? yes
**** aMule WebServer ****
Should aMule WebServer be built? yes
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? yes
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? yes
Should aMule GUI Statistics (wxCas) be built? no
Should xas XChat2 plugin be installed? no
Should plasmaMule plasma-applet be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Should aMule file viewer for console be built? yes
Libraries aMule will use to build:
wxWidgets 3.0.5 (gtk2,static)
boost 1.72
crypto++ 8.2 (in /usr)
libupnp 1.14.0
libintl included
libGeoIP system
libpng Not detected
libgd 2.3.0
zlib 1.2.11
*** Warnings during configuration ***
- libpng >= 1.2.0 not found.
amuleweb will be compiled but file download progress bar images will NOT be
generated.
make
gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl plural.c
In file included from plural.y:35:
plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse'
102 | # define PLURAL_PARSE libintl_gettextparse
| ^~~~~~~~~~~~~~~~~~~~
plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE'
40 | # define __gettextparse PLURAL_PARSE
| ^~~~~~~~~~~~
plural.c:203:5: note: in expansion of macro '__gettextparse'
203 | int __gettextparse (void);
| ^~~~~~~~~~~~~~
plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here
102 | # define PLURAL_PARSE libintl_gettextparse
| ^~~~~~~~~~~~~~~~~~~~
plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE'
114 | extern int PLURAL_PARSE PARAMS ((void *arg));
| ^~~~~~~~~~~~
plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse'
102 | # define PLURAL_PARSE libintl_gettextparse
| ^~~~~~~~~~~~~~~~~~~~
plural.y:40:25: note: in expansion of macro 'PLURAL_PARSE'
40 | # define __gettextparse PLURAL_PARSE
| ^~~~~~~~~~~~
plural.c:68:25: note: in expansion of macro '__gettextparse'
68 | #define yyparse __gettextparse
| ^~~~~~~~~~~~~~
plural.c:1041:1: note: in expansion of macro 'yyparse'
1041 | yyparse (void)
| ^~~~~~~
plural-exp.h:102:23: note: previous declaration of 'libintl_gettextparse' was here
102 | # define PLURAL_PARSE libintl_gettextparse
| ^~~~~~~~~~~~~~~~~~~~
plural-exp.h:114:12: note: in expansion of macro 'PLURAL_PARSE'
114 | extern int PLURAL_PARSE PARAMS ((void *arg));
| ^~~~~~~~~~~~
plural.c: In function 'libintl_gettextparse':
plural.c:69:25: error: too few arguments to function '__gettextlex'
69 | #define yylex __gettextlex
| ^~~~~~~~~~~~
plural.c:1219:16: note: in expansion of macro 'yylex'
1219 | yychar = yylex (&yylval);
| ^~~~~
plural.c:69:25: note: declared here
69 | #define yylex __gettextlex
| ^~~~~~~~~~~~
plural.y:69:12: note: in expansion of macro 'yylex'
69 | static int yylex PARAMS ((YYSTYPE *lval, const char **pexp));
| ^~~~~
plural.y:178:29: error: 'arg' undeclared (first use in this function)
178 | ((struct parse_args *) arg)->res = $1;
| ^~~
plural.y:178:29: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [Makefile:95: plural.o] Error 1
make[2]: Leaving directory '/root/amule/intl'
make[1]: *** [Makefile:632: all-recursive] Error 1
make[1]: Leaving directory '/root/amule'
make: *** [Makefile:526: all] Error 2
system : alpine 3.12
configure: WARNING: unrecognized options: --disable-gui, --enable-unicode, --without-subdirs, --without-expat
Configure script has finished system check.
Configured aMule SVN (rev. g07932e9+) for 'x86_64-pc-linux-musl'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /usr
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with UPnP support? yes
Should aMule be compiled with IP2country support? yes
Should aMule monolithic application be built? yes
Should aMule daemon version be built? yes
Should aMule remote gui be built? no
**** aMule TextClient ****
Should aMule Command Line Client be built? yes
**** aMule WebServer ****
Should aMule WebServer be built? yes
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? yes
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? yes
Should aMule GUI Statistics (wxCas) be built? no
Should xas XChat2 plugin be installed? no
Should plasmaMule plasma-applet be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Should aMule file viewer for console be built? yes
Libraries aMule will use to build:
wxWidgets 3.0.5 (gtk2,static)
boost 1.72
crypto++ 8.2 (in /usr)
libupnp 1.14.0
libintl included
libGeoIP system
libpng Not detected
libgd 2.3.0
zlib 1.2.11
*** Warnings during configuration ***
amuleweb will be compiled but file download progress bar images will NOT be
generated.