Subject: Re: blackbox
To: None <tech-pkg@netbsd.org>
From: Daniel R. Killoran,Ph.D. <drkilloran@speakeasy.net>
List: tech-pkg
Date: 04/13/2005 15:40:46
I had hopes that emacs would compile and install now that I have the 
right pkgsrc, but alas, no.
It still gives:

> cc -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include 
> -L/usr/pkg/lib -L/usr/local/lib
>   -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include 
> -L/usr/pkg/lib -L/usr/local/lib
> -I/usr/pkg/include -I/usr/X11R6/include -I/usr/include -Demacs 
> -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I
> /home/pkgsrc/editors/emacs/work/emacs-21.4/src -I/usr/X11R6/include 
> -I/usr/pkg/include -I/usr/loca
> l/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/X11R6/include -O2 
> -fno-zero-initialized-in-bss -I
> /usr/pkg/include -I/usr/X11R6/include -I/usr/include dispnew.c
> In file included from dispnew.c:41:
> frame.h:88: error: redefinition of `struct frame'
> gmake[1]: *** [dispnew.o] Error 1
> gmake[1]: Leaving directory 
> `/home/pkgsrc/editors/emacs/work/emacs-21.4/src'
> gmake: *** [src] Error 2
> *** Error code 2
>
> Stop.
> make: stopped in /home/pkgsrc/editors/emacs
> ===>
> ===> There was an error during the ``build'' phase.
> ===> Please investigate the following for more information:
> ===>      * log of the build
> ===>      * /home/pkgsrc/editors/emacs/work/.work.log
> ===>
> *** Error code 1
>
> Stop.
> make: stopped in /home/pkgsrc/editors/emacs

There is no clear reason in the source, so I am going to repeat this 
with -E to get the macro expansions.
Unless, of course, some one can suggest something better!

Dan Killoran