checking for wx-config... /usr/bin/wx-config checking for wxWidgets version >= 3.0.0... no (version 2.8.12 is not new enough) configure: error: The requested wxWidgets build couldn't be found. If you still get this error, then check that 'wx-config' is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 3.0.0 or above. I have wxGTK versions 2.8.12.1-r1, 3.0.2.0-r3 and 3.0.2.0-r301 installed. Just by pure luck, I discovered that an wxwidgets eselect module exists and can be used to work around the issue. Temporarily setting the wxwidgets profile from gtk2-unicode-release-2.8 to either gtk2-unicode-3.0 or gtk3-unicode-3.0-gtk3 appears to fix the configure. I'm not sure what the correct fix should be, but I think that at minimum users deserve to receive a message with better (Gentoo-specific) instructions on how to solve or work around this issue (a pre-emerge check, if possible). Thanks! :)
Same here
$ eselect wxwidgets list Available wxWidgets profiles: [1] gtk2-unicode-3.0 [2] gtk2-unicode-release-2.8 * [3] gtk3-unicode-3.0-gtk3 $ eix wxgtk [I] x11-libs/wxGTK Available versions: (2.8) 2.8.12.1-r1 (~)2.8.12.1-r2 (2.9) (~)2.9.4.1-r1(2.9/2.9.4) (3.0) 3.0.2.0-r1 3.0.2.0-r2 (~)3.0.2.0-r3{tbz2} (3.0-gtk3) (~)3.0.2.0-r300 (~)3.0.2.0-r301{tbz2} {+X aqua debug doc gnome gstreamer libnotify odbc opengl pch sdl tiff webkit ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 2.8.12.1-r2(2.8)(09:21:45 PM 06/01/2016)(X gnome gstreamer opengl sdl tiff -aqua -debug -doc -odbc -pch ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") 3.0.2.0-r3(3.0){tbz2}(11:43:36 AM 06/21/2016)(X gstreamer libnotify opengl sdl tiff -aqua -debug -doc -webkit ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") 3.0.2.0-r301(3.0-gtk3){tbz2}(11:47:12 AM 06/21/2016)(X gstreamer libnotify opengl sdl tiff -aqua -debug -doc -webkit ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Homepage: http://wxwidgets.org/ Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit
PR: https://github.com/gentoo/gentoo/pull/1839
(In reply to Jaak Ristioja from comment #0) > I'm not sure what the correct fix should be, but I think that at minimum > users deserve to receive a message with better (Gentoo-specific) > instructions on how to solve or work around this issue (a pre-emerge check, > if possible). Code in wxwidgets eclass that used to automatically choose a suitable wxGTK version was removed in EAPI=6 and now an explicit call to setup-wxwidgets is required. I've added this call.
(In reply to Coacher from comment #3) > PR: https://github.com/gentoo/gentoo/pull/1839 Works for me, thank you very much! :)
commit 58dd9601164d71846fd72d7276c86a1e86377a55 (HEAD -> master) Author: Ilya Tumaykin <itumaykin@gmail.com> AuthorDate: Thu Jul 7 07:03:22 2016 +0300 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Mon Jul 11 21:37:54 2016 +0200 media-video/aegisub: add setup-wxwidgets call wrt bug 587530 Gentoo-Bug: https://bugs.gentoo.org/587530 Closes: https://github.com/gentoo/gentoo/pull/1839 Package-Manager: portage-2.3.0 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> media-video/aegisub/aegisub-3.2.2_p20160518.ebuild | 1 + media-video/aegisub/aegisub-9999.ebuild | 1 + 2 files changed, 2 insertions(+)