when I type make menuconfig I am getting error *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** even when ncurses with development packages are installed. The solution is adding -ldl in file /usr/lib64/pkgconfig/ncursesw.pc section Libs. after that make menuconfig is working.
(In reply to comment #0) > even when ncurses with development packages are installed. > > The solution is adding -ldl in file /usr/lib64/pkgconfig/ncursesw.pc section > Libs. > > after that make menuconfig is working. That sounds like a bug in the ncursesw.pc file your distribution in using. Does menuconfig work for other packages (Linux kernel, busybox, barebox, ..)?
(In reply to comment #1) > (In reply to comment #0) > > > even when ncurses with development packages are installed. > > > > The solution is adding -ldl in file /usr/lib64/pkgconfig/ncursesw.pc section > > Libs. > > > > after that make menuconfig is working. > > That sounds like a bug in the ncursesw.pc file your distribution in using. > Does menuconfig work for other packages (Linux kernel, busybox, barebox, ..)? I think you are right. Sorry for my mistake. But I think this information will helpful for others who will use buildroot on same system
(In reply to comment #2) > > That sounds like a bug in the ncursesw.pc file your distribution in using. > > Does menuconfig work for other packages (Linux kernel, busybox, barebox, ..)? > > I think you are right. > > Sorry for my mistake. > > But I think this information will helpful for others who will use buildroot on > same system I agree. What distribution are you using? Do you have similar problems with menuconfig in the Linux kernel or busybox?
(In reply to comment #3) > (In reply to comment #2) > > > That sounds like a bug in the ncursesw.pc file your distribution in using. > > > Does menuconfig work for other packages (Linux kernel, busybox, barebox, ..)? > > > > I think you are right. > > > > Sorry for my mistake. > > > > But I think this information will helpful for others who will use buildroot on > > same system > > I agree. What distribution are you using? Do you have similar problems with > menuconfig in the Linux kernel or busybox? I am using opensuse 13.2. yes the problem is in kernel and busybox.
Hello Zurab, I just installed OpenSUSE 13.2 on a virtualbox and I ran Buildroot's menuconfig successfully: --------------------------------------------- Last login: Thu Oct 1 12:17:26 2015 Have a lot of fun... vriera@linux-oy96:~> cat /etc/SuSE-release openSUSE 13.2 (x86_64) VERSION = 13.2 CODENAME = Harlequin # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead vriera@linux-oy96:~> cd buildroot/ vriera@linux-oy96:~/buildroot> make menuconfig configuration written to /home/vriera/buildroot/.config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. vriera@linux-oy96:~/buildroot> grep Libs /usr/lib64/pkgconfig/ncursesw.pc Libs: -lncursesw -ltinfo Libs.private: vriera@linux-oy96:~/buildroot> --------------------------------------------- These are the ncurses packages I have installed: vriera@linux-oy96:~> rpm -qa | grep ncurses ncurses-utils-5.9-52.2.3.x86_64 ncurses-devel-5.9-52.2.3.x86_64 libyui-ncurses-pkg6-2.46.1-2.1.9.x86_64 libncurses6-5.9-52.2.3.x86_64 libyui-ncurses6-2.46.6-2.1.9.x86_64 libncurses5-5.9-52.2.3.x86_64 Regards, Vincent.
According to our tests, "make menuconfig" works fine on OpenSuse 13.2 (thanks Vicente for doing the tests).