Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Apr 2002 14:14:42 +0100
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36811: XFree86-4-libraries cannot find version.def
Message-ID:  <E16tq1i-000IxC-00@voi.aagh.net>

next in thread | raw e-mail | index | archive | help

>Number:         36811
>Category:       ports
>Synopsis:       XFree86-4-libraries cannot find version.def
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 06 05:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
Very little
>Environment:
System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386

	Upgrading from XFree-4-libraries 4.1.0_1 to 4.2.0_1
	LOCALBASE = /usr/pkg
	X11BASE is and always has been unmodified

>Description:
	During configure, the port shows:

/ports/x11/XFree86-4-libraries/scripts/configure
cp: /usr/X11R6/lib/X11/config/version.def: No such file or directory

	A quick sniff about locates this file at
	/usr/pkg/lib/X11/config/version.def

	During build, the compile fails with:

./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Ima
kefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
In file included from config/cf/FreeBSD.cf:552,
                 from config/cf/Imake.tmpl:94,
                  from Imakefile.c:13:
config/cf/xfree86.cf:14: version.def: No such file or directory
./config/imake/imake: Exit code 1.
Stop.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries/work/xc.
*** Error code 1

	LOCALBASE has been modified, but X11BASE has always been the
	default /usr/X11R6; presumably the port is looking in /usr/local,
	then defaulting to /usr/X11R6

	ports/36259 appears to be related.

>How-To-Repeat:
	Install system, modify LOCALBASE
	
	cd /usr/ports/x11/XFree86-4-libraries/ && make
>Fix:

	A quick grep -R locates this in scripts/configure.

	Applying:

109c109
< cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf
---
> cp ${LOCALBASE}/lib/X11/config/version.def ${WRKSRC}/config/cf

	Fixed it for me, although I have strong doubts that this
	is the correct fix :)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16tq1i-000IxC-00>