Hi to everyone.
I compile aMule since years and this is the first time that I've a problem like that; I can compile aMule but without --enable-webserver option.
In my configure.log I don't find anything wrong (attached below), but the output of detailed configure log ("debug" in the attachment) has a flex error and dpkg-buildpackage (or make or debuild...) shows
php_parser.c:336:6: warning: "YYENABLE_NLS" is not defined
php_parser.c:1630:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined
mv -f .deps/amuleweb-php_parser.Tpo .deps/amuleweb-php_parser.Po
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../.. -I../../../src -I../../../src/libs -I../../../src/include -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -DUSE_WX_EXTENSIONS -DWITH_LIBPNG -DHAVE_BFD -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxUSE_GUI=0 -DEC_REMOTE -DWEBSERVERDIR="\"/usr/local/share/amuleadunanza/webserver\"" -DECSOCKET_USE_EVENTS=0 -I/usr/include/upnp -DENABLE_UPNP=1 -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pthread -I/usr/include/libpng12 -pthread -MT amuleweb-php_lexer.o -MD -MP -MF .deps/amuleweb-php_lexer.Tpo -c -o amuleweb-php_lexer.o `test -f 'php_lexer.c' || echo './'`php_lexer.c
php_lexer.l: In function ‘yylex’:
php_lexer.l:109: error: void value not ignored as it ought to be
php_lexer.c:885: warning: label ‘find_rule’ defined but not used
php_lexer.c:1954:5: warning: "YY_ALWAYS_INTERACTIVE" is not defined
php_lexer.c:1957:5: warning: "YY_NEVER_INTERACTIVE" is not defined
php_lexer.c:2248:5: warning: "YY_MAIN" is not defined
make[4]: *** [amuleweb-php_lexer.o] Error 1
Anyone has the same problem?
Or solution to fix that?
I'm on debian sid, i386, tell me if you want more information; thanks!