[OpenSIPS-Users] OpenSIPS on Mac OS X 10.6.3 with mysql support
Anca Vamanu
anca at opensips.org
Tue Jun 15 10:11:31 CEST 2010
On 06/15/2010 07:03 AM, Sajjad Ali wrote:
> Hello
> i am trying to install OpenSIPS on Mac OS X 10.6.3, it went well without mysql module and i am using it right now but i need mysql support and i came across the following error (below) during "" make install "" after no error during make
> can any body help
> thanks in advance
>
> Best Regards
> *********************
> Compiling db_mysql.c
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=i686 -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -DMOD_NAME='"db_mysql"' -DNAME='"opensips"' -DVERSION='"1.6.2-notls"' -DARCH='"i386"' -DOS='"darwin"' -DCOMPILER='"gcc 4.2.1"' -D__CPU_i386 -D__OS_darwin -D__SMP_no -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DUSE_ANON_MMAP -DNDEBUG -DHAVE_CONNECT_ECONNRESET_BUG -DHAVE_TIMEGM -DHAVE_KQUEUE -DHAVE_SELECT -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql -c db_mysql.c -o
> db_mysql.o
> In file included from dbase.h:37,
> from db_mysql.c:34:
> my_con.h:31:25: error: mysql/mysql.h: No such file or directory
>
>
Hi Sajjad,
It seems that you are missing the library for mysql client, the
development version.
Regards,
--
Anca Vamanu
www.voice-system.ro
More information about the Users
mailing list