由于缺少 uuid 开发包导致 Asterisk 配置错误

Asterisk configure error due to missing uuid development package

我正在安装 asterisk 13。

虽然 运行 配置命令我遇到以下错误:

...
checking for LIBEDIT... no
checking for history_init in -ledit... no
checking for tgetent in -ltermcap... yes
checking for uuid_generate_random in -luuid... no
checking for uuid_generate_random in -le2fs-uuid... no
checking for uuid_generate_random... no
configure: error: *** uuid support not found (this typically means the uuid development package is missing)
...

错误提示缺少uuid开发包 但我已经安装了 uuid.devel 包 请找到命令的输出如下

command :rpm -qa | grep uuid
output:
uuid-1.6.2-26.el7.x86_64
uuid-devel-1.6.2-26.el7.i686
libuuid-2.23.2-21.el7.x86_64
uuid-1.6.2-26.el7.i686

因此我相信我有所需的包,但我仍然遇到此错误任何相同的想法。

您还需要安装 libuuid-devel 软件包!

问题已经得到解答,但如果您来到这里并尝试在 Ubuntu 上安装 Asterisk,请尝试:

sudo apt install uuid-dev