Hello, I've been trying to get the CDR to work but when I do make it prints: cdr_addon_mysql.c:33:19: mysql.h: No such file or directory cdr_addon_mysql.c:33:19: errmsg.h: No such file or directory and then stops. Is this something to do with MySQL or with asterisk? I have the latest version of the asterisk-addon package from CVS. Any ideas where I can get these files from? Also I'm trying to find out about the asterisk.pid file in the /var/run/asterisk dir, it seems to have been deleted for some reason and now running 'asterisk' without any options will not work just returns: Unable to open pid file /var/run/asterisk/asterisk.pid': No such file or directory Any ideas on this one? Cheers, _/_/_/_/_/ _/_/_/_/ _/_/_/_/_/ _/ _/_/ _/_/ _/ _/ _/ _/ _/_/ _/_/ _/ _/ _/ _/ _/_/_/_/ _/ _/ _/
Holger Schurig
2004-Aug-02 03:59 UTC
[Asterisk-Users] CDR with MySQL and Asterisk PID File
> Any ideas where I can get these files from?You need to install the development files for MySQL, not just the app. Depending on your distro, they could be named mysql-dev, libmysql-dev or similar.
Tom Lawrence [tom@kinitron.co.uk] wrote:> > _/_/_/_/_/ _/_/_/_/ _/_/_/_/_/ > _/ _/_/ _/_/ _/ _/ _/ > _/ _/_/ _/_/ _/ _/ _/ > _/ _/_/_/_/ _/ _/ _/ > >Resistance is futile. :-) -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
Tom Lawrence [tom@kinitron.co.uk] wrote:> I've been trying to get the CDR to work but when I do make it prints: > cdr_addon_mysql.c:33:19: mysql.h: No such file or directory > cdr_addon_mysql.c:33:19: errmsg.h: No such file or directory > and then stops. > > Is this something to do with MySQL or with asterisk? I have the latest > version of the asterisk-addon package from CVS. > Any ideas where I can get these files from? >This is a MySQL problem. You will need the MySQL client libraries and header files. There may be a package you can install to get these (probably mysql-dev on Red Hat). I just install from source, so I get everything anyway. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
Probably best to install MySQL 4 (free) available from
http://dev.mysql.com/downloads/mysql/4.0.html
Under Red Hat or Fedora, for example, I find that these libraries are
necessary:
If you use rpm's, install by using rpm -U for each, in this order:
* shared-compat (may be called something else now)
* client
* devel
* server - and follow on screen instructions
to create root password
Regards
Scott Stingel
Scott M. Stingel
President,
Emerging Voice Technology, Inc.
Palo Alto California & London England
www.evtmedia.com
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Tom Lawrence
Sent: Monday, August 02, 2004 3:49 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] CDR with MySQL and Asterisk PID File
Hello,
I've been trying to get the CDR to work but when I do make it prints:
cdr_addon_mysql.c:33:19: mysql.h: No such file or directory
cdr_addon_mysql.c:33:19: errmsg.h: No such file or directory and then stops.
Is this something to do with MySQL or with asterisk? I have the latest
version of the asterisk-addon package from CVS.
Any ideas where I can get these files from?
Also I'm trying to find out about the asterisk.pid file in the
/var/run/asterisk dir, it seems to have been deleted for some reason and now
running 'asterisk' without any options will not work just returns:
Unable to open pid file /var/run/asterisk/asterisk.pid': No such file or
directory Any ideas on this one?
Cheers,
_/_/_/_/_/ _/_/_/_/ _/_/_/_/_/
_/ _/_/ _/_/ _/ _/ _/
_/ _/_/ _/_/ _/ _/ _/
_/ _/_/_/_/ _/ _/ _/
_______________________________________________
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