tech-pkg archive

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

Re: test for curses before bootstrap




To: tech-pkg%NetBSD.org@localhost

Subject: Re: test for curses before bootstrap

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>

Date: Mon, 07 Jan 2008 22:29:26 -0500


David Griffith 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.


I PRed this two years ago after experiencing a bootstrap failure:
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=28926
I included a patch in the PR but it (or something equivalent) hasn't
been committed.

Regards,

Dave





Follow-Ups:

Re: test for curses before bootstrap
From: Brandon Bergren




Prev by Date: Re: x11/openmotif broken?

Next by Date: Re: test for curses before bootstrap

Previous by Thread: Re: test for curses before bootstrap

Next by Thread: Re: test for curses before bootstrap

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index