Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204762 - net-p2p/transmission-1.0.0,1.0.1 configure error
Summary: net-p2p/transmission-1.0.0,1.0.1 configure error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 15:28 UTC by Michal Kurgan (RETIRED)
Modified: 2008-01-23 18:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Kurgan (RETIRED) gentoo-dev 2008-01-07 15:28:25 UTC
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
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-01-07 19:42:11 UTC
Interesting.  The wxWidget support is incomplete at this time, and is hard disabled in the ebuild.
Comment 2 Michal Kurgan (RETIRED) gentoo-dev 2008-01-07 19:56:53 UTC
To make compilation succesfull you can quickfix it with additional configure flag "--with-wx-config=no". It should work then.
Comment 3 Neil 2008-01-08 09:47:34 UTC
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


***
Comment 4 Jürgen Geuter 2008-01-08 13:15:19 UTC
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.
Comment 5 Neil 2008-01-08 13:30:24 UTC
(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.
 

Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-01-22 04:41:12 UTC
Should be fixed with 1.0.1.
Comment 7 Michal Kurgan (RETIRED) gentoo-dev 2008-01-22 22:58:18 UTC
It's not fixed, wx-config is still called to detect wxGTK installation.
You can use my proposed fix to override wx-config selection.
Comment 8 Michal Kurgan (RETIRED) gentoo-dev 2008-01-22 23:02:56 UTC
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.
Comment 9 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-01-23 04:57:39 UTC
Added --with-wx-config=no as per your suggestion.
Comment 10 Michal Kurgan (RETIRED) gentoo-dev 2008-01-23 18:46:26 UTC
Thanks.