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