Would someone please look at this error and point me in the right direction?
I'm terrible at software installation.
I'm installing on Mandrake 10.0, community edition.
Please let me know if I can provide any more detail.
Thanks.
[root@localhost zm-1.19.4]# make
make all-recursive
make[1]: Entering directory `/home/user/zoneminder/zm-1.19.4'
Making all in src
make[2]: Entering directory `/home/user/zoneminder/zm-1.19.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr//include -I/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: error: syntax error before `;' token
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h:32:25: mysql/mysql.h: No such file or directory
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/home/user/zoneminder/zm-1.19.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/zoneminder/zm-1.19.4'
make: *** [all] Error 2
error during make
You need the development installation of MySQL.
from http://www.zoneminder.com/fileadmin/dow ... EADME.html:
davide,
from http://www.zoneminder.com/fileadmin/dow ... EADME.html:
does this help?ZoneMinder needs a couple of things to work.
Firstly, it uses MySQL so you'll need that. In order to compile you need to make sure you have a development installation and not just a runtime; this is because it needs to use the MySQL header files. If you are running an RPM based distribution then it’s probably worth installing all the pure mysql rpm files to be sure you have the right ones.
....
davide,
Thanks Davide!
Thanks Davide!
"urpmi mysql-devel" was the command to fix my problem.
"urpmi mysql-devel" was the command to fix my problem.