RT2 from BSD to Linux

Just to see if someone out there still remembers how to work with RT2.
We have a version of RT2 extensively modified for special usage.
For example, deleting tickets, auto backup, bulk upload from files, etc.
It is now on BSD, but we intend to migrate to Linux. We do not plan to
upgrade it to RT3 since hundreds of files have been modified or added in
RT2.

This is the error when I tried to start Apache:
The Parser module is no longer a part of HTML::Mason. Please see the Lexer
and Compiler modules, its replacements.\nCompilation failed in require at
/usr/local/share/perl/5.8.4/HTML/Mason.pm line 10.\nBEGIN
failed–compilation aborted at /usr/local/share/perl/5.8.4/HTML/Mason.pm
line 10.\nCompilation failed in require at /etc/perl/HTML/Mason/Interp.pm
line 13.\nBEGIN failed–compilation aborted at
/etc/perl/HTML/Mason/Interp.pm line 13.\nCompilation failed in require at
/etc/perl/HTML/Mason/ApacheHandler.pm line 246.\nBEGIN failed–compilation
aborted at /etc/perl/HTML/Mason/ApacheHandler.pm line 246.\nCompilation
failed in require at /usr/local/rt2/bin/webmux.pl line 20.\nBEGIN
failed–compilation aborted at /usr/local/rt2/bin/webmux.pl line
20.\nCompilation failed in require at (eval 6) line 1.\n
Syntax error on line 82 of /etc/apache/httpd.conf:

So, I went ahead and modified Mason.pm as follows:
Replace:
use HTML::Mason::Parser;

with:
use HTML::Mason::Compiler;
use HTML::Mason::Lexer;

Then, I got the following error:
Global symbol “$m” requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.\nCompilation failed in require at
(eval 6) line 1.\n
Syntax error on line 82 of /etc/apache/httpd.conf:
Global symbol “$m” requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.

Any idea how I should proceed?

Thanks a lot.

  • Chunyen

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
Thank you for your cooperation

I don’t mean this in a bad way but from experience I would recommend
spending 2-3 months upgrading to rt3-4 and moving to linux . else you’ll end
up with problems everytime you upgrade/patch your system.

RoyFrom: “Liu, Chunyen” Chunyen.Liu@garmin.com
To: rt-users@lists.bestpractical.com
Sent: Wednesday, August 10, 2005 9:44 PM
Subject: [rt-users] RT2 from BSD to Linux

Just to see if someone out there still remembers how to work with RT2.
We have a version of RT2 extensively modified for special usage.
For example, deleting tickets, auto backup, bulk upload from files, etc.
It is now on BSD, but we intend to migrate to Linux. We do not plan to
upgrade it to RT3 since hundreds of files have been modified or added in
RT2.

This is the error when I tried to start Apache:

The Parser module is no longer a part of HTML::Mason. Please see the
Lexer
and Compiler modules, its replacements.\nCompilation failed in require at
/usr/local/share/perl/5.8.4/HTML/Mason.pm line 10.\nBEGIN
failed–compilation aborted at /usr/local/share/perl/5.8.4/HTML/Mason.pm
line 10.\nCompilation failed in require at /etc/perl/HTML/Mason/Interp.pm
line 13.\nBEGIN failed–compilation aborted at
/etc/perl/HTML/Mason/Interp.pm line 13.\nCompilation failed in require at
/etc/perl/HTML/Mason/ApacheHandler.pm line 246.\nBEGIN failed–compilation
aborted at /etc/perl/HTML/Mason/ApacheHandler.pm line 246.\nCompilation
failed in require at /usr/local/rt2/bin/webmux.pl line 20.\nBEGIN
failed–compilation aborted at /usr/local/rt2/bin/webmux.pl line
20.\nCompilation failed in require at (eval 6) line 1.\n
Syntax error on line 82 of /etc/apache/httpd.conf:

So, I went ahead and modified Mason.pm as follows:
Replace:
use HTML::Mason::Parser;

with:
use HTML::Mason::Compiler;
use HTML::Mason::Lexer;

Then, I got the following error:

