Subject: Re: Building games/phantasia
To: John Franklin <franklin@elfie.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 11/19/2003 10:05:46
On Tue, Nov 18, 2003 at 05:57:32PM -0500, John Franklin wrote:
  | 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

This is a "host" compile, not a "target" compile, because host_phantglobs.lo
is compiled into the host tool `setup' and run on the host.
So it's using the "host" compiler (cc) and the includes from /usr/include.

What host platform are you using again?