Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34912

Summary: ruby ebuild modification --enable-pthread addition
Product: Gentoo Linux Reporter: Alexander Kellett <lypanov>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Kellett 2003-12-02 11:59:52 UTC
as a workaround for problems with ruby and threading the option --enable-pthread can be passed to ruby's configure. this option will enable applications creating using the future kdebindings 3.2 packages 
(includes qt and kde bindings) to work on my system at the very least :)

actual line in question:
	local myconf='--enable-shared'
should be
	local myconf='--enable-shared --enable-pthread'
to fix the problems with segv's on startup.

thanks very much!
Alex
Comment 1 Alexander Kellett 2003-12-03 12:38:21 UTC
i'm silly. forget it. causes more problems than its worth and its non default.

Alex
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-03 21:45:56 UTC
Right, Ruby upstream decided to turn pthread disabled by defaultin the upcoming release. If you want to have it configurable we'd addlocal USE flag for --enable-pthread. What do you think?
Comment 3 Alexander Kellett 2004-01-11 10:18:08 UTC
jfyi i've got the kde/qt bindings working even without the option now :)
Alex