Hello friends,
Yesterday I tried to install Asterisk on Arch Linux, but unfortunatelly installation failed after execute configure script. I tried with version 11.0.1-1 which is provided in AUR (Arch User Repository) and then with package downloaded from Asterisk’s main page (version 11.2.0).
Neither version from AUR package nor the newest version from official page can be installed. Every time i got the same error.
Here’s results when I compiling 11.0.1-1 version:
...
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... yes
checking /usr/include/ptlib.h presence... yes
checking for /usr/include/ptlib.h... yes
checking for ptlib-config... /usr/bin/ptlib-config
./configure: line 25551: 2*10000+10*100+9 ((major<<24)|(minor<<16)|build) >=: syntax error in expression (error token is "((major<<24)|(minor<<16)|build) >=")
Here’s results when I compiling 11.2.0 version:
...
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... yes
checking /usr/include/ptlib.h presence... yes
checking for /usr/include/ptlib.h... yes
checking for ptlib-config... /usr/bin/ptlib-config
./configure: line 47559: 2*10000+10*100+9 ((major<<24)|(minor<<16)|build) >=: syntax error in expression (error token is "((major<<24)|(minor<<16)|build) >=")
[discovery@astaroth asterisk-11.2.0]$
I would like to add that I’ve tried on two different machines but both have Arch Linux installed.
Do you have any ideas what’s going on?