One step closer to finishing: Apache::DBI

I’m getting closer to getting RT2 to work. I’ve done a fresh install of
RH7.1, untarred the rt.tar.gz file, testdep’d it, make install’d it, and
am on the apache part.

make testdeps reports the following:

/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.40 …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 0.896 …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::mysql 2.0416 …found

everything looked good here…

using Apache 1.3.19-5 i added the following into the httpd.conf:

<VirtualHost 192.168.1.2>
DocumentRoot /opt/rt2/WebRT/html
ServerName helpdesk.thespring.org
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/rt2/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

when trying to restart Apache, I get the following error:

Starting httpd: Syntax error on line 1167 of /etc/httpd/conf/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 4)
line 3.

What am I doing wrong? Somehow it seems as though the Apache::DBI
module is not working or something to that affect. Im just trying to to
move from RT 1.07 to the newest version I’m going to get there come one
way or another!!

Adrian McCray
LAN Manager

The readme clearly states that you’ll need to install Apache::DBI by hand.On Wed, Sep 26, 2001 at 03:30:33PM -0400, Adrian McCray wrote:

I’m getting closer to getting RT2 to work. I’ve done a fresh install of
RH7.1, untarred the rt.tar.gz file, testdep’d it, make install’d it, and
am on the apache part.

make testdeps reports the following:

/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.40 …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 0.896 …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::mysql 2.0416 …found

everything looked good here…

using Apache 1.3.19-5 i added the following into the httpd.conf:

<VirtualHost 192.168.1.2>
DocumentRoot /opt/rt2/WebRT/html
ServerName helpdesk.thespring.org
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/rt2/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

when trying to restart Apache, I get the following error:

Starting httpd: Syntax error on line 1167 of /etc/httpd/conf/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 4)
line 3.

What am I doing wrong? Somehow it seems as though the Apache::DBI
module is not working or something to that affect. Im just trying to to
move from RT 1.07 to the newest version I’m going to get there come one
way or another!!

Adrian McCray
LAN Manager


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

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.