Bug 8381 - make manuconfig problem in opensuse 13.2
Summary: make manuconfig problem in opensuse 13.2
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-30 08:31 UTC by Zurab Tutberidze
Modified: 2015-10-13 08:07 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zurab Tutberidze 2015-09-30 08:31:04 UTC
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.
Comment 1 Peter Korsgaard 2015-09-30 11:17:38 UTC
(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, ..)?
Comment 2 Zurab Tutberidze 2015-09-30 11:20:55 UTC
(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
Comment 3 Peter Korsgaard 2015-09-30 11:46:20 UTC
(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?
Comment 4 Zurab Tutberidze 2015-09-30 13:36:14 UTC
(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.
Comment 5 Vicente Olivert Riera 2015-10-01 16:32:50 UTC
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.
Comment 6 Thomas Petazzoni 2015-10-13 08:07:34 UTC
According to our tests, "make menuconfig" works fine on OpenSuse 13.2 (thanks Vicente for doing the tests).