Re: make menuconfig and woody?

2003-12-23 Thread Hugo Vanwoerkom
Hugo Vanwoerkom wrote:
Hi people!
So who knows why ncurses segfaults from the ncurses initscr() call in 
the init_dialog call in /lxdialog/util.c

So I downloaded the latest ncurses 5.3 tarball. installed it in 
/usr/local.. and pointed the Makefile in /lxdialog dit to the new 
includes in /usr/local/include and added -L/usr/local/lib to the $LIBS 
variable.

Works.

I haven't gotten any other ncurses failures: run mc constantly, only use 
X for Mozilla 1.6b and synaptic as a package viewer, not installer.

Hugo.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: make menuconfig and woody?

2003-12-23 Thread Hugo Vanwoerkom
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 <[EMAIL PROTECTED]> or post a message to
<[EMAIL PROTECTED]> 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.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: make menuconfig and woody?

2003-12-23 Thread Colin Watson
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,

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



make menuconfig and woody?

2003-12-23 Thread Hugo Vanwoerkom
Hi people!

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.

I googled that and all I could find is that you need libncurses5-dev. I 
have both:

ii  libncurses55.2.20020112a- Shared libraries for terminal handling
ii  libncurses5-de 5.2.20020112a- Developer's libraries and docs for nc
ii  tk8.3  8.3.3-8The Tk toolkit for TCL and X11 v8.3 -

One detail: I have to use the vanilla 2.4.22 Linux Kernel, NOT the 
Debian one because I run Backstreet Roby mult-seat Debian and I haven't 
backported that yet to the Debian kernel.

Has anybody got make menuconfig running on woody?

Thanks!

Hugo.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]