debian sarge's zm.deb dependences

Support and queries relating to all previous versions of ZoneMinder
Locked
MK
Posts: 24
Joined: Fri Jun 24, 2005 11:13 pm

debian sarge's zm.deb dependences

Post by MK »

Hello everybody!

I tried to install zm with maximums zm.deb for debian stable sarge!
but i can get it work becauce of a pb of dependences with

liblame0 and libavcodec2.

How can I fix this? Is there some deb sources I can add to my apt/source.list to get it pretty??

i have tried using dselect but when solving pb of dependences whith some else packages, the pb always exists with these two!


thank you all for help!
mk
cavaughan
Posts: 14
Joined: Fri Mar 04, 2005 10:16 pm
Location: Seattle

Post by cavaughan »

Set up your sources.list to read:

deb ftp://ftp.us.debian.org/debian/ sarge main non-free contrib
deb-src ftp://ftp.us.debian.org/debian/ sarge main non-free contrib

deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free

deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb http://www.spic.net/zoneminder/debian ./
deb-src http://www.spic.net/zoneminder/debian ./

deb http://security.debian.org/ sarge/updates main contrib non-free
tim@pcs-alaska.com
Posts: 45
Joined: Fri May 06, 2005 7:30 pm
Location: Kenai, Alaska

Re: debian sarge's zm.deb dependences

Post by tim@pcs-alaska.com »

MK wrote:Hello everybody!

I tried to install zm with maximums zm.deb for debian stable sarge!
but i can get it work becauce of a pb of dependences with

liblame0 and libavcodec2.

How can I fix this?
You can install the packages you need:
# apt-get install liblame0 libavcodec2 libavcodec2-dev

You man not need the libavcodec2-dev.
MK wrote:Is there some deb sources I can add to my apt/source.list to get it pretty??

i have tried using dselect but when solving pb of dependences whith some else packages, the pb always exists with these two!


thank you all for help!
You may need to have a working apache, php4 environment before using the packages from:
deb http://www.spic.net/zoneminder/debian ./
deb-src http://www.spic.net/zoneminder/debian ./

Good luck,
Tim
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
yeager
Posts: 5
Joined: Sat Aug 27, 2005 1:17 pm
Location: Stockholm, Sweden

Post by yeager »

I get this error when trying to install the zm-package:

zm: Depends: phpapi-20020918
E: Broken packages
--
Daniel
(CISSP)
yeager
Posts: 5
Joined: Sat Aug 27, 2005 1:17 pm
Location: Stockholm, Sweden

Post by yeager »

I forced the package to be installed since phpapi-20020918 is just a virtual package, I got this error when accessing the webpage

Code: Select all

Warning: main(zm_wav.php): failed to open stream: No such file or directory in /var/www/zm/zm.php on line 162
Fatal error: main(): Failed opening required 'zm_wav.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/zm/zm.php on line 162

--
Daniel
(CISSP)
yeager
Posts: 5
Joined: Sat Aug 27, 2005 1:17 pm
Location: Stockholm, Sweden

Post by yeager »

Well, after a few minutes on Google, I found the problem.
Recently upgraded to PHP5..

PHP5 has no more the mysql_pconnect function. That has been replace by the mysqli_connect.
--
Daniel
(CISSP)
yeager
Posts: 5
Joined: Sat Aug 27, 2005 1:17 pm
Location: Stockholm, Sweden

Post by yeager »

I fixed it.
Now running Zoneminder 1.21.3 on Debian unstable with MySQL 5.0.11beta3 and PHP 5.0.4.

Just add to your /etc/apt/sources.list


deb http://people.debian.org/~dexter php5 sarge

apt-get update
apt-get install php5.0-common php5.0-mysql php5.0-cgi

This should do the trick.


Daniel
--
Daniel
(CISSP)
maximum
Posts: 19
Joined: Wed Aug 17, 2005 8:17 pm

Re: debian sarge's zm.deb dependences

Post by maximum »

MK wrote:Hello everybody!

