logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: cdr_mysql: msg#00145

Subject: Re: cdr_mysql
Remco Barende wrote:
Hi list!

I know I've been bitten by this before but I couldn't find the solution anymore, and this really funky line is still in the install doc and still doesn't work:

[root@centos asterisk-addons]# perl -p -i.bak -e \
's/CFLAGS.*D_GNU_SOURCE/CFLAGS+=-D_GNU_SOURCE\nCFLAGS+=-
DMYSQL_LOGUNIQUEID/' \
Makefile

The backslashes are used in Linux/Bash for line continuation.


I'm clueless as to what this complicated perl command is supposed to achieve but I remember it like some trivial change in the Makefile ?

To edit the Makefile with vi or nano you want to include the -DMYSQL_LOGUNIQUEID after the -D_GNU_SOURCE line, i.e.:

CFLAGS+=-D_GNU_SOURCE
CFLAGS+=-DMYSQL_LOGUNIQUEID

Hope this helps.

Regards,

--
Jason Becker
Director & CEO
Coalescent Systems Inc.
Enabling Open Source Telephony
403.244.8089
www.coalescentsystems.ca
www.gabcast.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>