OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
155 stars 87 forks source link

Can't build this software #339

Closed kacperpaczos closed 1 month ago

kacperpaczos commented 8 months ago

I used the commands to build this software from README and I have:

checking pkg-config is at least version 0.9.0... yes checking for CUPS SERVERBIN dir... configure: error: No CUPS pkgconfig file present and no CUPS SERVERBIN dir defined in configure options. make: No targets specified and no makefile found. Stop. [sudo] password for kacper:
make:
No rule to make target 'install'. Stop.

What am I doing wrong?

zdohnal commented 1 month ago

Do you have build requirements installed? The message says it cannot find CUPS pkgconfig file, which is in CUPS since series 2.4.x - so you might have missing CUPS development files, or your CUPS is too old. If CUPS is too old, you have to define the path yourself (usually /usr/lib/cups) as configure option.