Debian 5.0
Kernel 2.6.26-1-amd64
Dell T105 AMD server
1Gig ram
apt-get install bombs at:
Setting up zoneminder (1.24.2-1) ...
Starting ZoneMinder: Can't locate ZoneMinder.pm in @INC (@INC contains: /usr/local/share/perl/5.10.0 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have 1.24.1+b1 installed on two different machines at home, worked fine both times.
how would I get the older version using apt? I tried specifying a version but it was not found.
debian install bombs for 1.24.2-1 Fixed, see my last post
debian install bombs for 1.24.2-1 Fixed, see my last post
Last edited by skyking on Sat Oct 24, 2009 4:10 am, edited 1 time in total.
Re: debian installation bombs for 1.24.2-1
Try this.skyking wrote:Debian 5.0
Kernel 2.6.26-1-amd64
Dell T105 AMD server
1Gig ram
apt-get install bombs at:
Setting up zoneminder (1.24.2-1) ...
Starting ZoneMinder: Can't locate ZoneMinder.pm in @INC (@INC contains: /usr/local/share/perl/5.10.0 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
failure
invoke-rc.d: initscript zoneminder, action "start" failed.
dpkg: error processing zoneminder (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have 1.24.1+b1 installed on two different machines at home, worked fine both times.
how would I get the older version using apt? I tried specifying a version but it was not found.
cd /usr/local/share/perl/5.10.0
ln -s /usr/share/perl/5.10.0/ZoneMinder.pm .
ln -s /usr/share/perl/5.10.0/ZoneMinder .
Thanks!
I'll go post the bugfix next.
here's what I did:
cd /usr/share/perl/5.10.0
cp -R * ../5.10
apt-get install zoneminder
EDIT:
Better fix, edit /usr/bin/zmpkg.pl
It has a bad path to the custom perl install
I'll go post the bugfix next.
here's what I did:
cd /usr/share/perl/5.10.0
cp -R * ../5.10
apt-get install zoneminder
EDIT:
Better fix, edit /usr/bin/zmpkg.pl
It has a bad path to the custom perl install
Code: Select all
# ==========================================================================
#
# Don't change anything below here
#
# ==========================================================================
use lib '/usr/share/perl/5.10.0'; # Include custom perl install path
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
Re: debian install bombs for 1.24.2-1 Fixed, see my last pos
I've just confirmed that the package installs eplicitly at /usr/share/perl/5.10.0, rather than at /usr/share/perl/5.10skyking wrote:Debian 5.0
Kernel 2.6.26-1-amd64
Dell T105 AMD server
1Gig ram
apt-get install bombs at:
Setting up zoneminder (1.24.2-1) ...
Starting ZoneMinder: Can't locate ZoneMinder.pm in @INC (@INC contains: /usr/local/share/perl/5.10.0 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/zmpkg.pl line 46.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 46.
failure
Not sure why; in the short-term you could downgrade to perl 5.10.0 Meanwhile, I'll try to work out why the package wants to do that.
PJH
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
Missed that when I commented above; I know where that line is coming from, don't know why it resolves to 5.10.x rather than just 5.10. I'm going to play with that and see if that will get rid of the problem . . .skyking wrote: Better fix, edit /usr/bin/zmpkg.pl
It has a bad path to the custom perl install
Code: Select all
# ========================================================================== # # Don't change anything below here # # ========================================================================== use lib '/usr/share/perl/5.10.0'; # Include custom perl install path
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia