I have just upgraded my system to Leap 15.0 and I am now installing the drivers. Since a long time ago until version Leap 42.3 I always installed the drivers for my HP1020 printer (ok, it is old but still working fine) from http://foo2zjs.rkkda.com/ without any problem. I am trying to install these same drivers into 15.0 the same way I used with the previous versions, but when I enter the command MAKE to compile I receive the following error message:
> make
#
# Dependencies...
#
***
*** Error: dc is not installed!
***
*** Install dc package
*** for Ubuntu: sudo apt-get install dc
***
make: *** [Makefile:394: all-test] Error 1
>
I suppose “dc” is a compiler. I have the C/C++ compilers installed (gcc, gcc7, gcc-c++, gcc7-c++) and the program files I am trying to compile are the same I have used with previous versions. Further more I tried to install the drivers from the 15.0 repositories, but I could not find the proper ones. With Leap 42.3 there was a driver for the HP1020 (which I did not install).
Please, could someone shed some light on this problem?
Thank you in advance.
Is the ‘bc’ package installed? That provides ‘/usr/bin/bc’ and ‘/usr/bin/dc’.
# rpm -qi bc
Name : bc
Version : 1.07.1
Release : lp150.1.46
Architecture: x86_64
Install Date: Tue 22 May 2018 16:01:11 NZST
Group : Productivity/Scientific/Math
Size : 280127
License : GPL-2.0+
Signature : RSA/SHA256, Sun 13 May 2018 09:13:30 NZST, Key ID b88b2fd43dbdc284
Source RPM : bc-1.07.1-lp150.1.46.src.rpm
Build Date : Sun 13 May 2018 09:13:23 NZST
Build Host : lamb20
Relocations : (not relocatable)
Packager : https://bugs.opensuse.org
Vendor : openSUSE
URL : https://www.gnu.org/software/bc/
Summary : GNU Command Line Calculator
Description :
bc is an interpreter that supports numbers of arbitrary precision and
the interactive execution of statements. The syntax has some
similarities to the C programming language. A standard math library is
available through command line options. When used, the math library is
read in before any other input files. bc then reads in all other files
from the command line, evaluating their contents. Then bc reads from
standard input (usually the keyboard).
The dc program is also included. dc is a calculator that supports
reverse-polish notation and allows unlimited precision arithmetic.
Macros can also be defined. Normally, dc reads from standard input but
can also read in files specified on the command line. A calculator with
reverse-polish notation saves numbers to a stack. Arguments to
mathematical operations (operands) are "pushed" onto the stack until
the next operator is read in, which "pops" its arguments off the stack
and "pushes" its results back onto the stack.
Distribution: openSUSE Leap 15.0