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

Re: make menuconfig and woody?



Colin Watson wrote:
On Tue, Dec 23, 2003 at 08:30:33AM -0600, Hugo Vanwoerkom wrote:

I switched philosophy: downloaded all 7 Woody CD's and installed everything from there, instead of Sarge over the net.

I only have to get gcc-3.2, libxft2 and libxft-dev from backports to get the latest Mozilla with xft compiled on woody.

One problem: I cannot use either make menuconfig or make xconfig. Both exit with errors.

Make menuconfig exits with error 139 and complains about -lncurses.


139's a segfault. What's the exact error message, please?


Has anybody got make menuconfig running on woody?


Many times.

Cheers,


Thanks Colin, I just discovered that it is a segfault myself by looking at MCdialog.out in /usr/src/linux

Doing make menuconfig gets this output:

=========================================
There seems to be a problem with the lxdialog companion utility which is
built prior to running Menuconfig.  Usually this is an indicator that you
have upgraded/downgraded your ncurses libraries and did not remove the
old ncurses header file(s) in /usr/include or /usr/include/ncurses.

It is VERY important that you have only one set of ncurses header files
and that those files are properly version matched to the ncurses libraries
installed on your machine.

You may also need to rebuild lxdialog.  This can be done by moving to
the /usr/src/linux/scripts/lxdialog directory and issuing the
"make clean all" command.

If you have verified that your ncurses install is correct, you may email
the maintainer <mec@shout.net> or post a message to
<linux-kernel@vger.kernel.org> for additional assistance.
=========================================

So I tried make clean all in the lxdialog dir and that gets an error because the Makefile hasn't got HOSTCC set. Setting that to gcc, lxdialog gets created again, but the same error persists.

What is happening is that the initscr() ncurses call in the init_dialog function in lxdialog/util.c dies with a segfault.

Like I said above, libncurses5 and its -dev are both from the woody CD's.

Hugo.



Reply to: