Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 15:31:25 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        x11@FreeBSD.org
Subject:   x11/libX11 configure: error: /X11 doesn't exist or
Message-ID:  <201505121331.t4CDVP4C050405@fire.js.berklix.net>

next in thread | raw e-mail | index | archive | help
Hi x11@FreeBSD.org as maintainer of ports/x11/libX11

I seem to have worked round a problem my local system couldn't
automaticaly detect dependency for, but I'm not clear if anything
on freebsd ports/ needs fixing ?  What I observed:

I have a self compiled src + ports for a 10.1-RELEASE with:

uname -a
	FreeBSD lapr.js.berklix.net 10.1-RELEASE FreeBSD 10.1-RELEASE
	#0: Sat Feb 28 16:29:20 CET 2015
	jhs@lapr.js.berklix.net:/usr/src/sys/amd64/compile/LAPR.small
	amd64

pkg info | wc -l
	1124

Initial background to problem:
	mail/claws-mail : textproc/docbook-utils : print/tex-jadetex
	: print/texlive-texm : print/texlive-base : /usr/local/include/X11
	: x11/libX11 10.1=libX11-1.6.2_2,1 current=1.6.2_3,1

With 10.1-RELEASE:
	cd x11/libX11 ; make
	checking for poll... (cached) yes
	checking keysym definitions... configure: error: Cannot find keysymdef.h
	===>  Script "configure" failed unexpectedly.
	Please report the problem to x11@FreeBSD.org [maintainer]
	and attach the
	"/s4/data/release/10.1-RELEASE/usr/ports/x11/libX11/work/libX11-1.6.2/config.log"
	
(Previously 10.1 complained error: /X11 as with current:)

With last night's Current:
	cd /pri/FreeBSD/branches/-current/ports 
	ls -l .ctm_status 	# May 11 22:05 .ctm_status
	cat .ctm_status		# ports-cur 10900
	setenv PORTSDIR /pri/FreeBSD/branches/-current/ports 
	unsetenv NOCLEANDEPENDS
	cd x11/libX11
	make clean
	echo /var/db/ports/*libX11*	# nothing
	make	# SHA256 Checksum OK for xorg/lib/libX11-1.6.2.tar.bz2.
		checking keysym definitions... configure: error:
		/X11 doesn't exist or isn't a directory 
		===>  Script "configure" failed unexpectedly.

	To avoid big debug files on mail list I ran
		local/sbin/pkg-static info -g -Ea 
	to	http://berklix.com/~jhs/tmp/pkg_info
	& amd64/-current/ports/x11/libX11/work/libX11-1.6.2/config.log 
	to	http://berklix.com/~jhs/tmp/libX11_config.log

I then tried:
	cd /usr/ports/x11; find . -name keysymdef.h
		./xproto/work/xproto-7.0.26/keysymdef.h
		./xproto/work/stage/usr/local/include/X11/keysymdef.h
	cd /usr/ports/x11/xproto 
	make clean
	make deinstall
	make install
& problem seems to be gone (print/texlive-base now breaks on other things)

I see x11/libX11/Makefile has USE_XORG= ... xproto:both
& MK/bsd.xorg.mk has xproto strings.

Any comments ?

Cheers,
Julian
--
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
	Indent previous with "> ".	Reply Below as a play script.
	Send plain text, Not quoted-printable, HTML, or base64.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505121331.t4CDVP4C050405>