I tried to install mpg123 on AsteriskNOW 1.7.1 distribution, which end up with FreePBX 2.7.0.0
[root@asterisk01 lib]# cd /usr/src
[root@asterisk01 src]# ls -l
total 780
drwxr-xr-x 2 root root 4096 Jan 26 2010 debug
drwxr-xr-x 7 root root 4096 Feb 10 08:44 freepbx-2.7.0
drwxr-xr-x 2 root root 4096 Jan 26 2010 kernels
drwxrwxrwx 9 500 1000 4096 Feb 25 15:11 mpg123-1.13.2
-rw-r–r-- 1 root root 764594 Feb 25 12:51 mpg123-1.13.2.tar.bz2
[root@asterisk01 src]# cd mpg123-1.13.2
[root@asterisk01 mpg123-1.13.2]# ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for -Werror in CFLAGS (It breaks tests)… no
checking if you are up to something totally static with LDFLAGS/CFLAGS… no
checking for style of include used by make… GNU
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /usr/src/mpg123-1.13.2': configure: error: no acceptable C compiler found in $PATH Seeconfig.log’ for more details
[root@asterisk01 mpg123-1.13.2]#