Subject: pkgsrc can't find
To: None <netbsd-users@netbsd.org>
From: Joe Reed <jnr@po.cwru.edu>
List: netbsd-users
Date: 01/25/2002 22:39:23
hi all,

ive just recently installed NetBSD-1.5ZA, then downloaded, compiled, and
installed the 2002-01-19 snapshot from the tarballs on the ftp site.  i then
installed XFree86 4.2.0 as downloaded from ftp.xfree86.org

then i got the current tarball of pkgsrc from
NetBSD-current/tar_files/pkgsrc.tar.gz  however when i do a make install on
gtk, i get the following error:

----- snip -----
In file included from gdk.c:43:
/usr/pkg/share/x11-links/include/X11/Xos.h:284: X11/Xarch.h: No such file or
directory
gmake[2]: *** [gdk.lo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/gtk/work/gtk+-1.2.10/gdk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/gtk/work/gtk+-1.2.10'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/gtk
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/gtk
------end snip -------------

however, if i do  $ ls -l /usr/pkg/share/x11-links/include/X11/
i get:
lrwxr-xr-x  1 root  wheel  30 Jan 24 01:15
/usr/pkg/share/x11-links/include/X11/Xauth.h ->
 /usr/X11R6/include/X11/Xauth.h

and if i $ ls -l /usr/X11R6/include/X11/Xauth.h
-r--r--r--  1 root  wsrc  4291 Jan 19 15:30 /usr/X11R6/include/X11/Xauth.h

so the files exist, but how do i get pkgsrc to know they're there?

--joe

-------------------------------------------------------