Springlobby Compilation Fails on Gentoo: Missing/Lost aui.h?
Posted: 24 Oct 2008, 02:24
Springlobby version 0.0.1.0729 works fine. Version 0.0.1.10363 fails to compile... along with all the versions inbetween, if I remember correctly from my attempts to mask the versions that won't compile.
It seems to me that the problem starts at:
aui.h exists, at /usr/include/wx-2.8/wx/aui/aui.h. This file belongs to x11-libs/wxGTK-2.8.7.1-r1. Upgrading to the latest non-masked version, 2.8.8.1, doesn't affect the problem. I had upgraded wxGTK immediately prior to attempting to update Springlobby, but downgraded upon running into the problem. Regardless of the version, aui.h stays in the same location.
I'm not much of a programmer. I wonder if the ebuild is including wxGTK at /usr/include/wx, though, instead of usr/include/wx-2.8... but I haven't a clue on how to validate that hunch.
Any ideas?
Code: Select all
mv -f .deps/maintorrenttab.Tpo .deps/maintorrenttab.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include/libtorrent -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DLOCALEDIR=\"/usr/share/locale\" -I./src -Wall -Wno-strict-aliasing -DNDEBUG -O2 -march=nocona -pipe -MT battlelisttab.o -MD -MP -MF .deps/battlelisttab.Tpo -c -o battlelisttab.o `test -f 'src/battlelisttab.cpp' || echo './'`src/battlelisttab.cpp
In file included from src/battlelisttab.cpp:18:
src/aui/auimanager.h:4:24: error: wx/aui/aui.h: No such file or directory
mv -f .deps/springunitsynclib.Tpo .deps/springunitsynclib.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include/libtorrent -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DLOCALEDIR=\"/usr/share/locale\" -I./src -Wall -Wno-strict-aliasing -DNDEBUG -O2 -march=nocona -pipe -MT battleroomlistctrl.o -MD -MP -MF .deps/battleroomlistctrl.Tpo -c -o battleroomlistctrl.o `test -f 'src/battleroomlistctrl.cpp' || echo './'`src/battleroomlistctrl.cpp
mv -f .deps/battlelist.Tpo .deps/battlelist.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include/libtorrent -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DLOCALEDIR=\"/usr/share/locale\" -I./src -Wall -Wno-strict-aliasing -DNDEBUG -O2 -march=nocona -pipe -MT battlemaptab.o -MD -MP -MF .deps/battlemaptab.Tpo -c -o battlemaptab.o `test -f 'src/battlemaptab.cpp' || echo './'`src/battlemaptab.cpp
In file included from src/battlelisttab.cpp:18:
src/aui/auimanager.h:11: error: ISO C++ forbids declaration of 'wxAuiManager' with no type
src/aui/auimanager.h:11: error: expected ';' before '*' token
In file included from src/chatpanel.h:12,
from src/battlelisttab.cpp:25:
src/usermenu.h: In constructor 'SL_GENERIC::UserMenu<EventHandler_>::UserMenu(wxWindow*, const wxString&, long int)':
src/usermenu.h:29: error: there are no arguments to 'AppendSubMenu' that depend on a template parameter, so a declaration of 'AppendSubMenu' must be available
src/usermenu.h:29: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [battlelisttab.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/battleroomlistctrl.h:5,
from src/battleroomlistctrl.cpp:15:
src/usermenu.h: In constructor 'SL_GENERIC::UserMenu<EventHandler_>::UserMenu(wxWindow*, const wxString&, long int)':
src/usermenu.h:29: error: there are no arguments to 'AppendSubMenu' that depend on a template parameter, so a declaration of 'AppendSubMenu' must be available
src/usermenu.h:29: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from src/battleroomlistctrl.cpp:26:
src/mainwindow.h: At global scope:
src/mainwindow.h:91: error: 'wxNotebookEvent' has not been declared
src/usermenu.h: In constructor 'SL_GENERIC::UserMenu<EventHandler_>::UserMenu(wxWindow*, const wxString&, long int) [with EventHandler_ = BattleroomListCtrl]':
src/battleroomlistctrl.cpp:128: instantiated from here
src/usermenu.h:29: error: 'AppendSubMenu' was not declared in this scope
make[2]: *** [battleroomlistctrl.o] Error 1
In file included from src/chatpanel.h:12,
from src/battlemaptab.cpp:28:
src/usermenu.h: In constructor 'SL_GENERIC::UserMenu<EventHandler_>::UserMenu(wxWindow*, const wxString&, long int)':
src/usermenu.h:29: error: there are no arguments to 'AppendSubMenu' that depend on a template parameter, so a declaration of 'AppendSubMenu' must be available
src/usermenu.h:29: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [battlemaptab.o] Error 1
mv -f .deps/battlelistfilter.Tpo .deps/battlelistfilter.Po
make[2]: Leaving directory `/var/tmp/portage/games-util/springlobby-0.0.1.10363/work/springlobby-0.0.1.10363'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-util/springlobby-0.0.1.10363/work/springlobby-0.0.1.10363'
make: *** [all] Error 2
*
* ERROR: games-util/springlobby-0.0.1.10363 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2083: Called die
* The specific snippet of code:
* emake || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/games-util/springlobby-0.0.1.10363/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-util/springlobby-0.0.1.10363/temp/environment'.
Code: Select all
In file included from src/battlelisttab.cpp:18:
src/aui/auimanager.h:4:24: error: wx/aui/aui.h: No such file or directory
I'm not much of a programmer. I wonder if the ebuild is including wxGTK at /usr/include/wx, though, instead of usr/include/wx-2.8... but I haven't a clue on how to validate that hunch.
Any ideas?