[OpenSIPS-Users] Install opensips 1.8.2

Muhammad Shahzad shaheryarkh at gmail.com
Tue Dec 4 13:47:56 CET 2012


Sorry i think two separate issues are missed in this thread and I answered
the second one instead of first one.

Anyhow, here is the answer for your original problem.

1. Make sure you have libmysqlclient-dev installed. If you have mysql
libraries installed on some custom location then make sure to add them
using CFLAGS and LDFLAGS directive.
2. Look at Makefile.conf in opensips sources and make sure db_mysql is NOT
in "exclude_modules" list.
3. Do make and make install.

Thank you.


On Tue, Dec 4, 2012 at 5:18 AM, dpa <denis7979 at mail.ru> wrote:

> I can compile and install opensips with db_mysql  only make****
>
> “make prefix=/usr/local/opensips1.8.2/ all include_modules="db_mysql"****
>
> make prefix=/usr/local/opensips1.8.2/ install include_modules="db_mysql"”*
> ***
>
> ** **
>
> ** **
>
> *From:* users-bounces at lists.opensips.org [mailto:
> users-bounces at lists.opensips.org] *On Behalf Of *dpa
> *Sent:* Monday, December 03, 2012 1:23 PM
> *To:* 'OpenSIPS users mailling list'
> *Subject:* [OpenSIPS-Users] Install opensips 1.8.2****
>
> ** **
>
> Hello****
>
> ** **
>
> There is a desire to install opensips 1.8.2 from src.****
>
> I download it from web, change Makefile in “exclude_modules” area by
> excluding db_mysql from the list of “exclude_modules”.****
>
> Do “make prefix=/usr/local/opensips1.8.2/ all”. After that I look at
> modules/db_mysql directory and cannot see any db_mysql.so.****
>
> So  if I make “make prefix=/usr/local/opensips1.8.2/ install” i cannot see
> any db_mysql.so in “/usr/local/opensips1.8.2/lib/opensips/modules”****
>
> ** **
>
> I tried to do “make prefix=/usr/local/opensips1.8.2/ install
> include_modules=modules/mysql” but problem is still exists.****
>
> The only way to compile db_mysql is to do “make” from “modules/db_mysql”
> directory.****
>
> ** **
>
> My goal is to migrate DB from 1.7.0 to 1.8.2 and as I understand I need to
> compile db_mysql from general directory but not from module directory to
> make opensipsctl support mysql.****
>
> ** **
>
> Thank you for any help.****
>
> ** **
>
> ** **
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121204/22fe03e1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20121204/22fe03e1/attachment.gif>


More information about the Users mailing list