Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 20:53:58 +0100
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39378: XFree86-4-libraries fails to install with modified LOCALBASE
Message-ID:  <E17Jg62-000BH2-00@voi.aagh.net>

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

>Number:         39378
>Category:       ports
>Synopsis:       XFree86-4-libraries fails to install with modified LOCALBASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 16 13:00:12 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Hurst
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Very Little
>Environment:
System: FreeBSD voi.freak.lan 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 16 16:35:50 BST 2002 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386

>Description:
	I currently have XFree86-libraries-4.2.0_1 installed to /usr/pkg; I
	mistakenly set PREFIX when I installed it, so now all the ports that
	expect to find it in X11BASE are failing to compile.

	A portupgrade -f, however, fails on installation:

/usr/bin/install -c -m 0644 libXrender.a /usr/X11R6/lib
ranlib  /usr/X11R6/lib/libXrender.a
+ /usr/bin/install -c -m 0444 Xrender.h /usr/X11R6/include/X11/extensions
install in lib/Xrender done
installing in lib/Xft...
make: don't know how to make /usr/pkg/include/X11/Xlib.h. Stop
*** Error code 2

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

	Note everything else is being installed to X11BASE, but X11/Xlib.h is
	going to PREFIX/LOCALBASE.  This same port installed happily with PREFIX
	(and hence the port's concept of X11BASE) set to LOCALBASE (/usr/pkg).
>How-To-Repeat:
	LOCALBASE=/usr/pkg
	PREFIX=${LOCALBASE}
	cd /usr/ports/x11/XFree86-4-libraries && make all install clean
	unset PREFIX
	portupgrade -f XFree86-libraries
>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?E17Jg62-000BH2-00>