tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: test for curses before bootstrap

On Mon, 7 Jan 2008, Adam Hoka wrote:

> Wouldn't it be a good idea to include a check for curses headers during
> bootstrap? I know its RTFM, but it may be non-trivial to track down why
> the bootstrap stoped.
> Something like this:
>   echo_msg "Looking for curses header files"
>   if [ ! -f /usr/include/curses.h ] || [ ! -f /usr/include/ncurses.h ]; then
>           die "You need curses header files to bootsrap pkgsrc (see 
> README.$opsys)"
>   fi

Most Linux distros seem to have a default lack of a development headers,
so this sounds like a very good idea.

David Griffith

Home | Main Index | Thread Index | Old Index