Compatibility layers?

Lo everyone,

I’ve setup RT3 on my FreeBSD 4.7-STABLE box, running perl 5.8.0 (Recently
Upgraded).

After initial installation, the dependencies was all fine (no modules
reported missing), and RT installed successfully - frankly, it was much
easier than the RT2 installations I’ve done previously.

I added the mail gateways, and so far, they too seem to run properly,
returning a 403-FORBIDDEN Error message, which is understandable, seeing
that Apache hasn’t been set up yet.

I completed the Apache configuration, the snippet of my apache config:

Request Tracker

AddDefaultCharset UTF-8
Alias /rt/ /usr/local/rt3/WebRT/html/
<Directory /usr/local/rt3/WebRT/html>
Options None
AllowOverride AuthConfig FileInfo Indexes Limit
Order allow,deny
Allow from all

PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
<Location /rt>
SetHandler perl-script
PerlHandler RT::Mason

However, when I issue a apachectl configtest, I get the following:
Syntax error on line 386 of /usr/local/etc/apache/httpd.conf:
Encode.pm compatibility layer for 5.00503 not yet available. at
/usr/local/lib/perl5/site_perl/5.005/Encode/compat.pm line 21.
BEGIN failed–compilation aborted at /usr/local/rt3/lib/RT/I18N.pm line 41.
BEGIN failed–compilation aborted at /usr/local/rt3/lib/RT.pm line 29.
BEGIN failed–compilation aborted at /usr/local/rt3/bin/webmux.pl line 37.

Now, I’ve read about this “compatibility layer” error with encode.pm before,
and I am briefly understanding the error. I haven’t found a solution for
this yet…

Is there anyone who can shed some light on this for me perhaps…

me

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  • Chris Knipe [2003-04-10 13:25]:

I’ve setup RT3 on my FreeBSD 4.7-STABLE box, running perl 5.8.0
(Recently Upgraded).

It sounds like you didn’t rebuild Apache/mod_perl. That would explain
the errors you’re seeing.

(darren)


I’d rather have my own game show than enough votes to become
president.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)

iD8DBQE+lao6zsinjrVhZaoRAmQLAJ0Swk0p/AmLf8TzYchc8F3SJgVIeACfZXIl
i8ZWTHxBSFc+XELLNGvsjtc=
=2W+8
-----END PGP SIGNATURE-----

I second that. And this is a great headache. As per jesse’s advise, I
installed FastCGI. Install was a breeze (less than one minute), and RT was
up and running in no time. www.fastcgi.com

And in httpd.conf, instead of the Perl lines, you use:

    AddHandler fastcgi-script .fcgi
    FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi
    Alias /NoAuth/images/ /usr/local/rt3/share/html/NoAuth/images/
    ScriptAlias / /usr/local/rt3/bin/mason_handler.fcgi/

where /usr/local/rt3 is what you replace for your RT path if it is
different…On Thu, 10 Apr 2003, darren chamberlain wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  • Chris Knipe [2003-04-10 13:25]:

I’ve setup RT3 on my FreeBSD 4.7-STABLE box, running perl 5.8.0
(Recently Upgraded).

It sounds like you didn’t rebuild Apache/mod_perl. That would explain
the errors you’re seeing.

(darren)


I’d rather have my own game show than enough votes to become
president.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)

iD8DBQE+lao6zsinjrVhZaoRAmQLAJ0Swk0p/AmLf8TzYchc8F3SJgVIeACfZXIl
i8ZWTHxBSFc+XELLNGvsjtc=
=2W+8
-----END PGP SIGNATURE-----


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

Best regards,
Shimi

“Outlook is a massive flaming horrid blatant security violation, which
also happens to be a mail reader.”

“Sure UNIX is user friendly; it’s just picky about who its friends are.”

Thank you Darren,

That was indeed the problem - the thought never even crossed my mind that I
would need to recompile mod_perl twappes himself.

All up and running like a dream now…

me----- Original Message -----
From: “darren chamberlain” darren@boston.com
To: rt-users@lists.fsck.com
Sent: Thursday, April 10, 2003 7:30 PM
Subject: Re: [rt-users] compatibility layers?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  • Chris Knipe [2003-04-10 13:25]:

I’ve setup RT3 on my FreeBSD 4.7-STABLE box, running perl 5.8.0
(Recently Upgraded).

It sounds like you didn’t rebuild Apache/mod_perl. That would explain
the errors you’re seeing.

(darren)


I’d rather have my own game show than enough votes to become
president.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)

iD8DBQE+lao6zsinjrVhZaoRAmQLAJ0Swk0p/AmLf8TzYchc8F3SJgVIeACfZXIl
i8ZWTHxBSFc+XELLNGvsjtc=
=2W+8
-----END PGP SIGNATURE-----


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