During configure action there is error in wxWidgets detection: *** checking for wxWidgets version >= 2.6.0... ./configure: line 25251: test: too many arguments ./configure: line 25254: test: too many arguments no (version An error occurred while calling wx-config: No profile currently selected Please use `eselect wxwidgets` to select an available profile and try again. is not new enough) *** As a result Makefile generated contains error in variable WX_VERSION. Reproducible: Always
Interesting. The wxWidget support is incomplete at this time, and is hard disabled in the ebuild.
To make compilation succesfull you can quickfix it with additional configure flag "--with-wx-config=no". It should work then.
Strange, I don't get this error, but am having difficulty compiling this ebuild. The configuration clearly doesn't include wxWidgets client, but I get an error about a missing separator in the Makefile.... *** Configuration: Source code location: . Compiler: i686-pc-linux-gnu-g++ Build libtransmission: yes Build Daemon: yes Build BeOS client: no Build GTK+ client: yes Build OS X client: no Build wxWidgets client: no Makefile:200: *** missing separator. Stop. * * ERROR: net-p2p/transmission-1.0.0 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 92: Called die * The specific snippet of code: * emake || diefunc "$FUNCNAME" "$LINENO" "$?" "build failed" * The die message: * build failed ***
The problem in the Makefile's line 200 is that configure still writes the "No profile currently selected Please use `eselect wxwidgets` to select an available profile and try again. is not new enough)" to the makefile which obviously fails. Right now it only builds with a wx profile selected even though it's not used. The configure still seems to check for it.
(In reply to comment #4) > Right now it only builds with a wx profile selected even though it's not used. > The configure still seems to check for it. Thanks for that, have now successfully built after setting a wx profile. Seems strange that its required even thought its not used though.
Should be fixed with 1.0.1.
It's not fixed, wx-config is still called to detect wxGTK installation. You can use my proposed fix to override wx-config selection.
Use "eselect wxwidgets set none" to test on your machine as by default after wxGTK installation for unstable ebuilds. They use this new eselect module and new eclasses. This is *not* an issue with transmission package, but with change in wxGTK handling in Gentoo.
Added --with-wx-config=no as per your suggestion.
Thanks.