Closed DRoet closed 4 years ago
Ho did you install Asterisk 17. If you installed from source, then consider using make install-headers
, which would install the missing header files.
In former versions of Asterisk, this directive is called implicitly with make install
.
ah gotcha. yeah I am installing from source so that's probably it, thanks!
configure: UniMRCP configuration 1.7.0 configure: Asterisk configuration 17.9.3 configure: error: Could not find asterisk.h, make sure Asterisk development package is installed
I am getting the same error. The file asterisk.h is present in /usr/include. But I still receive this error.
What is the full output of configure?
configure: UniMRCP configuration 1.7.0 configure: Asterisk configuration 17.9.3 configure: error: Could not find asterisk.h, make sure Asterisk development package is installed
I am getting the same error. The file asterisk.h is present in /usr/include. But I still receive this error.
It's a common mistake when you don't set your asterisk source path correctly. You need to install "libsofia-sip-ua0" and you need to ensure the correct path in the config: Example: ENV Var: ASTERISK_VER=17.10.1 ASTERISK_CONFIGURED_PREFIX="Path prefix used in Asterisk installation"
./bootstrap
./configure --with-asterisk-version=${ASTERISK_VER} --with-asterisk=${ASTERISK_CONFIGURED_PREFIX}
make
make install
try it!
When I try to setup asterisk 17 with unimrcp I get the following error: