Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gem install linecache19 fails
Date: Fri, 18 May 2012 17:20:40
Message-Id: 4FB68450.1070103@orlitzky.com
In Reply to: [gentoo-user] gem install linecache19 fails by 1126
1 On 05/16/12 08:57, 1126 wrote:
2 > Hello,
3 >
4 > I do need the ruby-gem linecache19-0.5.12. Usually, there are two ways to install a gem, right? Via emerge and via gem install. But here, only one way works. dev-ruby/linecache only builds the
5 > ruby18-version
6 > of
7 > this gem, so I'm stuck with gem install. But gem install fails with the following error:
8 >
9 > trace_nums.c:(.text+0x22): undefined reference to `ruby_current_thread'
10 >
11 >
12 > I am using ruby-1.9.3p194, but tried with different versions as well.
13 >
14 > Does anyone have a clue what I can do to solve the problem and get linecache19-0.5.12 installed?
15 >
16 > Thanks in advance,
17 >
18 > Christian.
19 >
20
21 Relevant:
22
23 http://bugs.gentoo.org/show_bug.cgi?id=398455
24
25 Other people seem to have had the same problem. Try the git version,
26 it's somewhat more likely to work considering the last commit was
27 "updated for Ruby 1.9.3":
28
29 https://github.com/mark-moseley/linecache