Subject: Re: Fix for xmkmf errors
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: tech-pkg
Date: 07/05/2001 12:01:46
It's now broken .. differently.

I updated pkgsrc, reinstalled the buildlink-x11 package, and it now
explodes as follows:

===> Configuring for xli-1.16nb1
Linking zlib files into /usr/pkgobj/graphics/xli/work.i386/.buildlink.
Linking png files into /usr/pkgobj/graphics/xli/work.i386/.buildlink.
imake -DBuildLink -DUseInstalled -I/usr/X11R6/lib/X11/config
In file included from /usr/X11R6/lib/X11/config/buildlinkX11.rules:27,
                 from /usr/X11R6/lib/X11/config/Imake.tmpl:1397,
                 from Imakefile.c:8:
/usr/X11R6/lib/X11/config/X11.rules:81: warning: `TopXInclude' redefined
/usr/X11R6/lib/X11/config/buildlinkX11.rules:21: warning: this is the location of the previous definition
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f- -I/usr/pkgobj/graphics/xli/work.i386/.buildlink/include -I/usr/pkgobj/graphics/xli/work.i386/.buildlink/include  -- -I../zlib -I../libpng  -I/usr/pkgobj/graphics/xli/work.i386/.buildlink/include   -DCSRG_BASED   -DFUNCPROTO=15 -DNARROWPROTO  -DHAVE_GUNZIP  -- bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c  g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c jpeglib.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c  value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c doslib.c tga.c bmp.c pcd.c png.c xlito.c          > .depend
In file included from xli.h:18,
                 from bright.c:13:
ddxli.h:12: X11/X.h: No such file or directory
ddxli.h:13: X11/Xlib.h: No such file or directory
ddxli.h:14: X11/Xutil.h: No such file or directory
ddxli.h:15: X11/Xatom.h: No such file or directory
ddxli.h:16: X11/cursorfont.h: No such file or directory
....

Note that I'm using whatever XFree 3.x was included with 1.5 ..

						- Bill