Re: [Asterisk-Users] Error Compiling MySQL Friends

2004-08-27 Thread Bob Goddard
On Friday 27 August 2004 00:57, imail wrote:
> same error  :(
> I just cant seem to figure it out, it must be something very obvoius. Can
> someone please point me in the right direction?
[...]
> > > elifeq ($(USE_SIP_MYSQL_FRIENDS),1)
[...]

Looking at the GNU Make manual, there does not seem to be a
command "elifeq" nor "elif", only "else".


B
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error Compiling MySQL Friends

2004-08-26 Thread imail
same error  :(
I just cant seem to figure it out, it must be something very obvoius. Can
someone please point me in the right direction?
Thanks,
Jon

- Original Message - 
From: "R Wong" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 26, 2004 11:37 AM
Subject: Re: [Asterisk-Users] Error Compiling MySQL Friends


> Hi,
>
> try issue:
>
> export lang=C
> before make.
>
> Regards,
>
> R. Wong
>
> - Original Message - 
> From: "imail" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Asterisk Users Mailing List -
Non-Commercial
> Discussion" <[EMAIL PROTECTED]>
> Sent: Thursday, August 26, 2004 11:13 PM
> Subject: Re: [Asterisk-Users] Error Compiling MySQL Friends
>
>
> > Thanks Flynn but still no go.
> > I looked at line 141 and it seems to be fine.
> >
> > elifeq ($(USE_SIP_MYSQL_FRIENDS),1)
> >
> > I also tried removing the comma, and putting in a tab but I get the same
> > error.
> > I havent made any changes to the file, it was downloaded automatically
via
> > cvs.
> > Any other thoughts?
> >
> > - Original Message ----- 
> > From: "el Flynn" <[EMAIL PROTECTED]>
> > To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> > <[EMAIL PROTECTED]>
> > Sent: Thursday, August 26, 2004 1:45 AM
> > Subject: Re: [Asterisk-Users] Error Compiling MySQL Friends
> >
> >
> > > imail wrote:
> > > > 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
> > >
> > > Could it be that your problem is coming from the error:
> > >
> > >Makefile:141: *** missing separator.  Stop.
> > >
> > >  From the rest of the output it doesn't seem to imply there's
something
> > > missing where MySQL is concerned. Googling on "makefile" and "missing
> > > separator" gave me this link that may be of help:
> > >
> > > http://www.cygwin.com/ml/cygwin/2003-07/msg00341.html
> > >
> > > Although I may be way off, you could try that out first and see if it
> > > doesn't solve the problem.
> > >
> > > Cheers,
> > > Flynn
> > >
> > > ___
> > > Asterisk-Users mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error Compiling MySQL Friends

2004-08-26 Thread R Wong
Hi,

try issue:

export lang=C
before make.

Regards,

R. Wong

- Original Message - 
From: "imail" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Asterisk Users Mailing List - Non-Commercial
Discussion" <[EMAIL PROTECTED]>
Sent: Thursday, August 26, 2004 11:13 PM
Subject: Re: [Asterisk-Users] Error Compiling MySQL Friends


> Thanks Flynn but still no go.
> I looked at line 141 and it seems to be fine.
>
> elifeq ($(USE_SIP_MYSQL_FRIENDS),1)
>
> I also tried removing the comma, and putting in a tab but I get the same
> error.
> I havent made any changes to the file, it was downloaded automatically via
> cvs.
> Any other thoughts?
>
> - Original Message - 
> From: "el Flynn" <[EMAIL PROTECTED]>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <[EMAIL PROTECTED]>
> Sent: Thursday, August 26, 2004 1:45 AM
> Subject: Re: [Asterisk-Users] Error Compiling MySQL Friends
>
>
> > imail wrote:
> > > 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
> >
> > Could it be that your problem is coming from the error:
> >
> >Makefile:141: *** missing separator.  Stop.
> >
> >  From the rest of the output it doesn't seem to imply there's something
> > missing where MySQL is concerned. Googling on "makefile" and "missing
> > separator" gave me this link that may be of help:
> >
> > http://www.cygwin.com/ml/cygwin/2003-07/msg00341.html
> >
> > Although I may be way off, you could try that out first and see if it
> > doesn't solve the problem.
> >
> > Cheers,
> > Flynn
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error Compiling MySQL Friends

2004-08-26 Thread imail
Thanks Flynn but still no go.
I looked at line 141 and it seems to be fine.

elifeq ($(USE_SIP_MYSQL_FRIENDS),1)

I also tried removing the comma, and putting in a tab but I get the same
error.
I havent made any changes to the file, it was downloaded automatically via
cvs.
Any other thoughts?

- Original Message - 
From: "el Flynn" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[EMAIL PROTECTED]>
Sent: Thursday, August 26, 2004 1:45 AM
Subject: Re: [Asterisk-Users] Error Compiling MySQL Friends


> imail wrote:
> > 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
>
> Could it be that your problem is coming from the error:
>
>Makefile:141: *** missing separator.  Stop.
>
>  From the rest of the output it doesn't seem to imply there's something
> missing where MySQL is concerned. Googling on "makefile" and "missing
> separator" gave me this link that may be of help:
>
> http://www.cygwin.com/ml/cygwin/2003-07/msg00341.html
>
> Although I may be way off, you could try that out first and see if it
> doesn't solve the problem.
>
> Cheers,
> Flynn
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Error Compiling MySQL Friends

2004-08-25 Thread el Flynn
imail wrote:
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
Could it be that your problem is coming from the error:
  Makefile:141: *** missing separator.  Stop.
From the rest of the output it doesn't seem to imply there's something 
missing where MySQL is concerned. Googling on "makefile" and "missing 
separator" gave me this link that may be of help:

http://www.cygwin.com/ml/cygwin/2003-07/msg00341.html
Although I may be way off, you could try that out first and see if it 
doesn't solve the problem.

Cheers,
Flynn
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Error Compiling MySQL Friends

2004-08-25 Thread imail
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?

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users