| Ticket UUID: | 3ac12ff34c92a7e518425abefdfbd7173bd8ddde | |||
| Title: | configure may not find cups.h | |||
| Type: | Bug | Version: | current | |
| Submitter: | stu | Created on: | 2025-12-01 05:23:47 | |
| Subsystem: | 84. Unix Build | Assigned To: | jan.nijtmans | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2026-09-27 20:11:42 | |
| Resolution: | Fixed | Closed By: | jan.nijtmans | |
| Closed on: | 2026-09-27 20:11:42 | |||
| Description: |
This also affects the Mac build (though I guess they're ok since they haven't complained). Maybe add bug categories for printing and/or general config/build.
Here's what needs fixing (q&d, maybe there's a nicer way):
--- configure.ac.orig Mon Dec 1 00:20:58 2025
+++ configure.ac Mon Dec 1 00:21:23 2025
@@ -445,7 +445,7 @@
found_cups=no
else
found_cups=yes
- CUPS_CFLAGS="-DHAVE_CUPS"
+ CUPS_CFLAGS="-DHAVE_CUPS `cups-config --cflags`"
CUPS_LIBS=`cups-config --libs`
fi
AC_MSG_RESULT([$found_cups])
| |||
| User Comments: |
jan.nijtmans added on 2026-09-27 20:11:42:
Fixed [bd2f2ed1551a3c59|here]. Also backported to core-9-0-branch. Thanks for the report and the fix. And thanks for reminding! serhiy.storchaka added on 2026-09-27 15:17:57: Reproduced on OpenBSD 7.9 with the cups-libs package: "checking for cups/cups.h... no", and Tk is silently built without CUPS support. With `cups-config --cflags` added to CUPS_CFLAGS, cups.h is found and Tk links with libcups. Proposed fix in branch configure-cups-cflags. The OpenBSD port applies the same patch. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki