Summary:ASTERISK-16754: Cannot compile with "make menuselect"
Reporter:wushumasters (wushumasters)Labels:
Date Opened:2010-09-30 06:46:39Date Closed:2011-06-07 14:00:39
Versions:Frequency of
Description:In version i cannot use "make menuselect" in the terminal every time show me this message:

"Terminal must be at least 80 x 27"

But if i do the same in a ssh connection i can.

This problem not happen in version My system is Debian Lenny.

Sorry but my english is horrible.

Comments:By: Leif Madsen (lmadsen) 2010-09-30 11:33:38

Your screen is not 80x27 characters large then. Most terminals are 80x24 by default, which is not big enough for menuselect.

Try installing the ncurses development library, re-run ./configure in the menuselect directory, and use the alternate menuselect interface which is better at scaling to different screen sizes.

This is not a bug.

By: wushumasters (wushumasters) 2010-09-30 19:50:46

But why in version i can use "make menuselect" and not.
I have de ncurses, only in this version i get this problem.


By: Tilghman Lesher (tilghman) 2010-10-03 09:43:12

You could try installing the libnewt-dev packages, which only requires 80x21.  The issue is that the simpler (curses) interface does not support scrolling, so the minimal interface is needed in order to present the main list of choices.

By: wushumasters (wushumasters) 2010-10-03 14:39:33

I installeed the package libnewt-dev but nothing changes, and run ./configure and make menuselect one more time but nothing same problem

versions, no problem

but form this problem start happen


By: Tilghman Lesher (tilghman) 2010-10-03 14:59:15

You need to rerun configure in the menuselect directory.  This is not done automatically for you.

By: wushumasters (wushumasters) 2010-10-03 21:19:30

i do this and same problem

By: Jason Parker (jparker) 2010-10-04 12:00:17

make dist-clean, try again.

By: wushumasters (wushumasters) 2010-10-04 17:48:02

same problem one more time after "make dist-clean", "./configure", "./make menuselect"

This is happen in 3 differents machines.

But when i downgrade to i can do it.

I think this is a problem.

By: wushumasters (wushumasters) 2010-10-05 11:29:33

This is the difference between the versions.

in on menuselect_curses.c in line 43

#define MIN_Y           24

In is:

#define MIN_Y           27

Maybe is something in debian, but why change this line?


By: Leif Madsen (lmadsen) 2010-10-12 10:00:12

This is not a bug. That line was changed because the menuselect interface requires at least 27 lines of space. When it is set to 24 it gets "messed up".

Change that line back to 24 on your local system if you can't figure out how to use screenbuffers and change the screen resolution.

This is not a bug or a support forum, so please utilize the appropriate locations for support for this issue.