[Asterisk-Users] Error Compiling MySQL Friends

imail imail at keepitdigi.com
Wed Aug 25 22:39:17 MST 2004


All,
I edited the Makefile under asterisk/channels and set:

USE_MYSQL_FRIENDS=1
USE_SIP_MYSQL_FRIENDS=1

When I do a  make clean ; make install
 I get the following....

for x in res channels pbx apps codecs formats agi cdr astman stdtime; do
make -C $x clean || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk/res'
rm -f *.so *.o .depend
make[1]: Leaving directory `/usr/src/asterisk/res'
make[1]: Entering directory `/usr/src/asterisk/channels'
Makefile:141: *** missing separator.  Stop.
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [clean] Error 1
for x in res channels pbx apps codecs formats agi cdr astman stdtime; do
make -C $x depend || exit 1 ; done
make[1]: Entering directory `/usr/src/asterisk/res'
../mkdep -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-dec
larations -g  -Iinclude -I../include  -D_REENTRANT -D_GNU_SOURCE  -O6 -march
=i686  -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-02/18/04-21:03:43\" -
DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/as
terisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -D
ASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTC
ONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modu
les\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     
-DNEW_PRI_HANGUP    -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC `ls *.c`
make[1]: Leaving directory `/usr/src/asterisk/res'
make[1]: Entering directory `/usr/src/asterisk/channels'
Makefile:141: *** missing separator.  Stop.
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [depend] Error 1

This system has mysql and mysql-devel installed. Its RH 9.
What am I missing???

Any help is greatly appreciated.

Thanks,
-Jon

p.s. Is this the only way to store & retrieve user info in a db or did
something new come up?




More information about the asterisk-users mailing list