[rt-users] Simple installation question (I hope)

Don Brett dlbrett at zoominternet.net
Tue Nov 12 21:39:27 EST 2002


Hi, I'm installing RT on a Slackware box and ran into something funny.

Slackware - 8.1
Apache, Mysql, Perl all installed from pkgtool.  These are currently
"stock" installs without much setup (other than mysql root admin)

1. Ran rt installation:
  make testdeps - errors
  make fixdeps - cpan ran and installed lots of things
  make testdeps - all ok
  make install - all worked, got congratulations message

2. Configured config.pm

3. Configured httpd.conf with:

DocumentRoot /opt/rt2/WebRT/html
ServerName 192.168.0.1
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/rt2/bin/webmux.pl
<Location />
  SetHandler perl-script
  PerlHandler RT::Mason
</Location>

4. Ran /usr/sbin/apachectl start and got:
Syntax error on line 1011 of /etc/apache/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /us.....

5. I solved this by copying DBI.pm from:
/usr/lib/perl5/site_perl/i386-linux
  to:
/usr/lib/perl5/site_perl/i386-linux/Apache/

6. Now the server starts but gives me lots of "redefined" statements.
 Example: (one of many)
   Subroutine DBI::st::fetchrow redefined at 	  
/usr/lib/perl5/site_perl/i386-linux/DB
   I.pm line 405.


Now the simple(??) question.  Is this OK, or did I break some
rules big-time?  Do I have some path issues messed up or is this
fairly typical?  Thanks for suggestions,
Don



More information about the rt-users mailing list