Subject: x11-links -- X11/Xarch.h: No such file
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/26/2002 16:07:43
Trying to build wm/bbkeys (Makefile,v 1.7) under NetBSD/i386 1.6 with
XFree86 4.2.0 and I received:

c++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/pkg/include
-I/usr/X11R6/include    -DINTERLACE
-DGLOBAL_NOBB=\"/usr/X11R6/share/bbtools/bbkeys.nobb\"  -I/usr/pkg/include
-I/usr/X11R6/include -I/usr/pkg/include -I/usr/X11R6/include -O2
-I/usr/X11R6/include -c
In file included from Basewindow.hh:52,
                 from bbkeys.hh:32,
/usr/pkg/share/x11-links/include/X11/Xos.h:284: X11/Xarch.h: No such file
or directory

I do have:
-r--r--r--  1 root  wheel  3511 Sep  8 05:57 /usr/X11R6/include/X11/Xarch.h

But it is not under /usr/pkg/share/x11-links/include/X11/.

I have,v 1.20 and,v 1.1058.

Note that this system was running 1.5.3 and old XFree86 3.3.x when all
these /usr/pkg/share/x11-links/include/X11 symlinks were made.

I see that my x11-links-0.8 package (with pkg_info -L) doesn't contain
that X11/Xarch.h file.

So I made that symlink manually myself.

lrwxr-xr-x  1 root  wheel  30 Sep 26 16:03 /usr/pkg/share/x11-links/include/X11/Xarch.h -> /usr/X11R6/include/X11/Xarch.h

And bbkeys built.

What is the proper "pkgsrc" way to handle this x11-links missing

Should I send-pr this?

   Jeremy C. Reed