Subject: Re: Building games/phantasia
To: Luke Mewburn <lukem@NetBSD.org>
From: John Franklin <franklin@elfie.org>
List: current-users
Date: 11/18/2003 17:57:32
On Tue, Nov 18, 2003 at 12:34:56PM +1100, Luke Mewburn wrote:
> On Mon, Nov 17, 2003 at 09:53:12AM -0500, John Franklin wrote:
>   | For the last several days I've been having problems building a couple
>   | files in the games/phantasia directory.  In short, the compiler is
>   | unable to find curses.h.  The patch below fixes it, but I'm not
>   | convinced that it is the right fix.
> 
> What's the actual build error?

dependall ===> games/phantasia
#   compile  host_phantglobs.lo
cc -O -I/usr/src/games/phantasia -c -o host_phantglobs.lo.o
host_phantglobs.c
In file included from host_phantglobs.c:7:
/usr/src/games/phantasia/include.h:8:20: curses.h: No such file or
directory
In file included from /usr/src/games/phantasia/include.h:20,
                 from host_phantglobs.c:7:
/usr/src/games/phantasia/phantstruct.h:36: error: parse error before
"bool"
/usr/src/games/phantasia/phantstruct.h:36: warning: no semicolon at end
of struct or union
/usr/src/games/phantasia/phantstruct.h:36: warning: no semicolon at end
of struct or union
/usr/src/games/phantasia/phantstruct.h:37: warning: data definition has
no type or storage class
/usr/src/games/phantasia/phantstruct.h:55: error: parse error before
"p_palantir"
[snip many many cascading errors]

[yet...]
deathmitten# ls -l /usr/src/makestuff/dest/usr/include/curses.h 
-r--r--r--  1 root  wheel  25200 Oct 17 16:32
/usr/src/makestuff/dest/usr/include/curses.h

And, of course, all the other games build just fine, including the ones
that need curses like mille.

jf
-- 
John Franklin
franklin@elfie.org
ICBM: N37 12'54", W80 27'14" Z+2100'