OpenWrt Forum Archive

Topic: Ncurses install issue- dependency for asterisk 1.4

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

All,
I am having a issue with installing ncurses.  I have a NSLU2 (Linksys).  It is running 7.09 kamikaze and booting off a 2 gig USB stick with swap enabled.

My next step is to get asterisk 1.4 installed.  All other dependencies install correctly except ncurses with the following error:
********************************
Installing ncurses (5.6-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optwa … _armeb.ipk
Configuring ncurses
//usr/lib/ipkg/info/ncurses.postinst: //usr/lib/ipkg/info/ncurses.postinst: 2: /opt/bin/update-alternatives: not found
postinst script returned status 127
ERROR: ncurses.postinst returned 127
Done.
*******************************
I have tried several repositories and versions as well as moving the ipk locally. Still fails and asterisk does not install correctly.  I am using the package from http://ipkg.nslu2-linux.org/feeds/optwa … ss/stable/

Can anyone point me in the right direction.  I am new to openwrt and I think I might be doing something "not so bright"

thanks,

answerd it myself.  the packages are for unslung.  I was unable to find asterisk packages for 7.09.  reloaded with unslun and all works.

Use the OpenWrt build-system and compile for Target System: Intel XScale IXP4xx [2.6], Target Profile: Linksys NSLU2. Then setup a local package repo and change ipkg.conf to point to your own package repository...

I am curious about how to Use the OpenWrt build-system in order to get asterisk installed?

The discussion might have continued from here.