database

Support and queries relating to all previous versions of ZoneMinder
Locked
yaginuk
Posts: 9
Joined: Sat Jan 03, 2004 4:42 pm

database

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: database

Post 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,
Locked