[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditionally building `grub-emu'
From: |
Yoshinori K. Okuji |
Subject: |
Re: Conditionally building `grub-emu' |
Date: |
Sat, 28 Oct 2006 15:47:09 +0200 |
User-agent: |
KMail/1.8.2 |
On Sunday 22 October 2006 16:46, Thomas Schwinge wrote:
> On request / suggestion / whatever ;-) of Marco I created the following
> patch. Its origin: I was trying to build GRUB2 on a system where no
> (n)curses header files were installed (which configure even detected
> correctly, but didn't complain about it) and then the build stopped with
> an error when building `grub-emu''s object files. As `grub-emu' is
> considered to ``only'' be a debugging tool, the patch disables it for a
> default build (and thusly also avoids the (n)curses dependency for a
> default build).
This patch is good. But we need a copyright assignment to apply it. I will
send another mail to you later.
> Running `make grub_script.tab.h' and then again `make' makes the build
> succeed. So my guess is that there is a missing dependency somewhere and
> it wasn't a problem so far because the file was built earlier (for
> `grub-emu'?). Someone who knows the dependencies between the source
> files should be able to quickly spot the missing one.
For this problem, I think we should remove the inclusion of script.h in
normal.h, and add a dependency explicitly to normal.mod. I'll try.
Thanks,
Okuji