Subject: bin/9276: build chokes in libexec/kxd if you don't have X11 on the system
To: None <gnats-bugs@gnats.netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: netbsd-bugs
Date: 01/22/2000 20:18:38
>Number: 9276
>Category: bin
>Synopsis: build chokes in libexec/kxd if you don't have X11 on the system
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 22 20:18:00 2000
>Last-Modified:
>Originator: Jun-ichiro itojun Hagino
>Organization:
itojun.org
>Release: NetBSD-current, cvs update on Jan 21 noon UTC
>Environment:
NetBSD turmeric.itojun.org 1.4Q NetBSD 1.4Q (TURMERIC.v6) #212: Sat Jan 22 09:24:24 PST 2000 itojun@turmeric.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/TURMERIC.v6 i386
>Description:
if you:
- don't have X11 on your system, and
- you are building crypto-intl
"make build" chokes in compilation of crypto-intl/libexec/kxd
all ===> ../crypto-intl/libexec/kxd
cc -O2 -Werror -I. -I/usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../dist/heimdal/appl/kx -I/usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../include -I/usr/include/krb5 -I/usr/include/openssl -I/usr/X11R6/include -DHAVE_CONFIG_H -c /usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../dist/heimdal/appl/kx/kxd.c
In file included from /usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../dist/heimdal/appl/kx/kxd.c:34:
/usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../dist/heimdal/appl/kx/kx.h:99: X11/X.h: No such file or directory
/usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../dist/heimdal/appl/kx/kx.h:100: X11/Xlib.h: No such file or directory
/usr/home/itojun/NetBSD/cryptosrc-intl/crypto-intl/libexec/kxd/../../dist/heimdal/appl/kx/kx.h:101: X11/Xauth.h: No such file or directory
*** Error code 1
>How-To-Repeat:
on a system without X11, try to do a make build.
>Fix:
temporary workaround: remove kxd from SUBDIR rule in
crypto-intl/libexec/Makefile.frag
more proper fix:
(1) make crypto-intl/libexec/kxd/Makefile clever enough to detect
existence of X11
(2) move kxd to x11 source code tree
>Audit-Trail:
>Unformatted: