From 70b1ff7bc6bdeb1d2ee27dd23aa53bacfca92b85 Mon Sep 17 00:00:00 2001 From: joedeveloper Date: Sun, 31 Mar 2019 05:45:20 +0700 Subject: [PATCH] docs: Explain ncurses5 for other distributions as well Ran into ncurses5 dependency issue on popOS stub section for covering libncurses 5 workarounds on distributions that need it, when only Arch was mentioned it was too easy to skip over the section Merges https://github.com/espressif/esp-idf/pull/3236 --- docs/en/get-started/linux-setup.rst | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/en/get-started/linux-setup.rst b/docs/en/get-started/linux-setup.rst index a9afdfc207..c27f91f748 100644 --- a/docs/en/get-started/linux-setup.rst +++ b/docs/en/get-started/linux-setup.rst @@ -32,22 +32,20 @@ Permission issues /dev/ttyUSB0 With some Linux distributions you may get the ``Failed to open port /dev/ttyUSB0`` error message when flashing the ESP32. :ref:`This can be solved by adding the current user to the dialout group`. +ncurses 5 dependency +-------------------- -Arch Linux Users ----------------- +To run the precompiled gdb (xtensa-esp32-elf-gdb) in Linux requires ncurses 5, but some newer distributions only provide ncurses 6 by default. -To run the precompiled gdb (xtensa-esp32-elf-gdb) in Arch Linux requires ncurses 5, but Arch uses ncurses 6. +Consult your distribution's documentation to see if ncurses 5 libraries are available. Alternatively, use crosstool-NG to compile a gdb that links against ncurses 6. -Backwards compatibility libraries are available in AUR_ for native and lib32 configurations: +For Arch Linux users, ncurses 5 libraries are available in AUR_ for native and lib32 configurations: - https://aur.archlinux.org/packages/ncurses5-compat-libs/ - https://aur.archlinux.org/packages/lib32-ncurses5-compat-libs/ Before installing these packages you might need to add the author's public key to your keyring as described in the "Comments" section at the links above. -Alternatively, use crosstool-NG to compile a gdb that links against ncurses 6. - - Next Steps ========== -- 2.40.0