[asterisk-users] MYSQL ADDON INSTALLATION ERROR
Hi All, Please refresh my memory. I am trying to install asterisk after 2 years. I hav'nt used it since 2008 (version 1.4.2). Now I am trying to install 1.8.0-rc2 on centos 5.5 but getting the following errors. app_mysql.c:33:25: error: mysql/mysql.h: No such file or directory app_mysql.c: In function ‘mysql_ds_destroy’: app_mysql.c:135: warning: implicit declaration of function ‘mysql_close’ app_mysql.c:138: warning: implicit declaration of function ‘mysql_free_result’ app_mysql.c: In function ‘aMYSQL_connect’: app_mysql.c:319: error: ‘MYSQL’ undeclared (first use in this function) app_mysql.c:319: error: (Each undeclared identifier is reported only once app_mysql.c:319: error: for each function it appears in.) app_mysql.c:319: error: ‘mysql’ undeclared (first use in this function) I think i have seen these errors before and did manage to get rid of them but I cant remember how i did it and even dont remember the reason for these errors. Looks like a header file for mysql addon is missing which is actually missing (i have checked). How am I suppose to find it? Plz help. -- Best Regards Rizwan Qureshi -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MYSQL ADDON INSTALLATION ERROR
Rizwan Hisham wrote: Hi All, Please refresh my memory. I am trying to install asterisk after 2 years. I hav'nt used it since 2008 (version 1.4.2). Now I am trying to install 1.8.0-rc2 on centos 5.5 but getting the following errors. app_mysql.c:33:25: error: mysql/mysql.h: No such file or directory app_mysql.c: In function ‘mysql_ds_destroy’: app_mysql.c:135: warning: implicit declaration of function ‘mysql_close’ app_mysql.c:138: warning: implicit declaration of function ‘mysql_free_result’ app_mysql.c: In function ‘aMYSQL_connect’: app_mysql.c:319: error: ‘MYSQL’ undeclared (first use in this function) app_mysql.c:319: error: (Each undeclared identifier is reported only once app_mysql.c:319: error: for each function it appears in.) app_mysql.c:319: error: ‘mysql’ undeclared (first use in this function) I think i have seen these errors before and did manage to get rid of them but I cant remember how i did it and even dont remember the reason for these errors. Looks like a header file for mysql addon is missing which is actually missing (i have checked). How am I suppose to find it? Plz help. -- Best Regards Rizwan Qureshi Make sure you have the mysql-devel package installed. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MYSQL ADDON INSTALLATION ERROR
Hi Ridwan, You would need to install mysql-devel via yum. Best Regards, Muhammad Nuzaihan Kamal Network Consultant Mobile: +65 97473874 Asfa Systems Pte Ltd 91, Alps Avenue. #03-10. Singapore 498787 Tel: +65 62538211 Fax: +65 62504814 www.asfasystems.com.sg pub 4096R/36630777 2010-07-10 Key fingerprint = 670A 4D60 0A2D 43A1 2FE0 DFDA D3A9 3F32 3663 0777 uid Muhammad Nuzaihan Kamalluddin (Asfa Systems Pte. Ltd.) muham...@asfasystems.com sub 4096R/97E5CBBD 2010-07-10 On 06-Oct-2010, at 6:35 PM, Rizwan Hisham wrote: Hi All, Please refresh my memory. I am trying to install asterisk after 2 years. I hav'nt used it since 2008 (version 1.4.2). Now I am trying to install 1.8.0-rc2 on centos 5.5 but getting the following errors. app_mysql.c:33:25: error: mysql/mysql.h: No such file or directory app_mysql.c: In function ‘mysql_ds_destroy’: app_mysql.c:135: warning: implicit declaration of function ‘mysql_close’ app_mysql.c:138: warning: implicit declaration of function ‘mysql_free_result’ app_mysql.c: In function ‘aMYSQL_connect’: app_mysql.c:319: error: ‘MYSQL’ undeclared (first use in this function) app_mysql.c:319: error: (Each undeclared identifier is reported only once app_mysql.c:319: error: for each function it appears in.) app_mysql.c:319: error: ‘mysql’ undeclared (first use in this function) I think i have seen these errors before and did manage to get rid of them but I cant remember how i did it and even dont remember the reason for these errors. Looks like a header file for mysql addon is missing which is actually missing (i have checked). How am I suppose to find it? Plz help. -- Best Regards Rizwan Qureshi -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MYSQL ADDON INSTALLATION ERROR
On 6 Oct 2010, at 11:35, Rizwan Hisham wrote: Hi All, Please refresh my memory. I am trying to install asterisk after 2 years. I hav'nt used it since 2008 (version 1.4.2). Now I am trying to install 1.8.0-rc2 on centos 5.5 but getting the following errors. snip Plz help. You need mysql-devel. You might also find that most things are case sensitive, maybe your malfunctioning caps-lock is causing problems? ;) S -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MYSQL ADDON INSTALLATION ERROR
Thank you all. It is now installed. On Wed, Oct 6, 2010 at 5:04 PM, Steve Howes steve-li...@geekinter.netwrote: On 6 Oct 2010, at 11:35, Rizwan Hisham wrote: Hi All, Please refresh my memory. I am trying to install asterisk after 2 years. I hav'nt used it since 2008 (version 1.4.2). Now I am trying to install 1.8.0-rc2 on centos 5.5 but getting the following errors. snip Plz help. You need mysql-devel. You might also find that most things are case sensitive, maybe your malfunctioning caps-lock is causing problems? ;) S -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Best Regards Rizwan Qureshi -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users