<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Trouble compiling asterisk-addons MySQL</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2162" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Did you check whether mysql client libraries and headers were
installed?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>-Kannaiyan</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><A
href="http://www.goods2world.com">http://www.goods2world.com</A> - Your
VoIP Shop</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=JFreire@Comtech21.com href="mailto:JFreire@Comtech21.com">James
Freire</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 28, 2004 2:23
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] Trouble
compiling asterisk-addons MySQL</DIV>
<DIV><BR></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi All,</FONT> <BR><FONT face=Arial size=2>I am
having trouble compiling the mysql addon for asterisk. I had downloaded the
most recent version from CVS and placed it in /usr/src/ and I get the
following error below. </FONT></P>
<P><FONT face="Courier New" size=2><A
href="mailto:root@linux2:/usr/src/asterisk-addons">root@linux2:/usr/src/asterisk-addons</A>#
make install</FONT> <BR><FONT face="Courier New" size=2>./mkdep -fPIC
-I../asterisk -D_GNU_SOURCE `ls *.c`</FONT> <BR><FONT
face="Courier New" size=2>cdr_addon_mysql.c:33:19: mysql.h: No such file or
directory</FONT> <BR><FONT face="Courier New" size=2>cdr_addon_mysql.c:34:20:
errmsg.h: No such file or directory</FONT> <BR><FONT face="Courier New"
size=2>for x in ; do install -m 755 $x /usr/lib/asterisk/modules ;
done</FONT> </P>
<P><FONT face=Arial size=2>BTW. I have asterisk running just fine.</FONT> </P>
<P><FONT face=Arial size=2>Thanks,</FONT> </P>
<P><FONT face=Arial size=2>James</FONT> </P></BLOCKQUOTE></BODY></HTML>