Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user][SOLVED] xscreensaver - error missing "bc"
Date: Sun, 14 Sep 2014 17:58:22
Message-Id: 20140914175811.GF13628@syscon7
In Reply to: Re: [gentoo-user][SOLVED] xscreensaver - error missing "bc" by Mick
1 On 09/14/14 18:43, Mick wrote:
2 >On Sunday 14 Sep 2014 17:16:09 Joseph wrote:
3 >> On 09/14/14 18:57, Samuli Suominen wrote:
4 >> >On 14/09/14 18:46, Joseph wrote:
5 >> >> I get a strange error when trying to emerge xscreensaver"
6 >> >>
7 >> >> checking for bc... no
8 >> >>
9 >> >> configure: error: Your system doesn't have "bc", which has been a
10 >> >> standard
11 >> >>
12 >> >> part of Unix since the 1970s. Come back when your
13 >> >>
14 >> >> vendor
15 >> >>
16 >> >> has grown a clue.
17 >> >>
18 >> >> What is "bc"?
19 >> >
20 >> >It's calculator application and it's listed as a dependency in the
21 >> >xscreensaver ebuild in the official Portage tree:
22 >> >
23 >> >ssuominen@null ~/gentoo-x86/x11-misc/xscreensaver $ grep sys-devel/bc
24 >> >*.ebuild
25 >> >xscreensaver-5.29.ebuild: sys-devel/bc
26 >> >xscreensaver-5.30.ebuild: sys-devel/bc
27 >> >
28 >> >So no way to "emerge xscreensaver" without having sys-devel/bc getting
29 >> >installed first.
30 >>
31 >> The problem was sys-devel/bc. I had it installed.
32 >> Re-emerging sys-devel/bc solved the problem.
33 >
34 >This sounds like something was wrong/corrupt in your system. Did you re-
35 >emerge it with -1aDv? If not then unmerge it and then emerge it using -1, or
36 >just emerge xscreensaver, which ought to bring it in. To be honest there are
37 >lot of programs that depend on bcm so any of them would bring it in as a
38 >dependency.
39 >--
40 >Regards,
41 >Mick
42
43 Good suggestion, I did it with -1 adding D will not hurt.
44
45 --
46 Joseph