
ghenry at perl
May 13, 2008, 2:31 AM
Post #6 of 6
(320 views)
Permalink
|
Hi, Any more news on this? It didn't work for me, as per my follow up e-mail last week. Thanks. <quote who="Ruslan Zakirov"> > Try the following patch that should fix config: > === lib/RT/Config.pm > ================================================================== > --- lib/RT/Config.pm (revision 12186) > +++ lib/RT/Config.pm (local) > @@ -549,7 +549,7 @@ > # SCALAR, ARRAY... and other types with > # the same name > my $entry = ${$pack}{$k}; > - next unless $entry; > + next unless $entry && ref($entry) eq 'GLOB'; > > # get entry for type we are looking for > my $entry_ref = *{$entry}{ ref($ref) }; > > > Also, default RT layout has been changed, check ./configure --help and > try layout RT3 > > On Thu, May 8, 2008 at 2:09 PM, Gavin Henry <ghenry[at]perl.me.uk> wrote: >> Hi, >> >> I've just finished installing this on Centos 5.1 with the following >> built >> from source: >> >> PostgreSQL 8.3.1 >> Perl 5.10.0 >> mod_perl 2.0.4 >> >> so I can show some screenshots at http://blog.suretecsystems.com >> >> But I'm getting: >> >> [Thu May 08 11:02:59 2008] [error] Couldn't load RT config file >> RT_SiteConfig.pm:\n\nNot a GLOB reference at /opt/rt3/lib/RT/Config.pm >> line 555.\nCompilation failed in require at /opt/rt3/lib/RT/Config.pm >> line >> 306.\nBEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line >> 92.\nCompilation failed in require at (eval 2) line 1.\n >> >> [Thu May 08 11:02:59 2008] [error] Can't load Perl file: >> /opt/rt3/bin/webmux.pl for server rt.localhost:0, exiting... >> >> >> Config is just what "make install" provides for RT and Apache config >> is: >> >> cat /etc/httpd/conf.d/perl.conf >> LoadModule perl_module modules/mod_perl.so >> >> <VirtualHost *:80> >> ServerName rt.localhost >> >> DocumentRoot /opt/rt3/share/html >> AddDefaultCharset UTF-8 >> >> # optional apache logs for RT >> # ErrorLog /opt/rt3/var/log/apache2.error >> # TransferLog /opt/rt3/var/log/apache2.access >> >> PerlRequire "/opt/rt3/bin/webmux.pl" >> >> <Location /NoAuth/images> >> SetHandler default >> </Location> >> <Location /> >> SetHandler perl-script >> PerlResponseHandler RT::Mason >> </Location> >> </VirtualHost> >> >> as per README. >> >> Tips? >> >> Gavin. >> _______________________________________________ >> List info: >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel >> > > > > -- > Best regards, Ruslan. > _______________________________________________ List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
|