Installing Zoneminder on OrangePi PC plus 2

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
Litvakas
Posts: 7
Joined: Sun Jan 22, 2017 9:45 pm

Installing Zoneminder on OrangePi PC plus 2

Post by Litvakas »

Hi,

I am trying to install Zoneminder on Orangepi PC plus 2, i am following this guide presented by Andrew Bauer -> http://zoneminder.blogspot.lt/p/zonemin ... lus-2.html

And i got a bit confused on the step - "We will need the following packages:"

When i am trying to install all mentioned packages i am receiving this:

Code: Select all

orangetm@orangepiplus:~$ sudo apt-get install git php5-common php5-gd php5-mysql php-pear mariadb-server fcgiwrap php5-fpm nginx gdebi-core dh-make-perl ssl-cert ffmpeg libvlc-dev libvlccore-dev vlc 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-gd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-common' has no installation candidate
E: Package 'php5-gd' has no installation candidate
E: Package 'php5-mysql' has no installation candidate
E: Package 'php5-fpm' has no installation candidate
It seems that php5 is no longer available in this distribution or am i missing something is there any other substitutes or specific php version which would be compatible with zoneminder?

Thank you,
Litvakas
Posts: 7
Joined: Sun Jan 22, 2017 9:45 pm

Re: Installing Zoneminder on OrangePi PC plus 2

Post by Litvakas »

Anyone? :(
User avatar
iconnor
Posts: 2879
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Installing Zoneminder on OrangePi PC plus 2

Post by iconnor »

Try using package names like php-gd instead of php5-gd. Most of the world has moved on to php7 since that guide was written.
Litvakas
Posts: 7
Joined: Sun Jan 22, 2017 9:45 pm

Re: Installing Zoneminder on OrangePi PC plus 2

Post by Litvakas »

iconnor thank you for reply, i have installed the php packages.

And i am now on step where i need to build the zoneminder - ./do_debian_package.sh `lsb_release -a 2>/dev/null | grep Codename | awk '{print $2}'` `date +%Y%m%d`01 local master

I have writen this command but i receive an error, any ideas why this could be happening?

./do_debian_package.sh: line 244: debuild: command not found
Error status code is: 0
Build failed.

Code: Select all

root@orangepiplus:/home/orangetm# wget https://raw.githubusercontent.com/ZoneMinder/ZoneMinder/master/utils/do_debian_package.sh
--2017-06-22 20:36:14--  https://raw.githubusercontent.com/ZoneMinder/ZoneMinder/master/utils/do_debian_package.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8067 (7.9K) [text/plain]
Saving to: ‘do_debian_package.sh’

do_debian_package.s 100%[===================>]   7.88K  --.-KB/s    in 0.001s  

2017-06-22 20:36:14 (9.36 MB/s) - ‘do_debian_package.sh’ saved [8067/8067]

root@orangepiplus:/home/orangetm# chmod a+x do_debian_package.sh
root@orangepiplus:/home/orangetm# ./do_debian_package.sh `lsb_release -a 2>/dev/null | grep
> ^C
root@orangepiplus:/home/orangetm# ./do_debian_package.sh `lsb_release -a 2>/dev/null | grep Codename | awk '{print $2}'`  `date +%Y%m%d`01 local master
Unknown option xenial, continue? (Y|n)y
continuing...
Unknown option 2017062201, continue? (Y|n)y
continuing...
Unknown option local, continue? (Y|n)y
continuing...
Unknown option master, continue? (Y|n)y
continuing...
Defaulting to source build
Defaulting to xenial for distribution
Defaulting to ZoneMinder upstream git
Defaulting to master branch
git clone https://github.com/ZoneMinder/ZoneMinder.git ZoneMinder_zoneminder_release
Cloning into 'ZoneMinder_zoneminder_release'...
remote: Counting objects: 63716, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 63716 (delta 1), reused 5 (delta 1), pack-reused 63705
Receiving objects: 100% (63716/63716), 98.65 MiB | 2.59 MiB/s, done.
Resolving deltas: 100% (46447/46447), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Doing source release zoneminder_1.31.1
Submodule 'web/api/app/Plugin/Crud' (https://github.com/FriendsOfCake/crud.git) registered for path 'web/api/app/Plugin/Crud'
Cloning into 'web/api/app/Plugin/Crud'...
remote: Counting objects: 52427, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 52427 (delta 0), reused 1 (delta 0), pack-reused 52422
Receiving objects: 100% (52427/52427), 12.03 MiB | 2.83 MiB/s, done.
Resolving deltas: 100% (38748/38748), done.
Checking connectivity... done.
Submodule path 'web/api/app/Plugin/Crud': checked out 'c3976f1478c681b0bbc132ec3a3e82c3984eeed5'
./do_debian_package.sh: line 244: debuild: command not found
Error status code is: 0
Build failed.
root@orangepiplus:/home/orangetm# 
Thank you for answers
Post Reply