Hi,
after installing rt-3-0-3pre4 apache does not start.
Following entry in error_log:
[Mon Jun 16 13:20:56 2003] [error] Can’t call method “SWASHGET” on an
undefined value at
/usr/local/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon/Gettext.pm
line 158 during global destruction.
Compilation failed in require at (eval 2045) line 1 during global
destruction.
Syntax error on line 1507 of /etc/httpd/httpd.conf:
Can’t call method “SWASHGET” on an undefined value at
/usr/local/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon/Gettext.pm
line 158 during global destruction.
Compilation failed in require at (eval 2045) line 1 during global
destruction.
My system:
SuSE 7.2
Apache 1.3.19
Perl 5.8.0 (compiled from source)
modperl1
Mysql
On a similar test-system with SuSE 8.1, Perl 5.8.0 the apache starts
normaly.
Does someone have an idea?
Thanks
Torsten
[Mon Jun 16 13:20:56 2003] [error] Can’t call method “SWASHGET” on an
undefined value at
/usr/local/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon/Gettext.pm
line 158 during global destruction.
Can you verify that that line reads:
$str =~ s/(?<![%\\])%([A-Za-z#*]\w*)\(([^\)]*)\)/"\[$1,".unescape($2)."]"/eg;
?
Thanks,
/Autrijus/
Autrijus Tang schrieb:
Hi,
Can you verify that that line reads:
$str =~ s/(?<![%\\])%([A-Za-z#*]\w*)\(([^\)]*)\)/"\[$1,".unescape($2)."]"/eg;
?
line 157 of Gettext.pm looks like your line.
Line 158 in my Gettext.pm:
$str =~ s/(?<![%\])%(\d+|*)/[_$1]/g;
For testing I have recompiled Perl 5.8.0 and modperl1. Then I installed
all needed modules by rt-3-0-3pre4 with “sbin/rt-test-dependencies
–with-mysql --with-modperl1 --install”.
All looks fine now, but apache terminates at startup with a segmention
fault. It looks like a problem with the
PerModule Apache::DBI
PerlRequire /opt/rt3/bin/webmix.pl
entry in httpd.conf. If I comment out these lines apache starts up.
Thanks
Torsten