tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

native X.org question: libXt >= 1.3.1 on NetBSD 10



Hi!

I looked at the xmh build failure:

http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-10.0-x86_64/20250123.0504/xmh-1.0.5/configure.log

--- begin quote ---
checking for XMH... no
configure: error: Package requirements (xaw7 xmu xt >= 1.3 x11 xbitmaps >= 1.1.0 xproto >= 7.0.17) were not met:

Package dependency requirement 'xt >= 1.3' could not be satisfied.
Package 'xt' has version '1.2.1', required version is '>= 1.3'

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XMH_CFLAGS
and XMH_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error code 1
--- end quote ---

The pkgsrc Makefile already has
BUILDLINK_API_DEPENDS.libXt+=   libXt>=1.3
but it doesn't seem to do anything.

So I replaced libXt/buildlink3.mk with a version that just checks the
pkg-config file:

--- begin quote ---
 $NetBSD$

BUILTIN_PKG:=           libXt
PKGCONFIG_FILE.libFS=   ${X11BASE}/lib/pkgconfig/xt.pc

.include "../../mk/buildlink3/pkgconfig-builtin.mk"
.include "../../mk/x11.builtin.mk"
--- end quote ---

Now I see:

=> Full dependency libXmu>=1.0.0: NOT found
=> Verifying bin-install for ../../x11/libXmu
===> Binary install for libXmu>=1.0.0
=> Installing libXmu>=1.0.0 from /usr/pkgsrc/packages/All;file:///usr/pkgsrc/packages/All
pkg_add: no pkg found for 'libXmu>=1.0.0', sorry.
pkg_add: 1 package addition failed
=> No binary package found for libXmu>=1.0.0; installing from source.
=> Bootstrap dependency digest>=20211023: found digest-20220214
ERROR: This package has set PKG_SKIP_REASON:
ERROR: Package set is using native X11 component
*** Error code 1

I'm not sure how to get xmh to build on NetBSD 10 except by switching
to modular X.org.

Am I missing something?
 Thomas


Home | Main Index | Thread Index | Old Index