ZoneMinder installation on Centos BlueOnyx 5108R

Forum for questions and support relating to the 1.26.x releases only.
Post Reply
scummings
Posts: 4
Joined: Tue Dec 17, 2013 10:34 am

ZoneMinder installation on Centos BlueOnyx 5108R

Post by scummings » Tue Dec 17, 2013 10:50 am

Hi Everyone,

First post newbie here... with hopefully a simple question to answer.

Has anybody managed to successfully install ZoneMinder (any version - I attempt 1.26.5) on a Blueonyx Distro? see: blueonyx.it

If so, as a realtively inexperienced Linux user, I would be interested in some guidance on how it's done.

So far I've got cmake install and attempting to 'cmake' the installation using the following:

cmake -DZM_DB_NAME="dbname" ZM_DB_PASS="password" ./

It reported the following error:

Code: Select all

Could not find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
CMake error at CMakeLists.txt:224 (message):
  zm requires mysqlclient but is was not found on your system.
Any advice would be welcome as I'd love to get this working.

Many thanks,

Simon.

Magic919
Posts: 57
Joined: Wed Sep 18, 2013 6:56 am

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by Magic919 » Tue Dec 17, 2013 1:33 pm

It's really two errors. It wants the MySQL client libs and also wants OpenSSL. Make sure they are installed and it should work. You can point it to those using the configure command, but may not have to.

mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by mastertheknife » Tue Dec 17, 2013 2:39 pm

Make sure you have the -dev (or -devel) versions for those two.
Kfir Itzhak.

scummings
Posts: 4
Joined: Tue Dec 17, 2013 10:34 am

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by scummings » Tue Dec 17, 2013 2:57 pm

Ok, thanks for looking... and responding.

MySQL Server is already installed on the box (as is MyPHPadmin) so should the client libs be there already - if not I'm trying to figure out which yum package to install for the client libs :(

Also, searching for the OpenSSL libs I did:

Code: Select all

find / -name openssl

/usr/bin/openssl
/usr/lib64/openssl

I've tried these cmake command lines without success:

Code: Select all

cmake -DZM_DB_NAME="dbname" ZM_DB_PASS="password" OPENSSL_LIBRARIES="/usr/bin/openssl" ./

cmake -DZM_DB_NAME="dbname" ZM_DB_PASS="password" OPENSSL_LIBRARIES="/usr/lib64/openssl" ./

cmake -DZM_DB_NAME="dbname" ZM_DB_PASS="password" OPENSSL_ROOT_DIR="/usr/bin/openssl"   ./

cmake -DZM_DB_NAME="dbname" ZM_DB_PASS="password" OPENSSL_ROOT_DIR="/usr/lib64/openssl"   ./
[/size]

Any more suggestions? All help much appreciated.

Thanks,

Simon.

mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by mastertheknife » Tue Dec 17, 2013 3:02 pm

Hi,

You don't need the OpenSSL options, cmake usually finds whatever it needs automatically.
Look for openssl-dev or openssl-devel package.

For mysqlclient, look for libmysqlclient-dev or mysqlclient-dev or libmysqlclient-devel
Its different from distro to another.
Kfir Itzhak.

mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by mastertheknife » Tue Dec 17, 2013 3:08 pm

Hi,

On my CentOS 6.4 x86-64 box, the packages are named mysql-devel and openssl-devel.
Install those packages and you should be good to go!
Kfir Itzhak.

scummings
Posts: 4
Joined: Tue Dec 17, 2013 10:34 am

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by scummings » Tue Dec 17, 2013 4:22 pm

Hi all,

Following the installation of the opensll-devel and mysql-devel packages - the ZoneMinder installation now fails on the Perl requirements...

The bigger problem appears to be that installing the mysql-devel package, and a bunch of the Perl packages appears to have killed the Admin console of my BlueOynx Server :(

Oh dear - any suggestions :(

User avatar
knight-of-ni
Posts: 2228
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: ZoneMinder installation on Centos BlueOnyx 5108R

Post by knight-of-ni » Thu Dec 26, 2013 6:55 pm

Any reason why you chose not to use the RPM's available here?
http://www.zoneminder.com/forums/viewto ... =9&t=19119

If you prefer to build zoneminder yourself, then download the srpm and build your own rpm from that.

For the adventurous, you can view the latest specfile here:
https://github.com/ZoneMinder/ZoneMinde ... e.el6.spec

This will show you all the dependencies and how to build zoneminder from the command line.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests