How to re-run menuconfig

Hi,

I follow the guideline and successfully build, but after that, I want to run make menuconfig again to change some configurations. It seems not to allow me to do so:

make[1]: Entering directory 'openwrt/scripts/config'
set -e; mkdir -p ./; trap "rm -f ./.mconf-cfg.tmp" EXIT; { /bin/sh mconf-cfg.sh; } > ./.mconf-cfg.tmp; if [ ! -r mconf-cfg ] || ! cmp -s mconf-cfg ./.mconf-cfg.tmp; then true '  UPD     mconf-cfg'; mv -f ./.mconf-cfg.tmp mconf-cfg; fi
/openwrt/staging_dir/host/bin/pkg-config: line 4: /bin/pkg-config.real: No such file or directory
openwrt/staging_dir/host/bin/pkg-config: line 4: /bin/pkg-config.real: No such file or directory
*
* Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev
* depending on your distribution).
*
* You may also need to install pkg-config to find the
* ncurses installed in a non-default location.
*
make[1]: *** [Makefile:108: mconf-cfg] Error 1
make[1]: Leaving directory 'openwrt/scripts/config'
make: *** [openwrt/include/toplevel.mk:105: scripts/config/mconf] Error 2

How can I re-run the menuconfig again without clean everything? Thanks

Menuconfig has no relation to the build process stage.
It should always be runnable.

Interesting that ncurses library in the build host goes missing (although it has been found earlier)
What Linux you are running?

I think it would be a problem of:

line 4: /bin/pkg-config.real: No such file or directory

I did try make package/ncurses/host/compile to make sure ncurses is there but not help.

It is not about ncurses for OpenWrt, but ncurses in the build host itself.