Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

the wxGTK problem thread

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
RlC
Guru
Guru
User avatar
Posts: 358
Joined: Sat Jul 30, 2005 12:28 pm
Location: austria

the wxGTK problem thread

  • Quote

Post by RlC » Mon Apr 10, 2006 8:52 pm

hi,

most troubles in passed days i have had with wxGTK. there are several programs (amule, audacity) that actually won´t work for me. i get errors that say prototypes wouldnt match, and i know this is due the versions of wxgtk.

for example, i want to compile the beta of audacity (acutally 1.3.0), and i have installed both 2.4 and 2.6 of wxgtk. i think there are problems for configure with getting the right path of the header files, and i couldn´t find a way to avoid this. once there are apps that need 2.4, then there apps that need 2.6. is there a suitable workaround for getting both kind of programs to work?

this is probably the most annoying thing since i use gentoo (ok, i didnt really use other distros)

and just another question:
windows users can install amule/audacity, they get usually binaries
do they need headers? in the meaning of: if i would install a precompiled package (eg from debian), would they work (or at least should they work)?

at the time i am running amule, but not audacity (not even the stable one in portage [1.2.1])

i guess/hope i am not the only one with problems on wxGTK, so i hope there will be some help 8)
thanks
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Mon Apr 10, 2006 10:08 pm

could you try changing the 2.4-ebuild to:

Code: Select all

src_compile() {
	local myconf
	export LANG='C'
	filter-flags -fvisibility-inlines-hidden
	myconf="${myconf} `use_with opengl`"
	myconf="${myconf} --with-gtk"
	myconf="${myconf} `use_enable debug`"
	myconf="${myconf} --libdir=/usr/$(get_libdir)"
	myconf="${myconf} --enable-soname"
i mean adding the last line to src_compile and test if this could help you, I don't use 2.4 anymore, but this could be your problem. As if you mix the both and 2.4 libraries do not get versioned as currently is the case, this could lead to problems in the resolution.
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Top
padoor
Advocate
Advocate
User avatar
Posts: 4185
Joined: Fri Dec 30, 2005 1:43 am
Location: india

  • Quote

Post by padoor » Tue Apr 11, 2006 6:38 am

i have the same problem undefined wxGTK .
i am not agle to install audacity,vlc and amny other which looks for wxGTK
i tried installing both 2.4 and 2.6 of wxGTK no use.
the same error comes up.

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto'
collect2: ld returned 1 exit status
make[1]: *** [../audacity] Error 1
make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.1/work/audacity-src-1.2.1/src'
make: *** [audacity] Error 2

!!! ERROR: media-sound/audacity-1.2.1 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

****
src_compile() {
local myconf
export LANG='C'
filter-flags -fvisibility-inlines-hidden
myconf="${myconf} `use_with opengl`"
myconf="${myconf} --with-gtk"
myconf="${myconf} `use_enable debug`"
myconf="${myconf} --libdir=/usr/$(get_libdir)"
myconf="${myconf} --enable-soname"
****
i tried to compile the above posted codes .
how do i run it?
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Top
RlC
Guru
Guru
User avatar
Posts: 358
Joined: Sat Jul 30, 2005 12:28 pm
Location: austria

  • Quote

Post by RlC » Tue Apr 11, 2006 12:43 pm

Gergan Penkov wrote:could you try changing the 2.4-ebuild to:

Code: Select all

src_compile() {
	local myconf
	export LANG='C'
	filter-flags -fvisibility-inlines-hidden
	myconf="${myconf} `use_with opengl`"
	myconf="${myconf} --with-gtk"
	myconf="${myconf} `use_enable debug`"
	myconf="${myconf} --libdir=/usr/$(get_libdir)"
	myconf="${myconf} --enable-soname"
i mean adding the last line to src_compile and test if this could help you, I don't use 2.4 anymore, but this could be your problem. As if you mix the both and 2.4 libraries do not get versioned as currently is the case, this could lead to problems in the resolution.
i did, and it doesn´t work for me, too
Top
richardash1981
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Fri Apr 08, 2005 5:26 pm
Location: England

  • Quote

Post by richardash1981 » Mon Jul 10, 2006 8:16 pm

I assume you are in x86, in which case the solution for audacity is to unmask the ebuilds from portage, so you get wxGTK 2.4.2-r4 (or later), and wxGTK-2.6.2 or later, which are slotted. You can then put audacity-1.2.4b-r1 or audacity-1.3.0b on top without problems.

The trick is that you can tell the configure script for the application which wx version to use by changing which wx-config binary get's run during configure. These live in either /usr/bin (for 2.4) or /usr/lib/wx/config/ (for 2.6). Simply find the right binary, and set the WX_CONFIG environment variable to point to it (at compile time).

ebuilds have an eclass to do this stuff for them.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic