I am attempting to configure Asterisk CDR logging to MySQL on an Asterisk 184.108.40.206 box.
I have already installed MySQL and created the database / user. This is working correctly. /etc/asterisk/cdr_mysql.co
nf is configured.
With all the required dependencies installed, I am unable to run ./configure:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/usr/src/asterisk-220.127.116.11':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Unfortunately, gcc doesn't seem to be working. I have removed and reinstalled as much as I can without removing 974MB of packages and disrupting all the core system on the Linux box. This hasn't fixed the problem. I don't quite understand why.
Any ideas before I backup the config and format the box?