I’m trying to run ‘make menuselect’ on asterisk 1.6.0.3-rc1 but keep getting an error message stating that ncurses and/or newt are not installed, but they are.
This is just a lab vmware environment and I can’t figure out how to install vmtools without installing x, so I can’t copy/paste output here.
I installed zaptel for ztdummy (make clean, make, make install, and make config) with no errors. It may be important to note that I did get an error when executing a ‘make menuselect’ on zaptel indicating that I didn’t have ncurses installed. A quick ‘rpm -q ncurses ncurses-devel’ outputs: ncurses-5.4-15.el4 and ncurses-devel-5.4-15.e14.
Then I cd’d to the asterisk dir and executed make clean and .configure with no errors, but a ‘make menuselect’ ends with “No menuselect user interface found. Install ncurses, newt or GTK libraries to build one and re-rerun ‘make menuselect’.”
I’ve confirmed via ‘rpm -q ncurses ncurses-devel newt newt-devel’ that I have the following installed:
ncurses-5.4-15.el4
ncurses-devel-5.4-15.e14
newt-0.51.6-10.el4
newt-devel-0.51.6-10.el4
From locate, it looks like the above 4 are installed under /usr/lib so I added that to my path just in case, but I’m still getting the same error when trying to execute ‘make menuselect’ under the asterisk dir.
I have the same problem, with asterisk-1.6.0.5 on Fedora 8 in Amazon EC2. I eventually just skipped “make menuselect” completely, but that’s not a good solution.
Same problem width Asterisk-1.6.1.0 on Centos 5.3 :
.configure with no errors, but a ‘make menuselect’ ends with “No menuselect user interface found. Install ncurses, newt or GTK libraries to build one and re-rerun ‘make menuselect’.”
Kernel part is important for zaptel/dahdi.
All this did perfect job for me to install fresh Asterisk 1.6.1.0 on fresh CentOS system - using menuselect also.
If make menuselect is not working and the error is shown as "No menuselect user interface found. Install ncurses" then use the command
apt-get install ncurses-devel
even if this does not works and error is shown as “Couldn’t find package ncurses-devel” Then use the command
apt-get install ncurses
Hope this finds solution to your problem.
Even if this does not works then This may mean that the package is missing, has been obsoleted, or is only available from another source and the error is displayed as “Package ncurses has no installation candidate”.Then u need to look for the package in your application.
For others coming across this thread from Google…
Deleting the directory and untarring asterisk 1.6.1.tar.gz corrected my make menuselect problem as well.