Zoneminder Release 1.24.1 on FreeBSD and OpenBSD UNIX
Posted: Fri Mar 27, 2009 3:42 pm
Here the procedure for source compiling...
ZoneMinder on FreeBSD 7.X anf hopefully OpenBSD
run ./configure
checking for jpeg_start_compress in -ljpeg... no
configure: error: zm requires libjpeg.a
pkg_add -r php-gd
ln -s /usr/local/lib/libjpeg.a /usr/lib
checking for ldlsym in -ldl... no
configure: error: zm requires libdl.a
substitute all -ldl in -lc in ./configure... this due to the fact that "The dlopen/dlsym functions are built into libc on FreeBSD, so there's
no need for a libdl:"
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
pkg_add -r mysql50-server mysql50-client php5-gd php5-mysql
ln -s /usr/local/lib/mysql/libmysqlclient.a /usr/lib/
checking for linux/videodev.h usability... no
checking for linux/videodev.h presence... no
checking for linux/videodev.h ... no
configure: error: zm requires Video4Linux to be installed
pkg_add -r v4l_compat
headers are installed in /usr/local/include/linux/videodev.h
mkdir /usr/include/linux
cd /usr/include/linux
cp /usr/local/include/linux/videodev.h .
checking for mysql/mysql.h usability... no
checking for mysql/mysql.h presence... no
checking for mysql/mysql.h ... no
configure: error: zm requires MySQL headers to be installed
cp /usr/local/include/mysql/* /usr/include/mysql
checking for linux/videodev.h ... no
configure: error: zm requires gnutls/openssl.h to be installed
pkg_add -r openssl
cp /usr/local/include/openssl/* /usr/include/openssl
pkg_add -r gnutls
perl -MCPAN -e 'install Bundle::DBI'
ZoneMinder on FreeBSD 7.X anf hopefully OpenBSD
run ./configure
checking for jpeg_start_compress in -ljpeg... no
configure: error: zm requires libjpeg.a
pkg_add -r php-gd
ln -s /usr/local/lib/libjpeg.a /usr/lib
checking for ldlsym in -ldl... no
configure: error: zm requires libdl.a
substitute all -ldl in -lc in ./configure... this due to the fact that "The dlopen/dlsym functions are built into libc on FreeBSD, so there's
no need for a libdl:"
checking for mysql_init in -lmysqlclient... no
configure: error: zm requires libmysqlclient.a
pkg_add -r mysql50-server mysql50-client php5-gd php5-mysql
ln -s /usr/local/lib/mysql/libmysqlclient.a /usr/lib/
checking for linux/videodev.h usability... no
checking for linux/videodev.h presence... no
checking for linux/videodev.h ... no
configure: error: zm requires Video4Linux to be installed
pkg_add -r v4l_compat
headers are installed in /usr/local/include/linux/videodev.h
mkdir /usr/include/linux
cd /usr/include/linux
cp /usr/local/include/linux/videodev.h .
checking for mysql/mysql.h usability... no
checking for mysql/mysql.h presence... no
checking for mysql/mysql.h ... no
configure: error: zm requires MySQL headers to be installed
cp /usr/local/include/mysql/* /usr/include/mysql
checking for linux/videodev.h ... no
configure: error: zm requires gnutls/openssl.h to be installed
pkg_add -r openssl
cp /usr/local/include/openssl/* /usr/include/openssl
pkg_add -r gnutls
perl -MCPAN -e 'install Bundle::DBI'