MPG123 players installing problem

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
babarsaed
Lance Naik
Posts: 15
Joined: Sun Feb 11, 2007 5:05 pm
Location: Faisalabad
Contact:

MPG123 players installing problem

Post by babarsaed »

Aslam o Alaikum
all my brothers

dears i have installed and configured asterisk on my linux box but during the installtion of mpg123 i am facing the following problem plz help

[root@ntcfsd mpg123-0.59r]# make linux
make CC=gcc LDFLAGS= \
OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
audio_oss.o term.o' \
CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
-DREAD_MMAP -DOSS -DTERM_CONTROL\
-Wall -O2 -m486 \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
mpg123-make
make[1]: Entering directory `/usr/local/src/mpg123-0.59r'
make[2]: Entering directory `/usr/local/src/mpg123-0.59r'
make[2]: *** No rule to make target `\
', needed by `mpg123'. Stop.
make[2]: Leaving directory `/usr/local/src/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/usr/local/src/mpg123-0.59r'
make: *** [linux] Error 2



another problem when i start asterisk server it gives problem of musiconhold.conf that is follow:

*CLI> moh reload
== Destroying musiconhold processes
== Parsing '/etc/asterisk/musiconhold.conf': Found
[Apr 13 18:07:22] WARNING[1985]: res_musiconhold.c:351 spawn_mp3: directory is not a valid directory
[Apr 13 18:07:22] WARNING[1985]: res_musiconhold.c:502 monmp3thread: Unable to spawn mp3player



plz help in this regard


thanks all brothers

God bless all of you!

Allah Hafiz
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear babarsaed,
Salam,

Go into your Asterisk Source Directory and type this command and see what happen.

# make mpg123

Please post content of your /etc/asterisk/musiconhold.conf

Best Regards.
Farrukh Ahmed
Post Reply