Subject: Re: pkg/12127: xscreensaver can't be compiled
To: None <okatsu@cvn.bai.ne.jp>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: netbsd-bugs
Date: 02/04/2001 12:49:36
On Sat, Feb 03, 2001 at 11:50:11PM -0800, okatsu@cvn.bai.ne.jp wrote:
> NetBSD rin 1.5R NetBSD 1.5R (RIN) #0: Fri Feb  2 14:21:11 JST 2001     okatsu@rin:/usr/src/sys/arch/i386/compile/RIN i386
[...]
> xscreensaver can't be compiled.
> xscreensaver version is 3.25. 

Hrm. I had no problem on a similar machine (1.5, release version
though, also i386) when I built xscreensaver just now.

Do a cvs update -dP in pkgsrc/x11/xscreensaver just to be sure.

> Error message is here.
> 
> externs -Wno-format -Wp,-lang-c89 -E
> checking for working const... yes
> checking for inline... inline
> checking for bc... no
> 
> configure: error: Your system doesn't have "bc", which has been a standard
>                   part of Unix since the 1970s.  Come back when your vendor
>                   has grown a clue.

We most *definitely* have a bc (btw, gotta love Jamie Zawinski's
configure comments). Do a which bc, it should be in /usr/bin. You
might make sure that /usr/bin is in your path, though that really
oughtn't be a problem with pkgsrc.

If there's no bc on your machine, your install is incomplete. Since
base.tgz provides /usr/bin/bc, this is a little puzzling.

Have you moved things around on your system?

       ~ g r @ eclipsed.net