RT installation problem

Hi,
I am trying to install “rt2” and am following the RTFM. Once I added
the Virtual host entries in the httpd.conf as shown:

DocumentRoot /path/to/rt2/WebRT/html ServerName rt.example.com PerlModule Apache::DBI PerlFreshRestart On PerlRequire /path/to/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason

I get this error when I tried to stop and start the httpd server. here’s the
error.

/usr/local/apache/bin/apachectl start
Variable “$m” is not imported at /opt/rt2/bin/webmux.pl line 94.
[Tue Apr 16 12:04:26 2002] [error] Global symbol “$m” requires explicit
package name at /opt/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 37) line 1.

Syntax error on line 1015 of /usr/local/apache/conf/httpd.conf:
Global symbol “$m” requires explicit package name at /opt/rt2/bin/webmux.pl
line 94.
Compilation failed in require at (eval 37) line 1.

Any idea , how I can import the $m variable in webmux.pl

regards
-Prasad

Apache has been configured amd mod_perl statically linked. Perl version is
5.6.1 and all the perl modules mentioned in ‘make testdeps’ have been
installed. Do you think fastcgi is a better option than mod_perl?

Thanks for your response.

-PrasadFrom: Yan Fitterer [mailto:y.fitterer@ram.ac.uk]
Sent: Tuesday, April 16, 2002 3:47 PM
To: V S R A, Prasad (Prasad)
Subject: Re: [rt-users] RT installation problem

Hi,

I can’t contribute specific info on $m, but I would point you to the
"things ouside RT". Basically, you can take it as “rt works”.
Meaning that if you’re getting errors, it’s much more likely than not
that the problem is either with:

  • Apache (config problem?)
  • Perl (I’ve seen some reports that versions can conflict)
  • RT::Mason
  • mod_perl
  • Other supporting perl modules

The classic is a DSO mod_perl not really working with Mason.
Mason people (and RT people) suggest that you use mod_perl
statically linked into apache, not as a loadable module.

In short, I would not be looking for an rt bug at this stage.

Y.

prasad,

i’m running into the same problem… :frowning:

i’m thinking it may have something to do w/ mason’s interface changing a
bit. but i’m not positive. i’m a perl and rt newbie. but maybe that’ll
help some.

if you figure it out, please share what you did. thanks!

regards,

-matt

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454

prasad,

hello. :slight_smile:

i was able to get it working by downgrading html::mason to version 1.02.

regards,

-mattOn Tue, 16 Apr 2002, Matt Bradshaw wrote:

prasad,

i’m running into the same problem… :frowning:

i’m thinking it may have something to do w/ mason’s interface changing a
bit. but i’m not positive. i’m a perl and rt newbie. but maybe that’ll
help some.

if you figure it out, please share what you did. thanks!

regards,

-matt

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454

Good for you!

I tried downgrading to.
Here is what the dependency check shows:

/data//rt/rt-2-0-13/tools/testdeps -warn pg
Checking for Digest::MD5…found
Checking for Storable…found
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.48 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 1.02 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::Pg …found

What else can I try?
How do these versions match up?On Tue, 2002-04-16 at 13:06, Matt Bradshaw wrote:

prasad,

hello. :slight_smile:

i was able to get it working by downgrading html::mason to version 1.02.

regards,

-matt

On Tue, 16 Apr 2002, Matt Bradshaw wrote:

prasad,

i’m running into the same problem… :frowning:

i’m thinking it may have something to do w/ mason’s interface changing a
bit. but i’m not positive. i’m a perl and rt newbie. but maybe that’ll
help some.

if you figure it out, please share what you did. thanks!

regards,

-matt

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

respectfully,
Joseph (606) 477-7551

joseph,

hrm… from looking at your earlier post, i’m not sure if we were
having the same problem(s).

my problem was that on apache startup, i’d get complaints about…

Variable “$m” is not imported at /opt/rt2/bin/webmux.pl line 94.
[Tue Apr 16 12:04:26 2002] [error] Global symbol “$m” requires explicit
package name at /opt/rt2/bin/webmux.pl line 94.

i’d imagine that everyone using the latest html::mason would see that
error somewhere in the process of installation though.

the testdeps script also said that rt dependencies were satisfied in my
case. but 1.09 wouldn’t work for me. i’d examine the file
(/usr/lib/perl5/site_perl/5.6.1/HTML/Mason.pm in my case) and look to see
if you’re running 1.02.

i hope this helps. but i may be leading you up the wrong tree.

regards,

-mattOn 16 Apr 2002, Joseph wrote:

Good for you!

I tried downgrading to.
Here is what the dependency check shows:

/data//rt/rt-2-0-13/tools/testdeps -warn pg
Checking for Digest::MD5…found
Checking for Storable…found
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.48 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 1.02 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::Pg …found

What else can I try?
How do these versions match up?

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454

Great!! I tried downgrading, but am caught up in a different problem.
When I open my http://exceed1/rt2/

I get this “500 Internal Server Error” any idea?

Here’s what my error_log of apache shows -

[Wed Apr 17 14:38:06 2002] [error] Can’t locate object method “connect” via
pack
age “Apache::DBI::connect” at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/
DBI.pm line 471.

[Wed Apr 17 14:38:55 2002] [error] Can’t locate object method “connect” via
pack
age “Apache::DBI::connect” at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/
DBI.pm line 471.

Did I mess up somewhere again?

