[Users] Error while compiling "mysql" module

Karthik Kamaraj kkarthik at TechMahindra.com
Mon Feb 19 16:07:40 CET 2007


Hi Bogdan,
You mean to say that libmysqlclient-dev package will provide the
required *.h files?

Thanks,
Karthik

-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro] 
Sent: Monday, February 19, 2007 8:34 PM
To: Karthik Kamaraj
Cc: users at openser.org
Subject: Re: [Users] Error while compiling "mysql" module

Hi Karthik,

you need to install the libmysqlclient-dev package containing the 
development files for mysql client library.

regards,
bogdan

Karthik Kamaraj wrote:
>
> Hi All,
>
> I was trying to install Openser from source openser-1.1.1-notls and I 
> am getting followinr error while compiling "mysql" module.
>
> Compiling dbase.c
>
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall 
> -Wno-strict-aliasing -m
>
> inline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 
> -DNAME='"op
>
> enser"' -DVERSION='"1.1.1-notls"' -DARCH='"i386"' -DOS='"linux"' 
> -DCOMPILER='"gc
>
> c 4.1.1"' -D__CPU_i386 -D__OS_linux -D__SMP_yes 
> -DCFG_DIR='"/usr/local/etc/opens
>
> er/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST 
> -DUSE_TCP -DDISA
>
> BLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS -DFAST_LOCK 
> -DADAPTIVE_WAIT
>
> -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN 
> -DHAVE_SCH
>
> ED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H

> -DHAVE_TI
>
> MEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/local/include 
> -I/usr/loca
>
> l/include/mysql -I/usr/local/mysql/include/mysql 
> -I/usr/local/mysql/include -I/u
>
> sr/include/mysql -c dbase.c -o dbase.o
>
> dbase.c:29:25: error: mysql/mysql.h: No such file or directory
>
> dbase.c:30:26: error: mysql/errmsg.h: No such file or directory
>
> Looks like mysql.h and errmsg.h file is not available.
>
> I need your comments to resolve the issue.
>
> Thanks,
>
> Karthik
>
>
========================================================================
====================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
> Disclaimer:
>
> This message and the information contained herein is proprietary and 
> confidential and subject to the Tech Mahindra policy statement, you 
> may review at http://www.techmahindra.com/Disclaimer.html externally 
> and http://tim.techmahindra.com/Disclaimer.html internally within Tech

> Mahindra.
>
>
========================================================================
====================================================
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================




More information about the Users mailing list