Thank you, I will check 2 point.  

 

From: users-boun...@lists.opensips.org 
[mailto:users-boun...@lists.opensips.org] On Behalf Of Muhammad Shahzad
Sent: Tuesday, December 04, 2012 4:48 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Install opensips 1.8.2

 

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 <denis7...@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-boun...@lists.opensips.org 
[mailto:users-boun...@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@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:  <mailto:shari_78...@hotmail.com> shari_78...@hotmail.com
Email:  <mailto:shaherya...@googlemail.com> shaherya...@googlemail.com

<<image001.gif>>

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to