Subject: Re: x11 buildlink symlinks wrong when LOCALBASE is /usr
To: Jeremy C. Reed <>
From: Juan RP <>
List: tech-pkg
Date: 02/04/2004 21:26:56
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 4 Feb 2004 12:21:38 -0800 (PST)
"Jeremy C. Reed" <> wrote:

> This is NetBSD 1.6.2_RC3. My LOCALBASE is /usr.
> Building graphics/glut fails with:
> cc -c -I../../../include -O2
> -I/tmp/pkgsrc/graphics/glut/work.bigfour/.x11-buildlink/include
> glut_bitmap.c  -fPIC -DPIC -o .libs/glut_bitmap.o
> In file included from glut_bitmap.c:8:
> glutint.h:23: X11/Xlib.h: No such file or directory
> glutint.h:24: X11/Xutil.h: No such file or directory
> In file included from glutint.h:26,
>                  from glut_bitmap.c:8:
> ../../../include/GL/glx.h:38: X11/Xlib.h: No such file or directory
> ../../../include/GL/glx.h:39: X11/Xutil.h: No such file or directory

Looks like you have same problem I had some days ago, changing
${LN} -sf to ${LN} -f in x11-links Makefile, and rebuilding it should fix
this problem.

Johnny C. Lam told me that he knows the problem and it will be fixed soon.

Anyway, I will don't use symlinks for x11-links on my systems until it have
been fixed.

Juan RP <>

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (NetBSD)