Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10856 closed defect (fixed)

buildroot fatal error: ncurses/curses.h: No such file or directory for grub

Reported by: Christophe Nowicki <cscm@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: grub buildroot libncurses Cc:


Hi Girls,

Here is my make V=99 output :

$ make V=99
 cd  && /bin/bash ./config.status Makefile 
/bin/bash: ./config.status: No such file or directory
make[4]: *** [Makefile] Error 127
make[4]: Leaving directory `/home/cscm/openwrt/trunk/build_dir/host/grub-0.97'
make[3]: *** [/home/cscm/openwrt/trunk/build_dir/host/grub-0.97/.built] Error 2
make[3]: Leaving directory `/home/cscm/openwrt/trunk/package/grub'
make[2]: *** [package/grub/host/compile] Error 2
make[2]: Leaving directory `/home/cscm/openwrt/trunk'
make[1]: *** [/home/cscm/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/cscm/openwrt/trunk'
make: *** [world] Error 2

The configure script #fail, because libncurses is not avaiable (as you can see in the config.log file) and configure output:

checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
configure: creating ./config.status
 cd  && /bin/bash ./config.status Makefile 
/bin/bash: ./config.status: No such file or directory

I'am working on revision 29906.

$  svn update 
At revision 29906.

I suggest to add libncurses as an dependancy for grub, in
package/grub/Makefile :

  DEPENDS:=@TARGET_x86 +libncurses

I've attached the .config and the config.log file.

Best Regards,

Attachments (2)

.config (126.5 KB) - added by Christophe Nowicki <cscm@…> 6 years ago.
config.log (40.8 KB) - added by Christophe Nowicki <cscm@…> 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Christophe Nowicki <cscm@…>


Changed 6 years ago by Christophe Nowicki <cscm@…>

comment:1 Changed 6 years ago by mirko

  • Resolution set to fixed
  • Status changed from new to closed

Reason is $(top_builddir) isn't set.
Installing aclocal (part of automake) is supposed to fix this problem.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.