[Rt-devel] can't locate RT.pm - in 3.8-testing since beta2

Jason Long jlong at messiah.edu
Fri May 30 10:31:19 EDT 2008


Something changed in 3.8-TESTING which broke RT on my system. When I 
perform the upgrade and restart Apache, Apache fails to start, with the 
following error in my log file:

 [error] Can't locate RT.pm in @INC (@INC contains: 
/usr/sbin/../local/lib /usr/sbin/../lib 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . 
/etc/httpd) at /opt/rt3/bin/webmux.pl line 82.



I've narrowed down the problem to this 2008-05-15 change.

---------------------------------- aclocal.m4 
----------------------------------
index 9c6b641..95349dc 100755
@@ -30,7 +30,7 @@ AC_ARG_ENABLE(layout,
           LAYOUT=$enableval)
 
 if test "x$LAYOUT" = "x"; then
-    LAYOUT="RT3"
+    LAYOUT="relative"
 fi
 RT_LAYOUT($srcdir/config.layout, $LAYOUT)
 AC_MSG_CHECKING(for chosen layout)


Here is how I typically do an upgrade:
aclocal && autoconf && ./configure --with-apachectl=/usr/sbin/apachectl 
--with-web-handler=modperl2 && make testdeps

If I add --enable-layout=RT3 to my configure invocation, it seems to fix 
the problem. Is this the right solution? Should I rather do something to 
my Apache configuration so it can find the RT files? Or is it a bug?
Maybe something needs to be mentioned about layouts in the README and/or 
UPGRADING files.
Jason


More information about the Rt-devel mailing list