Installing request-tracker3 debian package on 'testing'

I’m installing RT for the first time on the Debian i386 Linux 'testing’
distribution, using the instructions provided by Stephen Quinney in
/usr/share/doc/request-tracker3/INSTALL.Debian.gz. My distribution is
up to date; perl is standing at 5.8.4.

I encountered my first problem at the schema population step:

$ /usr/sbin/rt-setup-database --action init --dba rtuser
–prompt-for-dba-password

Can’t locate /etc/request-tracker3/RT_SiteConfig.pm in @INC (@INC
contains: /usr/share/request-tracker3/lib /etc/perl
/usr/\local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/l\ocal/lib/site_perl /usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3 .) at /usr/share/request-tracker3/lib/RT.pm
line 103

I guess I can get around this by setting the PERL5LIB variable, but …

What’s the “right” way to fix this in the context of the Debian package?

Is it possible that either the intructions or the package needs a tweak?

Thanks,
Kevin Murphy

I’m installing RT for the first time on the Debian i386 Linux 'testing’
distribution, using the instructions provided by Stephen Quinney in
/usr/share/doc/request-tracker3/INSTALL.Debian.gz. My distribution is
up to date; perl is standing at 5.8.4.

I encountered my first problem at the schema population step:

$ /usr/sbin/rt-setup-database --action init --dba rtuser
–prompt-for-dba-password

Can’t locate /etc/request-tracker3/RT_SiteConfig.pm in @INC (@INC
contains: /usr/share/request-tracker3/lib /etc/perl
/usr/\local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/l\ocal/lib/site_perl /usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3 .) at /usr/share/request-tracker3/lib/RT.pm
line 103

My first guess is that that’s a permissions issue. Try running the
command as root?

Jesse Vincent wrote:

Can’t locate /etc/request-tracker3/RT_SiteConfig.pm in @INC (@INC

My first guess is that that’s a permissions issue. Try running the
command as root?

Jesse, thanks a lot.

The next problem is a Perl module version problem which occurs when I
try to restart Apache for the first time; the debian sarge perl-modules
package comes with Locale::Maketext 1.03 instead of the required 1.04.

Would this be a dependency bug with request-tracker3 in debian testing?

-Kevin Murphy

root@www:/etc/apache-perl# /etc/init.d/apache-perl restart
Configuration syntax error detected. Not reloading.

[Thu Dec 30 13:00:44 2004] [error] Locale::Maketext version 1.04
required–this is only version 1.03 at
/usr/share/request-tr\acker3/lib/RT/I18N.pm line 33.\nBEGIN
failed–compilation aborted at
/usr/share/request-tracker3/lib/RT/I18N.pm line 33.\nCom\pilation failed
in require at /usr/share/request-tracker3/lib/RT.pm line 29.\nBEGIN
failed–compilation aborted at /usr/share/request-tracker3/lib/RT.pm
line 29.\nCompilation failed in require at
/usr/share/request-tracker3/libexec/webmux.pl line 42.\nBEGIN
failed–compilation aborted at
/usr/share/request-tracker3/libexec/webmux.pl line 42.\nCompilation
failed in require \at (eval 32) line 1.\n
Syntax error on line 12 of /etc/request-tracker3/apache-modperl.conf:
Locale::Maketext version 1.04 required–this is only version 1.03 at
/usr/share/request-tracker3/lib/RT/I18N.pm line 33.
BEGIN failed–compilation aborted at
/usr/share/request-tracker3/lib/RT/I18N.pm line 33.
Compilation failed in require at /usr/share/request-tracker3/lib/RT.pm
line 29.
BEGIN failed–compilation aborted at
/usr/share/request-tracker3/lib/RT.pm line 29.
Compilation failed in require at
/usr/share/request-tracker3/libexec/webmux.pl line 42.
BEGIN failed–compilation aborted at
/usr/share/request-tracker3/libexec/webmux.pl line 42.
Compilation failed in require at (eval 32) line 1.

Stephen Quinney wrote:>On Thu, Dec 30, 2004 at 01:14:05PM -0500, Kevin Murphy wrote:

Would this be a dependency bug with request-tracker3 in debian testing?

I am puzzled by this as my up-to-date sarge box running
request-tracker3 has the Locale::Maketext module version 1.08 provided
by the perl-modules package.

OK, there’s no problem with the debian request-tracker3 package then.

My system was definitely up to date (there are a few gnome packages
being held back right now, but nothing else), and I could swear I
manually checked the version in the installed Maketext.pm, but I must
have made a mistake.

I eventually found that my main problem was that I have the same
instance of Apache running Movable Type, which comes with its own rather
aged pre-packaged perl module dependencies, including Locale::Maketext,
which overrode the version provided by the perl-modules package.

Thanks,
Kevin Murphy

P.S. Part of the Movable Type setup involved the following config block
to get perl to find MT’s private versions of the perl modules: use
lib ‘blah’;. So I either needed to give RT and MT separate @INC
variables somehow, or get all of MT’s dependencies installed properly,
or put MT’s directories at the end of @INC instead of at the beginning,
as ‘use lib’ does. Temporarily I have replaced “use lib ‘blah’” with:
"BEGIN {push @INC, ‘blah’;}, and that is working for me.

The next problem is a Perl module version problem which occurs when I
try to restart Apache for the first time; the debian sarge perl-modules
package comes with Locale::Maketext 1.03 instead of the required 1.04.

Would this be a dependency bug with request-tracker3 in debian testing?

I am puzzled by this as my up-to-date sarge box running
request-tracker3 has the Locale::Maketext module version 1.08 provided
by the perl-modules package.

Which versions of perl-modules and request-tracker3 do you have
installed? I have 5.8.4-3 here and version 1.08 of Locale::Maketext
has been in since 5.8.4-1, request-tracker3 has depended on version
1.06 or newer since 3.0.8-1 which went out last January. It sounds
like your system is quite a bit out-of-date, you probably need to do
an apt-get update and upgrade before you go any further.

Stephen

signature.asc (189 Bytes)