Page 2 of 3

Posted: Thu Oct 02, 2008 5:26 pm
by Lee Sharp
PeterHoward wrote:
Lee Sharp wrote:Cool. And allow me to be the first to say;

When are you releasing 1.24?!?!? :twisted:

You know it is coming.... :roll:
You want the bad news? I can't get it to build with the repo ffmpeg packages . . . which means it may have to be dumbed-down again.

PJH
Pain, pain, and more pain... You can try the ffmpeg from the medibuntu repos. It is updated more often, and includes audio... Of course, actually downloading it may put you on a terrorist watch list... :roll:

Posted: Wed Oct 08, 2008 6:01 pm
by mrd
Quick question...

Everything seems to be working so far but I've seen this other package mentioned in the threads about the .deb zm package you developed and I'm wondering if I need to install it?

libphp-serialization-perl_0.27-1_all.deb

?

Thanks,
Michael

Posted: Wed Oct 08, 2008 10:37 pm
by PeterHoward
mrd wrote:Quick question...

Everything seems to be working so far but I've seen this other package mentioned in the threads about the .deb zm package you developed and I'm wondering if I need to install it?

libphp-serialization-perl_0.27-1_all.deb
What distro/version (i.e. Debian, or Ubuntu, version of either) are you running? It may have auto-installed for you.

PJH

Posted: Wed Oct 08, 2008 10:40 pm
by mrd
I'm running Ubuntu Hardy (8.04) server.

Posted: Wed Oct 08, 2008 10:49 pm
by PeterHoward
mrd wrote:I'm running Ubuntu Hardy (8.04) server.
You're fine then; I had to get it for Gutsy . . .

PJH

Posted: Wed Oct 08, 2008 11:07 pm
by mrd
Thanks!

Posted: Sat Nov 22, 2008 7:25 pm
by elliot
Ok, so I have read the Forum and tried to find an answer to my question ahead of time. I also follow the instruction here:
ftp://www.northern-ridge.com.au/zonemin ... README.txt
to install ZM after I installed Ubuntu 7.04.

1. First I ran sudo dpkg -i zoneminder_1.23.3-3_i386.deb and got the error below:

Selecting previously deselected package zoneminder.
(Reading database ... 107813 files and directories currently installed.)
Unpacking zoneminder (from zoneminder_1.23.3-3_i386.deb) ...
Preparing to replace zoneminder 1.23.3-3 (using zoneminder_1.23.3-3_i386.deb.old) ...
Unpacking replacement zoneminder ...
More than one copy of package zoneminder has been unpacked
in this run ! Only configuring it once.
dpkg: dependency problems prevent configuration of zoneminder:
zoneminder depends on libavcodec1d (>= 0.cvs20070307); however:
Package libavcodec1d is not installed.
zoneminder depends on libavformat1d (>= 0.cvs20070307); however:
Package libavformat1d is not installed.
zoneminder depends on libavutil1d (>= 0.cvs20070307); however:
Package libavutil1d is not installed.
zoneminder depends on libc6 (>= 2.6-1); however:
Version of libc6 on system is 2.5-0ubuntu14.
zoneminder depends on libgcc1 (>= 1:4.2.1); however:
Version of libgcc1 on system is 1:4.1.2-0ubuntu4.
zoneminder depends on libgnutls13 (>= 1.6.3-0); however:
Version of libgnutls13 on system is 1.4.4-3ubuntu0.1.
zoneminder depends on libstdc++6 (>= 4.2.1); however:
Version of libstdc++6 on system is 4.1.2-0ubuntu4.
zoneminder depends on zlib1g (>= 1:1.2.3.3.dfsg-1); however:
Version of zlib1g on system is 1:1.2.3-13ubuntu4.
dpkg: error processing zoneminder (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
zoneminder

2. Then I ran apt-get -f install and got the output below:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libconvert-binhex-perl libarchive-tar-perl apache2-utils libdc1394-13 libnet-daemon-perl php5 libdbi-perl
libdbd-mysql-perl mysql-server-5.0 libapr1 libpcre3 mysql-client-5.0 mysql-common libarchive-zip-perl
apache2-mpm-prefork libavformat0d libplrpc-perl libmysqlclient15off apache2 apache2.2-common
libio-stringy-perl mysql-server libio-zlib-perl ffmpeg libdate-manip-perl libgsm1 libmime-perl
libmime-lite-perl libdevice-serialport-perl libavcodec0d libpq5 php5-mysql libapache2-mod-php5 libaprutil1
php5-common liba52-0.7.4
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
zoneminder
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 4379kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 108041 files and directories currently installed.)
Removing zoneminder ...
mysqladmin: DROP DATABASE zm failed;
error: 'Can't drop database 'zm'; database doesn't exist'

