Downloaded 28 to my OrangePi. Running cmake and having some problems - "can't find mysql.h" but it's there, so I commented it out. Now I'm up to polkit-gobject-1 not found but it's there also as is glib2 "missing" NOT. I'm not a cmake expert so I'm not sure how to handle this. Suggestions please.
thanks
28 on an OrangePi
Re: 28 on an OrangePi
There are ready made packages for pis which you might want to check before you dive in to cmake. Check the forum archives - there are various posts on it.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: 28 on an OrangePi
If finding and using a package does not work, here is what I did in an OS that is between Debian and Ubuntu and neither packages worked without major issues.
I built a working ZoneMinder 1.28.109 on top of an XAMPP setup in a frugal install of Puppy Linux Tahr 6.0.3 using this:
Important was getting these :libpolkit-gobject-1-dev_0.105-8_i386.deb and libmysqlclient-dev_5.5.41-0+wheezy1_i386.deb
these are Debian but loaded into the Puppy Linux OS and then by using CPANM added the necessary PERL modules that were not present
Date::Manip
LWP::UserAgent
DBD::mysql
Sys::Mmap
I had to also add MIME::Entity or MIME::Lite and Net::SMTP to get the email function to work well.
Most of my problems were solved by finding out what PERL mods were missing and adding them or which directory was missing and adding it.
Also check if all the necessary directories are present and ownership correct. example: /zm/temp, /zm/events, /zm/images, etc.
I could not just use cmake without changing parameters. The prep was key and cmake did give clues to what was missing.
maybe this info will help you get started.
I built a working ZoneMinder 1.28.109 on top of an XAMPP setup in a frugal install of Puppy Linux Tahr 6.0.3 using this:
Code: Select all
git clone https://github.com/ZoneMinder/ZoneMinder.git
cd ZoneMinder/
git submodule init
git submodule update
cmake -DZM_WEBDIR=/opt/lampp/htdocs/zm -DZM_WEB_USER=daemon -DZM_WEB_GROUP=daemon -DZM_CGIDIR=/opt/lampp/cgi-bin .
make
make install
these are Debian but loaded into the Puppy Linux OS and then by using CPANM added the necessary PERL modules that were not present
Date::Manip
LWP::UserAgent
DBD::mysql
Sys::Mmap
I had to also add MIME::Entity or MIME::Lite and Net::SMTP to get the email function to work well.
Most of my problems were solved by finding out what PERL mods were missing and adding them or which directory was missing and adding it.
Also check if all the necessary directories are present and ownership correct. example: /zm/temp, /zm/events, /zm/images, etc.
I could not just use cmake without changing parameters. The prep was key and cmake did give clues to what was missing.
maybe this info will help you get started.
Re: 28 on an OrangePi
Got up to cmake ... and <snip>
CMake Error at CMakeLists.txt:383 (message):
ZoneMinder requires mysqlclient but it was not found on your system
apt-get or dnf = Couldn't find package mysqlclient
and Google has been no help at all.
Thanks
CMake Error at CMakeLists.txt:383 (message):
ZoneMinder requires mysqlclient but it was not found on your system
apt-get or dnf = Couldn't find package mysqlclient
and Google has been no help at all.
Thanks
Re: 28 on an OrangePi
here I made these available to you:
they all worked for me, I used the latest from each.
libmysqlclient-dev_5.5.41-0+wheezy1_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
libmysqlclient-dev_5.5.35+dfsg-2_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
libpolkit-gobject-1-dev_0.105-8_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
libpolkit-gobject-1-dev_0.105-3_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
they all worked for me, I used the latest from each.
libmysqlclient-dev_5.5.41-0+wheezy1_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
libmysqlclient-dev_5.5.35+dfsg-2_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
libpolkit-gobject-1-dev_0.105-8_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing
libpolkit-gobject-1-dev_0.105-3_i386.deb
https://drive.google.com/file/d/0By2RUs ... sp=sharing