Page 1 of 1

database

Posted: Wed Jan 07, 2004 10:48 am
by yaginuk
still having some probs, i believe i have created the databse, but i now get the following error on the make:

make
make all-recursive
make[1]: Entering directory `/tmp/zm-0.9.16'
Making all in src
make[2]: Entering directory `/tmp/zm-0.9.16/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/sbin/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" \
-c -o zmc.o `test -f 'zmc.cpp' || echo './'`zmc.cpp; \
then mv ".deps/zmc.Tpo" ".deps/zmc.Po"; \
else rm -f ".deps/zmc.Tpo"; exit 1; \
fi
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: syntax error before `;' token
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h:38:25: mysql/mysql.h: No such file or directory
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/tmp/zm-0.9.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zm-0.9.16'
make: *** [all] Error 2

Re: database

Posted: Tue Jan 13, 2004 10:02 am
by zoneminder
This looks like you have only got a mysql runtime installed and not the development packages which include the mysql.h file. Depending on your distro these will be available as separate rpms or source files.

Phil,