You are not logged in.

#1 2010-12-26 05:31:47

StrongDrink
Member
Registered: 2010-12-14
Posts: 28

Error: dc is not installed

Hello. i am trying to make foo2zjs for my laserjet 1020.. but whenever i try.. it gives me this.

#
# Dependencies...
#
      ***
      *** Error: dc is not installed!
      ***
      *** Install dc package
      *** for Ubuntu: sudo apt-get install dc
      ***
make: *** [all-test] Error 1

is this a dependency for make? or the program? if i try to install "pacman -S dc" it says it doesnt exist.
help! big_smile thanks in advance

Offline

#2 2010-12-26 06:25:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Error: dc is not installed

Install "bc"

Offline

#3 2010-12-26 08:57:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error: dc is not installed

We have a package called pkgtools, which has an app called pkgfile. That app will tell you which package from the repos has the file you want:

[karol@black ~]$ pkgfile dc
community/9base
community/plan9port
extra/bc
[karol@black ~]$ pacman -Ql bc
bc /usr/
bc /usr/bin/
bc /usr/bin/bc
bc /usr/bin/dc
bc /usr/share/
bc /usr/share/info/
bc /usr/share/info/bc.info.gz
bc /usr/share/info/dc.info.gz
bc /usr/share/man/
bc /usr/share/man/man1/
bc /usr/share/man/man1/bc.1.gz
bc /usr/share/man/man1/dc.1.gz

'bc' package has both 'bc' and 'dc' binaries.

Offline

#4 2010-12-26 14:51:33

StrongDrink
Member
Registered: 2010-12-14
Posts: 28

Re: Error: dc is not installed

thanks! got it installed and the pkg thing is awesome.

Offline

Board footer

Powered by FluxBB