I get the following error when trying to compile asterisk 1.05 on red hat 9. [root@amc003 asterisk]# make install *** You don't have mpg123 installed. You're going to need *** *** it if you want MusicOnHold *** ./mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -02/08/05-20:18:18\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN `ls *.c` : invalid option Usage: /bin/sh [GNU long option] [option] ... /bin/sh [GNU long option] [option] script-file ... GNU long options: --debug --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --rcfile --rpm-requires --restricted --verbose --version --wordexp Shell options: -irsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option make: *** [.depend] Error 2 Any help is greatly appreciated Vince -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050209/fc5cd416/attachment.htm
Noah Miller
2005-Feb-09 07:37 UTC
[Asterisk-Users] Re: Asterisk Compile Problem on Red Hat 9
> I get the following error when trying to compile asterisk 1.05 on red > hat 9.Is this the tarball available for download from the asterisk website? You might try CVS instead - try the CVS HEAD release: # cd /usr/src # export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot # cvs login - the password is anoncvs. # cvs checkout zaptel libpri asterisk Or, if that doesn't do it, you can try CVS Stable # cvs checkout -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds When you compile, make sure you do a "make clean", first, then "make install" If neither of these works, I might suggest trying a different OS - Red Hat 9 is no longer updated. If you're attached to red hat, you might try Tao Linux or Whitebox Linux - both are essentially Red Hat Enterprise, but they are free and both provide updates (security and otherwise).> -DASTMODDIR=\"/usr/lib/asterisk/modules\" > -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" > > -DBUSYDETECT_MARTIN `ls *.c` > > : invalid option > > Usage: /bin/sh [GNU long option] [option] ...> *** You don't have mpg123 installed. You're going to need *** > > *** it if you want MusicOnHold ***BTW: You can get mpg123 here: http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123.html Download the 0.59r version.
Daniel Eboa
2005-Feb-09 07:45 UTC
[Asterisk-Users] Re: Asterisk Compile Problem on Red Hat 9
I have both Stable version (asterisk-1.0-RC2) and the CVS version (asterisk v1-0-5) running on different Red Hat 9 boxes and there is no problem. I have only problem when I installed the oh323 driver (asterisk-oh323). Make sure you install Red Hat with required Package to run Asterisk. Regards. Daniel. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Noah Miller Sent: mercredi 9 f?vrier 2005 15:37 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: Asterisk Compile Problem on Red Hat 9> I get the following error when trying to compile asterisk 1.05 on red > hat 9.Is this the tarball available for download from the asterisk website? You might try CVS instead - try the CVS HEAD release: # cd /usr/src # export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot # cvs login - the password is anoncvs. # cvs checkout zaptel libpri asterisk Or, if that doesn't do it, you can try CVS Stable # cvs checkout -r v1-0 zaptel libpri asterisk asterisk-addons asterisk-sounds When you compile, make sure you do a "make clean", first, then "make install" If neither of these works, I might suggest trying a different OS - Red Hat 9 is no longer updated. If you're attached to red hat, you might try Tao Linux or Whitebox Linux - both are essentially Red Hat Enterprise, but they are free and both provide updates (security and otherwise).> -DASTMODDIR=\"/usr/lib/asterisk/modules\" > -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" > > -DBUSYDETECT_MARTIN `ls *.c` > > : invalid option > > Usage: /bin/sh [GNU long option] [option] ...> *** You don't have mpg123 installed. You're going to need *** > > *** it if you want MusicOnHold ***BTW: You can get mpg123 here: http://www-ti.informatik.uni-tuebingen.de/~hippm/mpg123.html Download the 0.59r version. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users