|
2026-10-28
| ||
| 14:27 | • Closed ticket [cfe22c45]: Tk fails to link with -lcups on OpenBSD: configure ignores cups-config --ldflags plus 8 other changes artifact: c9459b00 user: jan.nijtmans | |
|
2026-09-27
| ||
| 20:11 | • Closed ticket [3ac12ff3]: configure may not find cups.h plus 7 other changes artifact: 572b9d79 user: jan.nijtmans | |
| 19:49 | Fix [3ac12ff34c]: configure may not find cups.h check-in: 94362ce1 user: jan.nijtmans tags: core-9-0-branch | |
| 19:46 | Fix [3ac12ff34c]: configure may not find cups.h check-in: bd2f2ed1 user: jan.nijtmans tags: trunk, main | |
| 15:17 | • Ticket [3ac12ff3] configure may not find cups.h status still Open with 3 other changes artifact: c4658445 user: serhiy.storchaka | |
| 15:14 | Fix [3ac12ff34c]: configure may not find cups.h. Add the output of "cups-config --cflags" to CUPS_CFLAGS, so cups.h is found in a non-default prefix, e.g. /usr/local/include on OpenBSD. closed check-in: f99d3c2c user: serhiy.storchaka tags: configure-cups-cflags | |
|
2025-12-01
| ||
| 05:23 | • New ticket [3ac12ff3] configure may not find cups.h. artifact: 2d895384 user: stu | |
| 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. | |||
