Hi, after installing 1.20.1 I still have the problem on RH9:
[root@linuxpc zm-1.20.1]# zmpkg.pl
Use of uninitialized value in transliteration (tr///) at /usr/local/bin/zmpkg.pl line 52, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in transliteration (tr///) at /usr/local/bin/zmpkg.pl line 52, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in transliteration (tr///) at /usr/local/bin/zmpkg.pl line 52, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in transliteration (tr///) at /usr/local/bin/zmpkg.pl line 52, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Use of uninitialized value in string eq at /usr/local/bin/zmpkg.pl line 53, <CONFIG> line 5.
Undefined subroutine &main::ZM_DB_NAME called at /usr/local/bin/zmpkg.pl line 64.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 74.
Wasn't this solved in 1.20.1 or do I need to do something ?
Best regards,
DN
Perl errors in 1.20.1 on RedHat9
Perl errors in 1.20.1 on RedHat9
Last edited by loop on Thu Feb 10, 2005 8:04 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Interesting solution. I know perl (I think in RH9) had problems with thinking everything was UTF so if you edited /etc/sysconfig/i18n and removed any references to UTF it worked ok.
So in my copy I changed
to
and
to
You could try that and see if it helps.
Phil
So in my copy I changed
Code: Select all
LANG="en_GB.UTF-8"
Code: Select all
LANG="en_GB"
Code: Select all
SUPPORTED="en_GB.UTF-8:en_GB:en:en_US.UTF-8:en_US:en"
Code: Select all
SUPPORTED="en_GB:en_US:en"
Phil
Hi Phil,
I missed your discussion with 'loop' - my fault.
1. The new /etc/sysconfig/i18n looks like:
LANG="en_US"
SUPPORTED="en_US:en:ru_RUuk_UA:uk"
SYSFONT="latarcyrheb-sun16"
got :
[root@ur5wa bin]# ./zmpkg.pl
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at ./zmpkg.pl line 76.
BEGIN not safe after errors--compilation aborted at ./zmpkg.pl line 77.
switching between "en_GB" and "en_US" doesn't change anything
2.Tried changing 'use strict' to 'use bytes' in all .pl scripts as proposed by 'loop'
got:
[root@ur5wa scripts]# ./zm start
Starting ZoneMinder: Bareword found in conditional at /usr/local/bin/zmpkg.pl line 261.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 275.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 279.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 284.
Can't open log file: No such file or directory at /usr/local/bin/zmpkg.pl line 166.
[FAILED]
It seems I'm still missing something.
In fact I needed to install some of the following CPAN moduled to make "dxspider" program work (http://www.dxcluster.org )
TimeDate-2.27.tar.gz
Net-Telnet-3.03.tar.gz
Curses-1.08a.tar.gz
Time-HiRes-01.20.tar.gz
Digest-SHA1-2.01.tar.gz
Still need someone's help.
73,Vic
I missed your discussion with 'loop' - my fault.
1. The new /etc/sysconfig/i18n looks like:
LANG="en_US"
SUPPORTED="en_US:en:ru_RUuk_UA:uk"
SYSFONT="latarcyrheb-sun16"
got :
[root@ur5wa bin]# ./zmpkg.pl
Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at ./zmpkg.pl line 76.
BEGIN not safe after errors--compilation aborted at ./zmpkg.pl line 77.
switching between "en_GB" and "en_US" doesn't change anything
2.Tried changing 'use strict' to 'use bytes' in all .pl scripts as proposed by 'loop'
got:
[root@ur5wa scripts]# ./zm start
Starting ZoneMinder: Bareword found in conditional at /usr/local/bin/zmpkg.pl line 261.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 275.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 279.
Bareword found in conditional at /usr/local/bin/zmpkg.pl line 284.
Can't open log file: No such file or directory at /usr/local/bin/zmpkg.pl line 166.
[FAILED]
It seems I'm still missing something.
In fact I needed to install some of the following CPAN moduled to make "dxspider" program work (http://www.dxcluster.org )
TimeDate-2.27.tar.gz
Net-Telnet-3.03.tar.gz
Curses-1.08a.tar.gz
Time-HiRes-01.20.tar.gz
Digest-SHA1-2.01.tar.gz
Still need someone's help.
73,Vic
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: