Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18203 - wxPython 2.4.0.6 doesn't compile with wxGTK with GTK+2 support
Summary: wxPython 2.4.0.6 doesn't compile with wxGTK with GTK+2 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 03:14 UTC by Sridhar Dhanapalan
Modified: 2003-03-26 06:49 UTC (History)
1 user (show)

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


Attachments
An updated ebuild with the bugfix (wxPython-2.4.0.6-r1.ebuild,3.01 KB, text/plain)
2003-03-26 03:15 UTC, Sridhar Dhanapalan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sridhar Dhanapalan 2003-03-26 03:14:40 UTC
Compiling wxGTK with GTK+2 support works fine. However, wxPython-2.4.0.6 doesn't
honour this properly, and when I try to emerge wxPython it asks for me to use
the gtk2 USE flag, even though I already am.

Reproducible: Always
Steps to Reproduce:
1. USE="gtk2" emerge wxGTK
2. USE="gtk2" emerge wxPython
Actual Results:  
emerge throws up an error asking to use the 'gtk2' USE flag when compiling wxPython.

Expected Results:  
Since wxGTK is compiled with gtk2 support, wxPython should compile with no problem.

This seems to be a bug in the ebuild [wxPython-2.4.0.6.ebuild]. On line 29 it says

    if [ ! -f "/usr/bin/wxgtk2u-config" ]; then

However, the file /usr/bin/wxgtk2u-config doesn't exist. If I change that same
line to say

    if [ ! -f "/usr/bin/wxgtk2u-2.4-config" ]; then

the emerge works, and wxPython works without error, even with GTK+2.
Comment 1 Sridhar Dhanapalan 2003-03-26 03:15:42 UTC
Created attachment 9818 [details]
An updated ebuild with the bugfix
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-03-26 06:49:27 UTC
thanks for the report. i've commited a fix to CVS.