Summary: | wxGtk build fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Per Wigren <tuxie> |
Component: | New packages | Assignee: | SpanKY <vapier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome, rigo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Per Wigren
2002-05-14 22:26:36 UTC
Could you provide more details. 1. I assume you were trying to build against motif? The wxGTK build can't handle gtk and motif at the same time. No, I have "-motif" in my USE-variable... Hmm, thinking about it, I have "-gtk" also... *retrying with USE="gtk -motif" emerge wxGTK* ok, it worked :) Still, since wxGTK *requires* gtk, it should depend on gtk anyway.. USE=-gtk should be for disabling *optional* gtk-support right? Actually, it requires gtk or motif, despite the tarball name. And it can only build against one and not both concurrently. (Similar circumstances have been discussed on gentoo-dev recently.) However, you are right that a user would be inclined to assume that it requires gtk. The default should be gtk, but I'm not quite sure how to handle this. For example how would we go about handling it if the user is expecting to get a build against gtk but happends to have 'motif' in their USE I'd say that it should go like this: USE="-gtk -motif" : build gtk-version USE="gtk -motif" : build gtk-version USE="gtk motif" : build gtk-version USE="-gtk motif" : build motif-version Seems reasonable? Not many want to build a motif-only system these days, but if the do want that, they should have "-gtk -qt -gnome -kde motif" in their USE-variable to force it :) stroke, this is a tricky one. good luck To make it more interesting: 2.3.3 is released ;-) i just added wxGTK-2.3.3 ... i then run these series of commands: env USE='-gtk -motif' emerge wxGTK env USE='-gtk motif' emerge wxGTK env USE='gtk -motif' emerge wxGTK env USE='gtk motif' emerge wxGTK and they all worked ... so do me a favor and try out 2.3.3 and see if it works for you +gtk -motif worked fine for me, but after i look at the ebuild : you dont use the motif flag ? So does motif get built when you want it or do i miss something here ? i didnt change much in the ebuild but bump it ... i guess ill check out the package some more ;) hmm, it seems that wxGTK will only compile by specifying one toolkit to compile ... that means we have 3 players (because of USE ... if we had more USE variables, there could be more :x) ... X, gtk, motif what i'm going to do is this ... if [ use gtk ] ; then make gtk toolkit elif [ use X ] ; then make x11 toolkit elif [ use motif ] ; then make motif toolkit fi hmm, so the x11 and the motif toolkits do not compile ;) http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/x11-libs/wxGTK/wxGTK-2.3.3.ebuild.diff?r1=1.1&r2=1.2 |