So it said it can't drop database zm because it does not exist. So I went into mysql and created a database named zm. But it still didn't help so I think I am barking up the wrog tree.

help please sincerely

Elliot

Posted: Sat Nov 22, 2008 7:34 pm
by Lee Sharp
Does this machine have internet access during install? It looks like when you attempted the initial install it could not get all the packages needed...

Posted: Sun Nov 23, 2008 1:10 am
by elliot
Yep, I definitely have internet. In fact I'm on it right now replying to this message, lol. So I'm not sure if my problem has more to do with Ubuntu or Zoneminder.

E.

Posted: Sun Nov 23, 2008 1:16 am
by elliot
and when I do this:

sudo apt-get install libavcodecld

I get this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libavcodecld

So it seems I can't even install the packages individually

Posted: Sun Nov 23, 2008 9:50 am
by PeterHoward
elliot wrote:and when I do this:

sudo apt-get install libavcodecld

I get this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libavcodecld

So it seems I can't even install the packages individually
Dumb question . . . is that libavcodecld or libavcodec1d above? Looking at the font here it appers that your second last character is the letter 'l' when it should be the number '1'

PJH

Posted: Mon Nov 24, 2008 12:34 am
by elliot
No, definitely not a dumb question Peter and I appreciate you responding. You are actually correct, I should have been using the number "1" insted of the letter "l".

So I ran
sudo apt-get install libavcodec1d

and got back:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavcodec1d 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 libavcodec1d has no installation candidate

So if this package is not available with apt-get I guess I should try to find it on the internet manually and and install the source by hand? Configure, Make, Make install

Posted: Mon Nov 24, 2008 7:19 am
by elliot
Ok so I fixed my own problem, LOL. Basically I had to load all these dependencies manually cause when it says "dpkg will install all of the prereqs automatically. " in the zoneminder wiki page that didn't work for me. So I ran:

sudo dpkg -i

on all these below after I Googled to find them on the Ubuntu site

zoneminder depends on libavcodec1d
zoneminder depends on libavformat1d
zoneminder depends on libavutil1d ed.
zoneminder depends on libc6 (.
zoneminder depends on libgcc1
zoneminder depends on libgnutls13
zoneminder depends on libstdc++6
zoneminder depends on zlib1g

Go figure

Posted: Mon Nov 24, 2008 3:39 pm
by Lee Sharp
That is just odd, since it works for me on every system I have tried. Glad you have it working, but I still wonder why it failed...

Ununtu gutsy install

Posted: Mon Nov 24, 2008 5:22 pm
by elliot
Hey Lee, yeah I don't know why I had such dumb luck but basically I followed the instructions in the README.txt file located here:
ftp://www.northern-ridge.com.au/zonemin ... README.txt

Now this README.txt file is located in this directory:
ftp://www.northern-ridge.com.au/zoneminder/1.22.3/ folder

but the version of ZM I was installing I got out of this folder:
ftp://www.northern-ridge.com.au/zonemin ... ntu/gutsy/


So following the README.txt file I did

sudo dpkg -i zoneminder_1.23.3-3_i386.deb

Then it complained about needing the "libphp-serialization" thingy. So I went ahead and did

sudo dpkg -i libphp-serialization-perl_0.27-1_all.deb

I went back and tried to install zoneminder again and I got the laundry list of dependencies that I needed. Using apt-get or aptitude would not automatically install them so I started Googling for them and getting them off the Ubuntu website. I put them all in a folder and started to run them. As I ran a few I started to run into other dependency issues, LOL and had to download whatever those were as well.

E.