Thanks! Running ./configure with the options --enable-mysql and
--with-cdr_mysql enables it to compile cdr_mysql.c

On 5/21/07, Craig Guy <[EMAIL PROTECTED]> wrote:

 You need to specify ./configure with the –enable-mysql or something like
that.  Take a look at the configure script to find out the exact option



Craig



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Roi Stork
*Sent:* Monday, 21 May 2007 3:11 PM
*To:* Users Mailing List - Non-Commercial Discussion
*Subject:* Re: [Callweaver-users] Newbie Question on CDR MySQL
installation



I just run ./configure as part of the callweaver installation (that's what
it says in the guide), is there something I need to modify in the script?

Any idea why it won't compile cdr_mysql.c ?

If it's caused by incompatible mysql libraries, here's the list of
packages installed for all to see if mysql installed is updated:

mysql-5.0.27-1.fc5
mysqlclient10-3.23.58-9.2
mysql-connector-odbc-3.51.12-1.2.1
mysqlclient14-4.1.14-4.2
mysqlclient14-devel-4.1.14-4.2
mysql-server-5.0.27-1.fc5
libdbi-dbd-mysql-0.8.1a-1.2.1
mysql-devel-5.0.27-1.fc5
mysqlclient10-devel-3.23.58-9.2

On 5/17/07, *Damjan Jovanovic* <[EMAIL PROTECTED] > wrote:

On Thu, 2007-05-17 at 23:42 -0700, Roi Stork wrote:
> Just recently compiled and installed callweaver, however I don't
> understand why it skipped compiling the cdr_mysql module.
> I noticed that the lines pertaining to mysql in ./cdr/Makefile were
> commented out. Why is it so?
>
> When I tried editing the Makefile by removing the comments, it
> compiled without errors, but when callweaver attempts to load
> cdr_mysql.so, it gives out an error message 'undefined symbol
> mysql_init' and crashes. So that idea didn't work.
>
> I am not aware of any instruction on how to properly include the
> cdr_mysql module in callweaver (it's not in the InstallGuide.txt file
> either).

Did you try the ./configure switch that enables the compilation of MySQL
stuff?
_______________________________________________
> Callweaver-users mailing list
> [email protected]
> http://lists.callweaver.org/mailman/listinfo/callweaver-users

Damjan


_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users



_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users


_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to