r/linuxmint • u/Ce0ra • 21d ago
Support Request Error installing CUPS
Hi, all. I'm new to Linux and am trying to install OpenPrinting CUPS following the instructions in the source code. Everything seems to work fine, but when I run "make test" the test errors. I can't find anything online that seems similar to the error code I see. Looking around reddit, I see that CUPS development maybe stopped a long time ago. Is there something else with a similar function I could try instead? If not, does anybody know what to do about this error?
The error is in Section 1 - IPP Compliance Tests
PWG 5100.12 section 6.2 - Required Printer Description Attributes [FAIL]
RECEIVED: 9882 bytes in response
status-code = successful-ok (successful-ok)
EXPECTED: media-supported WITH-ALL-VALUES /^(choice(_((custom|na|asme|roc|oe|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)){2,}|(custom|na|asme|roc|oe|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)$/
GOT: media-supported="na_letter_8.5x11in"
GOT: media-supported="na_legal_8.5x14in"
GOT: media-supported="na_executive_7.25x10.5in"
GOT: media-supported="na_ledger_11x17in"
GOT: media-supported="iso_a3_297x420mm"
GOT: media-supported="iso_a4_210x297mm"
GOT: media-supported="custom_148.52x209.9mm_148.52x209.9mm"
GOT: media-supported="jis_b5_182x257mm"
GOT: media-supported="iso_b5_176x250mm"
GOT: media-supported="na_number-10_4.125x9.5in"
GOT: media-supported="iso_c5_162x229mm"
GOT: media-supported="iso_dl_110x220mm"
GOT: media-supported="na_monarch_3.875x7.5in"
2
Upvotes
•
u/AutoModerator 21d ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/senorda 21d ago
cups is installed by default on mint, why were you trying to install it from source?
3
u/BranchLatter4294 20d ago
Why are you doing this? Is the one already installed not working?
2
u/frostimunki 19d ago edited 19d ago
Check if cups is installed and listening by
If cups is already installed you'll see a response showing the binary path of your installed cups. You don't need to reinstall cups in that case.
Edit: Apple discontinued cups development around 2020, it's now maintained by OpenPrinting.
https://openprinting.github.io/
1
u/jr735 Linux Mint 22.1 Xia | IceWM 20d ago
https://wiki.debian.org/DontBreakDebian/
You're not on Windows. Don't treat it like Windows. You're also not running Linux From Scratch. Don't treat it like LFS.
1
u/d4rk_kn16ht Linux Mint 22.2 Zara | Cinnamon 20d ago
CUPS is already installed, what are you doing?
Are you trying to modify CUPS & recompile it??
1
u/Due-Result7928 20d ago
Hi, all. I'm new to Linux and am trying to install OpenPrinting CUPS following the instructions in the source code.
cups is installed and there is supporting almost any printer.