[Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Jerk Face
/usr/src/usr/include/mysql/errmsg.h The version of MySQL that I'm running is 3.23.57-1 Could you tell me where mysql/errmsg.h is located on your distribution? We can update the Makefile to look there for that header. -Tilghman _ Prot

Re: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread James Sharp
> Could you tell me where mysql/errmsg.h is located on your > distribution? We can update the Makefile to look there for that > header. Can't you use mysql-config to get the include and library paths? Granted, you still need to make sure that mysql-config is in your $PATH, but it keeps you from

[Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Jerk Face
You should instead update the appropriate Makefile to change: -I/usr/local/mysql/include to -I/usr/src/usr/include/mysql or you could just do: cp -a /usr/src/usr/include/mysql /usr/include/mysql I did that, and I still get the same error: [root cdr]# make cdr_mysql cc -fPIC -I/usr/local/mysql/incl

Re: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Martin Pycko
Try "cvs update -dA" in asterisk On Thu, 14 Aug 2003, Jerk Face wrote: > >You should instead update the appropriate Makefile to change: > >-I/usr/local/mysql/include > >to > >-I/usr/src/usr/include/mysql > >or you could just do: > >cp -a /usr/src/usr/include/mysql /usr/include/mysql > > I did tha

Re: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Tilghman Lesher
On Thursday 14 August 2003 08:35, Jerk Face wrote: > I am running Mandrake 9.1, and MySQL 3.23.57-1; and yes, I would > think that /usr/src/usr/include/mysql is not the right place for > errmsg.h. What can I do to get around this? I don't know what you did, because I just installed the MySQL libra

RE: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Adam Goryachev
> I am running Mandrake 9.1, and MySQL 3.23.57-1; and yes, I would > think that > /usr/src/usr/include/mysql is not the right place for errmsg.h. > What can I do to get around this? > I changed the cdr_mysql.c file: > #include > Changed to > #include You should instead update the appropriate M

[Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Jerk Face
I am running Mandrake 9.1, and MySQL 3.23.57-1; and yes, I would think that /usr/src/usr/include/mysql is not the right place for errmsg.h. What can I do to get around this? I changed the cdr_mysql.c file: #include Changed to #include But I get the following error: [root cdr]# make cdr_mysql c

[Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Jerk Face
I'm trying to compile the cdr_mysql module, but I am receiving error messages. I have installed mysql-devel. Here is the output of make cdr_mysql: cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -c -o cdr_mysql.o cdr_mysql.c cdr_mysql.c:30:26: mysql/errmsg.h: No such file or direct

Re: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Tilghman Lesher
On Wednesday 13 August 2003 03:06 pm, Jerk Face wrote: > I'm trying to compile the cdr_mysql module, but I am receiving > error messages. > I have installed mysql-devel. > > Here is the output of make cdr_mysql: > > cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -c -o > cdr_mysql.o cd

Re: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Steven Critchfield
On Wed, 2003-08-13 at 15:06, Jerk Face wrote: > I'm trying to compile the cdr_mysql module, but I am receiving error > messages. > I have installed mysql-devel. > > Here is the output of make cdr_mysql: > > cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -c -o > cdr_mysql.o cdr_mys

Re: [Asterisk-Users] Can't compile cdr_mysql

2003-08-14 Thread Tilghman Lesher
On Wednesday 13 August 2003 03:24 pm, Jerk Face wrote: > /usr/src/usr/include/mysql/errmsg.h > The version of MySQL that I'm running is 3.23.57-1 What distribution are you running? That's a pretty braindead place to put the mysql header files. You'd think someplace like /usr/include, /usr/local/