Skip to content

menuconfig script fails for ncurses in Arch-Linux (GIT8266O-855) #1278

Closed
@selimkeles

Description

@selimkeles

Hi

I have updated my IDF master branch to the latest version and checked that the issue is present there. I have searched the issue tracker for a similar issue and not found a similar issue.

Using Arch Linux up-to-date kernel and all dependencies are installed. Running make menuconfig command for most basic project hello world causes error which is given below. Since archlinux contains ncurses lib inside /usr/include/ I dont know why source code does not detects it place:

$ make menuconfig 
make[1]: Entering directory '/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK/tools/kconfig'
/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/check-lxdialog.sh -check cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MMD -MP -I "." -I "/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK/tools/kconfig" -lncursesw
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
make[1]: *** [Makefile:219: dochecklxdialog] Error 1
make[1]: Leaving directory '/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK/tools/kconfig'
make: *** No rule to make target '/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK/tools/kconfig/conf-idf', needed by '/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf-idf'.  Stop.

my env variables:

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/java-22-openjdk/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/msk/.espressif/tools/xtensa-lx106-elf/esp-2020r3-49-gd5524c1-8.4.0/xtensa-lx106-elf/bin
$ echo $IDF_PATH 
/home/msk/Documents/Repos/esp/ESP8266_RTOS_SDK

also I installed python3 packages for dependent libraries.

ncurses available on system as you can see:

$ sudo pacman -Q ncurses
ncurses 6.4_20230520-3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions