I’m doing a Asterisk 11 install from source. I completely omitted the pjproject steps as I only use chan_sip. DAHDI and libPRI installs/makes seemed to go fine, but when I run configure for Asterisk I get errors that sqlite3 is not installed (this is the configure output):
checking for sqlite_exec in -lsqlite... no checking for sqlite3_open in -lsqlite3... no configure: error: *** Asterisk now uses SQLite3 for the internal Asterisk database.
This is the corresponding config.log details in the untarred asterisk-11.18 directory:
configure:27789: checking for sqlite3_open in -lstersqlite3 configure:27814: gcc -o conftest -g -O2 -pthread conftest.c -lsqlite3 -lm >&5 /usr/bin/ld: cannot find -lsqlite3 collect2: ld returned 1 exit status
To go further I ran the contrib/scripts/install_prereq test and saw that many dependencies were missing:
yum install -y spandsp-devel freetds-devel iksemel-devel libsqlite3x-devel radiusclient-ng-devel portaudio-devel libresample-devel gmime22-devel sqlite2-devel jack-audio-connection-kit-devel
I run this exact yum command and for every single package I get a “No package available.” I thought I might try forcing using the Digium Asterisk 11 repo but the following happens:
yum --disablerepo="*" --enablerepo="digium-11" install -y spandsp-devel freetds-devel iksemel-devel libsqlite3x-devel radiusclient-ng-devel portaudio-devel libresample-devel gmime22-devel sqlite2-devel jack-audio-connection-kit-devel Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile digium-11 digium-11/primary digium-11 No package spandsp-devel available. No package freetds-devel available. No package iksemel-devel available. No package libsqlite3x-devel available. No package radiusclient-ng-devel available. No package portaudio-devel available. No package libresample-devel available. No package gmime22-devel available. No package sqlite2-devel available. No package jack-audio-connection-kit-devel available. Error: Nothing to do
At this point I’m not sure if these packages aren’t compatible with Cent 6.6, or if I need to force a different yum repo or what. But whatever is causing me to not be able to install these packages is the obstacle preventing configure from completing successfully which is what I need.