[SOLVED] compile error asterisk 17.6.0-1 archlinux


When i want to compile asterisk 17.6.0-1 on my archlinux, i have this error

checking for pkg-config... no
checking for LIBEDIT... no
checking for history_init in -ledit... no
configure: error: *** Please install the 'libedit' development package.
==> ERROR: A failure occurred in build().
error making: asterisk

But i install
pacman -S git sudo binutils make gcc fakeroot wget patch libedit gettext

in reality without the package ’ pkg-config ', the compilation fail and say
Please install the ‘libedit’ development package

Maybe i do something wrong, but the error message is misleading

if this message can help someone.

Thank for reporting. Please, file a report at issues.asterisk.org … Component: Core/BuildSystem
By the way, Asterisk has a handy script to avoid such things: ./contrib/scripts/install_prereq
Anyway, the error message need to be improved. Therefore, file any issue for that, please.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.