I tried to install zm with maximums zm.deb for debian stable sarge!
but i can get it work becauce of a pb of dependences with

liblame0 and libavcodec2.

How can I fix this? Is there some deb sources I can add to my apt/source.list to get it pretty??

i have tried using dselect but when solving pb of dependences whith some else packages, the pb always exists with these two!


thank you all for help!
hi MK, sorry for the late answer but my adsl connetion has suffer a damage and now i' m connected by wardriving. I hope that tomorrow all works fine.

I have realized that the zm package is not enougth to install in a stabel sarge, because some important components from marrillat reposity is needed. So tomorrow, i will repack the debian packages on my zm-box and i will send them you if you want.

I think that is better to have a stable reposity for ZM and all dependences.
Some one can hosts a couple of .deb?

best,
MaX

best,
MaX
MK
Posts: 24
Joined: Fri Jun 24, 2005 11:13 pm

Post by MK »

ok! I am waiting for it.
thank you
mk
maximum
Posts: 19
Joined: Wed Aug 17, 2005 8:17 pm

Post by maximum »

MK wrote:ok! I am waiting for it.
thank you
Hi MK, i'm sendig you by email, all the components necessary for ZM in Debian/Stable (5 MB).

below the list of debs:

ffmpeg_20050427-0sarge0.1_i386.deb
libavcodec2_0.4.9-pre1-0.4_i386.deb
libavcodeccvs_20050427-0sarge0.1_i386.deb
libfaac0_1.24-0.3_i386.deb
libfaad2-0_2.0.0-0.5_i386.deb
libogg0_1.1.2-1_i386.deb
libsdl1.2debian_1.2.7+1.2.8cvs20041007-4.1_i386.deb
libvorbis0a_1.1.0-1_i386.deb
libvorbisenc2_1.1.0-1_i386.deb
libx11-6_4.3.0.dfsg.1-14_i386.deb
libxvidcore4_1.1.0-beta2-0.0_i386.deb
zm_1.21.3-3_i386.deb

If something is missing please let's me know

best,
MaX
seb3s
Posts: 27
Joined: Wed Aug 31, 2005 10:27 am
Location: Paris, France

does the package contains a compiled zm with libpcre ?

Post by seb3s »

Hi maximum,

I've used the debian package to install on debian/sarge stable.
However, when I tried to use a Trendnet TV-IP100W, the webcam froze after a few seconds.

I already met this case when I was using the LiveCD, but this was solved when I checked the ZM_NETCAM_REGEXPS option. Under my new debian install, checking this option does not make any changes.

Then I found in the forum that this option requires the libpcre module to be compiled with zm (not sure what this means)
So my question.

TIA,
Sebastien.
maximum
Posts: 19
Joined: Wed Aug 17, 2005 8:17 pm

Re: does the package contains a compiled zm with libpcre ?

Post by maximum »

seb3s wrote:Hi maximum,

I've used the debian package to install on debian/sarge stable.
However, when I tried to use a Trendnet TV-IP100W, the webcam froze after a few seconds.

I already met this case when I was using the LiveCD, but this was solved when I checked the ZM_NETCAM_REGEXPS option. Under my new debian install, checking this option does not make any changes.

Then I found in the forum that this option requires the libpcre module to be compiled with zm (not sure what this means)
So my question.

TIA,
Sebastien.
Hi,
tomorrow i will try to recompile ZM with libpcre3-dev installad.

best,
MaX
seb3s
Posts: 27
Joined: Wed Aug 31, 2005 10:27 am
Location: Paris, France

Any progress ?

Post by seb3s »

Hi maximum,

Did you get a chance to have a look into this ?

Thanks,
Sebastien.
maximum
Posts: 19
Joined: Wed Aug 17, 2005 8:17 pm

Re: Any progress ?

Post by maximum »

seb3s wrote:Hi maximum,

Did you get a chance to have a look into this ?

Thanks,
Sebastien.
i got it!

please send me a mail so i'll send you the package just recompiled

best
MaX
Locked