Problems with newer Perl release

Hi!

I have to install RT on a distribution running perl 5.8. Unfortunatly I
keep getting following error message:

rt2:/srv/www/htdocs # /etc/init.d/apache start
Starting httpd [ Mailman PERL ]/etc/init.d/apache: line 206: 3185
Segmentation fault $HTTPD_BIN $INET6 -t -f /etc/httpd/httpd.conf
$MODULES >/var/log/httpd/rcapache.log 2>&1

[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88.
[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217.
Syntax OK
failed

Has anyone already found a work around to this problem but reverting to
perl 5.6.x?

krgds
AH.

Murphy was an optimist.

Alexander Hubmann said:

[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88.
[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217.
Syntax OK
failed

Has anyone already found a work around to this problem but reverting to
perl 5.6.x?

Why don’t you just fix these two lines?

So long… Erik Wasser

Hmm, good idea :slight_smile:

Its just, that I dont know where these functions are called, as it seems
to me, that not Format.pm is the problem but the caller.
I tried something like eval { }; to catch the error message with a local
WARN handler but no success.
I’m just not that familiar with perl to even understand, where the problem
is…
So still any ideas? I play some time now with that and revert to an older
distribution if I can’t get it work.

Murphy was an optimist.On Mon, 16 Dec 2002, Erik Wasser wrote:

Alexander Hubmann said:

[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88.
[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217.
Syntax OK
failed

Has anyone already found a work around to this problem but reverting to
perl 5.6.x?

Why don’t you just fix these two lines?


So long… Erik Wasser


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I’m currently running RT 2.0.15 on perl 5.8.0 without any errors.

Was the Perl 5.8.0 an upgrade or a clean install.

You might try to reinstall the Date::Format module to verify you have
the latest copy.

I had some issues early on with Perl 5.8.0 disliking some older versions
of modules due to similar complaints. In most cases I upgraded to the
latest version and all was well. The only case it wasn’t was with
CGI_Lite which has been (apparently) abandoned, so I just switch to CGI.On Mon, 2002-12-16 at 08:06, Alexander Hubmann wrote:

Hi!

I have to install RT on a distribution running perl 5.8. Unfortunatly I
keep getting following error message:

rt2:/srv/www/htdocs # /etc/init.d/apache start
Starting httpd [ Mailman PERL ]/etc/init.d/apache: line 206: 3185
Segmentation fault $HTTPD_BIN $INET6 -t -f /etc/httpd/httpd.conf
$MODULES >/var/log/httpd/rcapache.log 2>&1

[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88.
[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217.
Syntax OK
failed

Has anyone already found a work around to this problem but reverting to
perl 5.6.x?

krgds
AH.


Murphy was an optimist.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
Todd A. Green tagreen@mhsnetworks.net
Managed Hosting Soutions, Inc.

“EW” == Erik Wasser erik.wasser@iquer.net writes:

EW> Alexander Hubmann said:

[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 88.
[Mon Dec 16 09:04:25 2002] Format.pm: Using an array as a reference is
deprecated at /usr/lib/perl5/site_perl/5.8.0/Date/Format.pm line 217.
Syntax OK
failed

Has anyone already found a work around to this problem but reverting to
perl 5.6.x?

EW> Why don’t you just fix these two lines?

Maybe because they have nothing to do with crashing? They’re just
warnings that a feature used is “deprecated”. It still works, but
requests that you change it since it may not work in the future.

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

All,

thanx for the help, after trying a while I reverted to an older
distribution and RT is running nice now.

Nevertheless I will do a test with my first setup and see if I can
reproduce the error.

AH.

Murphy was an optimist.