Global symbol “$m” requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.\nCompilation failed in require at
(eval 6) line 1.\n
Syntax error on line 82 of /etc/apache/httpd.conf:
Global symbol “$m” requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.

Any idea how I should proceed?

Thanks a lot.

  • Chunyen

          ------------------------- 
    

This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient. If you are not the intended recipient,
please be aware that any disclosure, copying, distribution or use of this
e-mail or any attachment is prohibited. If you have received this e-mail in
error, please contact the sender and delete all copies.
Thank you for your cooperation


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

I don’t mean this in a bad way but from experience I would recommend
spending 2-3 months upgrading to rt3-4 and

upgrading to rt3-4 is good advice, but to say moving to Linux will
makes none. I run rt on FreeBSD without any problems. If the OP
has customization for rt2 and they want this customization for rt3
then they will need to add it no matter what the OS.

moving to linux . else you’ll end
up with problems everytime you upgrade/patch your system.

Roy
----- Original Message -----
From: “Liu, Chunyen” Chunyen.Liu@garmin.com
To: rt-users@lists.bestpractical.com
Sent: Wednesday, August 10, 2005 9:44 PM
Subject: [rt-users] RT2 from BSD to Linux

Just to see if someone out there still remembers how to work with RT2.
We have a version of RT2 extensively modified for special usage.
For example, deleting tickets, auto backup, bulk upload from files, etc.
It is now on BSD, but we intend to migrate to Linux. We do not plan to
upgrade it to RT3 since hundreds of files have been modified or added in
RT2.

This is the error when I tried to start Apache:

The Parser module is no longer a part of HTML::Mason. Please see the
Lexer
and Compiler modules, its replacements.\nCompilation failed in require at
/usr/local/share/perl/5.8.4/HTML/Mason.pm line 10.\nBEGIN
failed–compilation aborted at /usr/local/share/perl/5.8.4/HTML/Mason.pm
line 10.\nCompilation failed in require at /etc/perl/HTML/Mason/Interp.pm
line 13.\nBEGIN failed–compilation aborted at
/etc/perl/HTML/Mason/Interp.pm line 13.\nCompilation failed in require at
/etc/perl/HTML/Mason/ApacheHandler.pm line 246.\nBEGIN failed–compilation
aborted at /etc/perl/HTML/Mason/ApacheHandler.pm line 246.\nCompilation
failed in require at /usr/local/rt2/bin/webmux.pl line 20.\nBEGIN
failed–compilation aborted at /usr/local/rt2/bin/webmux.pl line
20.\nCompilation failed in require at (eval 6) line 1.\n
Syntax error on line 82 of /etc/apache/httpd.conf:

So, I went ahead and modified Mason.pm as follows:
Replace:
use HTML::Mason::Parser;

with:
use HTML::Mason::Compiler;
use HTML::Mason::Lexer;

Then, I got the following error:

Global symbol “$m” requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.\nCompilation failed in require at
(eval 6) line 1.\n
Syntax error on line 82 of /etc/apache/httpd.conf:
Global symbol “$m” requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.

Any idea how I should proceed?

Thanks a lot.

  • Chunyen

          ------------------------- 
    

This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient. If you are not the intended recipient,
please be aware that any disclosure, copying, distribution or use of this
e-mail or any attachment is prohibited. If you have received this e-mail in
error, please contact the sender and delete all copies.
Thank you for your cooperation


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Scott T. Hildreth shildret@scotth.emsphone.com

I don’t mean this in a bad way but from experience I would recommend
spending 2-3 months upgrading to rt3-4 and

upgrading to rt3-4 is good advice, but to say moving to Linux will
makes none. I run rt on FreeBSD without any problems. If the OP
has customization for rt2 and they want this customization for rt3
then they will need to add it no matter what the OS.

I think the relevant point is that he needs a downrev version
of perl and associated modules and the OS is only slightly
related to the issue. Unless you are already tied to a particular
OS distribution, I’d try Centos3, which like the RHEL3 version
is a couple of years old but still receiving security and bugfix
updates.

Les Mikesell
les@futuresource.com