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

sunnavy sunnavy at bestpractical.com
Fri May 30 11:40:18 EDT 2008


Hi Jason

yeah, now 'relative' is the default layout, because we want RT be more  
relocatable.

I just improved the way of resolving the relative lib path, which I  
think can fix the problem you encountered.

check it out :)


best wishes
sunnavy

On May 30, 2008, at 10:31 PM, Jason Long wrote:

> 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
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel









More information about the Rt-devel mailing list