OpenWrt Forum Archive

Topic: Possible stupid question but unable to compile ncurses

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

I'm banging my head against the wall as I am unable to get OpenWRT to compile I keep getting

/bin/sh: no: not found
make[5]: *** [../obj_s/cursesf.o] Error 127
make[5]: Leaving directory `/home/juan/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libncurses/ncurses-5.7/c++'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/juan/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libncurses/ncurses-5.7'
make[3]: *** [/home/juan/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libncurses/ncurses-5.7/.built] Error 2
make[3]: Leaving directory `/home/juan/openwrt/trunk/package/ncurses'
make[2]: *** [package/ncurses/compile] Error 2
make[2]: Leaving directory `/home/juan/openwrt/trunk'
make[1]: *** [/home/juan/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/juan/openwrt/trunk'
make: *** [world] Error 2

Could someone give me a clue on how to get past this point and compile OpenWRT?


Thanks in advance

seems like you don't have GNU gettext installed

I installed gettext on my development machine since glib2 wouldn't compile without it. Solved the glib2 by installing gettext but then bumped into this error.

In case this helps here are some of the selected packages on the build machine (dpkg --get-selections):

asciidoc                                        install
bash                                            install
autoconf                                        install
automake                                        install
binutils                                        install
bison                                           install
build-essential                                 install
bzip2                                           install
cpp                                             install
cpp-4.3                                         install
cpp-4.4                                         install
fastjar                                         install
flex                                            install
g++                                             install
g++-4.4                                         install
gawk                                            install
gcc                                             install
gcc-4.3                                         install
gcc-4.3-base                                    install
gcc-4.4                                         install
gcc-4.4-base                                    install
geoip-database                                  install
gettext                                         install
gettext-base                                    install
git                                             install
git-core                                        install
intltool                                        install
intltool-debian                                 install
libgcrypt11                                     install
libglib2.0-0                                    install
libglib2.0-data                                 install
libglib2.0-dev                                  install
libncurses5                                     install
libncurses5-dev                                 install
libncursesw5                                    install
libreadline5                                    install
libreadline6                                    install
libssl-dev                                      install
libssl0.9.8                                     install
libstdc++6                                      install
libstdc++6-4.4-dev                              install
libxml-parser-perl                              install
libxml2                                         install
libxml2-utils                                   install
linux-libc-dev                                  install
make                                            install
ncurses-base                                    install
ncurses-bin                                     install
ncurses-term                                    install
python2.6                                       install
python2.6-dev                                   install
python2.6-minimal                               install
readline-common                                 install
rsync                                           install
ruby                                            install
ruby1.8                                         install
screen                                          install
unzip                                           install
wget                                            install
zlib1g                                          install
zlib1g-dev                                      install

(Not all listed just a selection)

When running "make defconfig" I also get the following warning (in case this has something to do with it):

Warning! Found recursive dependency: PACKAGE_moc PACKAGE_alsa-utils PACKAGE_libncurses PACKAGE_weechat PACKAGE_libncursesw PACKAGE_moc
Warning! Found recursive dependency: PACKAGE_zlib CLEARSILVER_ENABLE_COMPRESSION PACKAGE_zlib
Warning! Found recursive dependency: PACKAGE_kmod-ipv6 PACKAGE_kmod-ipv6

(Last edited by shadowfax on 22 Nov 2011, 04:25)

The discussion might have continued from here.