Installation issues with ZM 1.28.1 and CentOS 6.6 (Minimal)
Posted: Wed Apr 29, 2015 6:05 am
I'm trying to install the latest ZM onto a fresh, clean install of CentOS 6.6 with minimal configuration.
Here are the latest steps I've taken, in order. If any can help me out, I'd be much appreciative!
Can anyone help me better understand this error? This is the 2nd time I've been able to produce it.
Here are the latest steps I've taken, in order. If any can help me out, I'd be much appreciative!
- 1. Install CentOS 6.6 x64 with "Minimal" configurations
- 2. Install VMware Tools if running as a VM
- 3. Perform
Code: Select all
yum -y update
- 4. Disable SELinux for ease of use by editing /etc/sysconfig/selinux and configuring:
Code: Select all
SELINUX=disabled
- 5. Reboot
- 6. Install RPMForge Yum Repository: (forum won't let me post the link as a new user)
- 7. Install software dependencies:
Code: Select all
yum install gcc gcc-c++ wget mysql-devel mysql-server php php-mysql php-pear php-pear-DB php-mbstring bison bison-devel httpd make ncurses ncurses-devel libtermcap-devel sendmail sendmail-cf caching-nameserver sox newt-devel libxml2-devel libtiff-devel php-gd audiofile-devel gtk2-devel libv4l-devel ffmpeg ffmpeg-devel zlib zlib-devel openssl openssl-devel gnutls-devel php-process perl-Time-HiRes perl-CPAN pcre-devel libjpeg-devel perl-Date-Manip perl-libwww-perl perl-Module-Load perl-Net-SFTP-Foreign perl-Archive-Tar perl-Archive-Zip perl-Expect perl-MIME-Lite perl-Device-SerialPort
- 8. Install several optional modules (do these one at a time):
Code: Select all
perl -MCPAN -e 'install Sys::Mmap' perl -MCPAN -e 'install MIME::Entity' perl -MCPAN -e 'install X10::ActiveHome'
- 9. Download and untar Zoneminder:
Code: Select all
cd /usr/local/src wget <insert link to latest ZM download tarball> tar xzvf v1.28* cd Zone*
- 10. Configure ZoneMinder:
Code: Select all
./bootstrap CXXFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpassword ZM_SSL_LIB=openssl --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql -L/usr/local/lib" --with-libarch=lib64 --with-ffmpeg
Code: Select all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: WARNING: You can call configure with the --with-mysql option.
This tells configure where to find the MySql C library and headers if config
ure cannot
locate them automatically.
e.g. --with-mysql=/usr/local or --with-mysql=/usr
configure: WARNING: You can call configure with the --with-mariadb option.
This tells configure where to find the mariaDB C library and headers if conf
igure cannot
locate them automatically.
e.g. --with-mariadb=/usr/local or --with-mariadb=/usr
configure: WARNING: You can call configure with the --with-polkit option.
This tells configure where to place the polkit policy files.
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for POLKIT... configure: error: Package requirements (polkit-gobject-1)
were not met:
No package 'polkit-gobject-1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables POLKIT_CFLAGS
and POLKIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.