TIA,
-PrasadFrom: Matt Bradshaw [mailto:mbrad1@iastate.edu]
Sent: Tuesday, April 16, 2002 10:36 PM
To: rt-users@fsck.com
Cc: vsra@lucent.com
Subject: Re: [rt-users] Re: RT installation problem

prasad,

hello. :slight_smile:

i was able to get it working by downgrading html::mason to version 1.02.

regards,

-matt

BTW,
my index.html under /opt/rt2/WebRT/html looks like this…Is this how
it is supposed to be??
<& /Elements/Header, Title=>“Start page”, Refresh =>
$session{‘home_refresh_inte
rval’} &>
<& /Elements/Tabs, current_toptab => ‘’ &>

<& /Elements/CustomHomepageHeader, %ARGS &> <& /Elements/MyTickets &>
<& /Elements/MyRequests &>
<& /Elements/Quicksearch &>
<& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session {'home_ refresh_interval'} &>
<%init> if ($ARGS{'HomeRefreshInterval'}) { $session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'}; }

regards
-PrasadFrom: V S R A, Prasad (Prasad) [mailto:vsra@lucent.com]
Sent: Wednesday, April 17, 2002 2:49 PM
To: rt-users@fsck.com
Subject: RE: [rt-users] Re: RT installation problem

Great!! I tried downgrading, but am caught up in a different problem.
When I open my http://exceed1/rt2/

I get this “500 Internal Server Error” any idea?

Here’s what my error_log of apache shows -

[Wed Apr 17 14:38:06 2002] [error] Can’t locate object method “connect” via
pack
age “Apache::DBI::connect” at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/
DBI.pm line 471.

[Wed Apr 17 14:38:55 2002] [error] Can’t locate object method “connect” via
pack
age “Apache::DBI::connect” at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/
DBI.pm line 471.

Did I mess up somewhere again?

TIA,
-Prasad

From: Matt Bradshaw [mailto:mbrad1@iastate.edu]
Sent: Tuesday, April 16, 2002 10:36 PM
To: rt-users@fsck.com
Cc: vsra@lucent.com
Subject: Re: [rt-users] Re: RT installation problem

prasad,

hello. :slight_smile:

i was able to get it working by downgrading html::mason to version 1.02.

regards,

-matt

I am still trying to figure out how to get the Apache::Cookie to
install.

I completely removed all the perl stuff and reinstalled it, but can’t
get the Apache::Cookie to work.

Anybody have any idea?On Wed, 2002-04-17 at 05:18, V S R A, Prasad (Prasad) wrote:

Great!! I tried downgrading, but am caught up in a different problem.
When I open my http://exceed1/rt2/

I get this “500 Internal Server Error” any idea?

Here’s what my error_log of apache shows -

[Wed Apr 17 14:38:06 2002] [error] Can’t locate object method “connect” via
pack
age “Apache::DBI::connect” at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/
DBI.pm line 471.

[Wed Apr 17 14:38:55 2002] [error] Can’t locate object method “connect” via
pack
age “Apache::DBI::connect” at
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/
DBI.pm line 471.

Did I mess up somewhere again?

TIA,
-Prasad

-----Original Message-----
From: Matt Bradshaw [mailto:mbrad1@iastate.edu]
Sent: Tuesday, April 16, 2002 10:36 PM
To: rt-users@fsck.com
Cc: vsra@lucent.com
Subject: Re: [rt-users] Re: RT installation problem

prasad,

hello. :slight_smile:

i was able to get it working by downgrading html::mason to version 1.02.

regards,

-matt

On Tue, 16 Apr 2002, Matt Bradshaw wrote:

prasad,

i’m running into the same problem… :frowning:

i’m thinking it may have something to do w/ mason’s interface changing a
bit. but i’m not positive. i’m a perl and rt newbie. but maybe that’ll
help some.

if you figure it out, please share what you did. thanks!

regards,

-matt

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Q: how many crypto-anarchists does it take to adjust a camcorder?
A: sffd;9d9843klf;f3443587falkj4409509lk4ldffdsdf0909454


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

respectfully,
Joseph (606) 477-7551

I am still trying to figure out how to get the Apache::Cookie to
install.

I completely removed all the perl stuff and reinstalled it, but can’t
get the Apache::Cookie to work.

Anybody have any idea?

Install libapreq (see http://search.cpan.org/search?dist=libapreq),
which has Apache::Request and Apache::Cookie.

(darren)

Reisner’s Rule of Conceptual Inertia:
If you think big enough, you’ll never have to do it.

If I do the perl Makefile.PL I get this error:

Can’t locate Apache/MyConfig.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
at Makefile.PL line 27.
BEGIN failed–compilation aborted at Makefile.PL line 27.

If I do:
./configure
make
make install

all looks find but running the make testdeps shows:

Checking for Digest::MD5…found
Checking for Storable…found
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.48 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 1.02 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…Apache::Cookie not installed.
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::Pg …foundOn Wed, 2002-04-17 at 15:09, darren chamberlain wrote:

I am still trying to figure out how to get the Apache::Cookie to
install.

I completely removed all the perl stuff and reinstalled it, but can’t
get the Apache::Cookie to work.

Anybody have any idea?

Install libapreq (see http://search.cpan.org/search?dist=libapreq),
which has Apache::Request and Apache::Cookie.

(darren)


Reisner’s Rule of Conceptual Inertia:
If you think big enough, you’ll never have to do it.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

respectfully,
Joseph (606) 477-7551