Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6749 - wxGTK-2.2.9-r1 failed to compile for me
Summary: wxGTK-2.2.9-r1 failed to compile for me
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-19 20:17 UTC by Paul Thompson
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
This is the patch I needed to compile wxGTK (wxGTK-2.2.9-r1.ebuild.diff,833 bytes, patch)
2002-08-19 20:19 UTC, Paul Thompson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Thompson 2002-08-19 20:17:59 UTC
I dont have the thing to paste, but the thing was choking on
src/common/unzip.h, due to a macro ZEXPORT not being defined.
wxGTK has its own zconf.h, which doesnt define this macro for
non-windows platforms. (there is a system header in 
/usr/include/zconf.h, which  does-- but I presume the build favors
its local header.)
System is 1.2 constantly updated. USE variables detected as set
by the ebuild are gif and opengl. This older wxGTK is required for
audacity. Attached is the patch that allowed it to work for me.

Paul
Comment 1 Paul Thompson 2002-08-19 20:19:15 UTC
Created attachment 3217 [details, diff]
This is the patch I needed to compile wxGTK

Only the two lines involving ZEXPORT were required, the rest was
just cleanup.
Comment 2 Nick Hadaway 2002-08-22 19:27:42 UTC
Updates have been made to the 1.1.11-r5.ebuild.  Please install and test and 
report back on this bug report.  The updated should be available in portage 
within 24 hours.
Comment 3 Nick Hadaway 2002-08-22 19:29:36 UTC
00ps.  Wrong bug report.  I did update the wxGTK-2.2.9-r1.ebuild with the 
suggested changes.  The ebuild should be available on portage within the next 
24 hours.  Please report back on this bug report.
Comment 4 Paul Thompson 2002-08-23 17:54:01 UTC
The new ebuild compiles out of the box for me. My only test program so far is
audacity, which works as good as it did using my own modified ebuild.
(It has a odd problem where some of its fonts render as little rectangles
instead of characters-- but that may be a gtk problem...)

I might also note that I was not able to compile this package against motif
as suggested in the ebuild, but did not investigate the cause of compilation
failure.

Thanks for commiting this.
Paul
Comment 5 Nick Hadaway 2002-08-25 11:31:18 UTC
From the wxGTK homepage...
Q: What is the current state of the ports? 
A: GTK+ and Windows are stable. Motif no longer maintained. MacOS 8/9 and OS X 
improved dramatically. OS/2 started.

If motif is still unmaintained at the next release of wxGTK I will removed the 
motif comments from the ebuild.