More info --- FW: [rt-users] Install questions
Greg Smythe
gregs at Intellstat.com
Sat Oct 20 22:31:51 EDT 2001
If I move the contents of
/usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/ to
/usr/lib/perl5/site_perl/5.6.0/Apache I get this error in Apache's
error_log. So that was a bad move on my part. Help! It seems as if the
module isn't looking in the right place for things. I tried remaking
DBI-1.18, DBI-Datasource, and DBI-Searchbuilder....
[Sun Oct 21 02:26:31 2001] [error] Can't locate object method "connect" via
package "Apache::DBI::connect" at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 416.
Thanks,
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident
-----Original Message-----
From: Greg Smythe
Sent: Saturday, October 20, 2001 6:52 PM
To: 'Ian (Network Administrator)'; rt-users at lists.fsck.com
Cc: 'jesse at bestpractical.com'
Subject: RE: [rt-users] Install questions
Ian -- Thanks for the tip. I installed RH 7.1 again (my 3rd time now) and
built Apache & mod_perl according to the RT Install docs.
Jesse --
Thanks for those RPMS, I installed them (I had to --force them), then built
DBI, Apache:Cookie, and the MySQL part, and 'make testdeps' was happy.
I then continued the install, and modified httpd.conf. See below my new
problem. I can move DBI.pm into the path it's looking for but I'm afraid
it'll just complain about new problems. How would I go about fixing this
permanetly?
[root at support etc]# /usr/local/apache/bin/apachectl start
Syntax error on line 955 of /usr/local/apache/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 . /usr/local/apache/ /usr/local/apache/lib/perl) at
(eval 3) line 3.
/usr/local/apache/bin/apachectl start: httpd could not be started
[root at support etc]# locate DBI.pm
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Bundle/DBI.pm
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm
/usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/DBI.pm
[root at support etc]#
Here's what I put in httpd.conf:
<VirtualHost 192.168.1.17>
DocumentRoot /usr/rt2/WebRT/html
ServerName support.intellstat.com
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /usr/rt2/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident
-----Original Message-----
From: Ian (Network Administrator) [mailto:ian at internationalsportsagency.com]
Sent: Saturday, October 20, 2001 5:10 PM
To: 'Greg Smythe'; rt-users at lists.fsck.com
Subject: RE: [rt-users] Install questions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I also have RT Running on a 7.1 Stock install box.
Something that might help (it helped me) was to install only the
packages that you need, then downloading and building the rest. I
found too many quirks with the apache combo mod-Perl/Apache/MySql
that it was easier for me to --erase the rpm's and build from
scratch.
Ian
- -----Original Message-----
From: rt-users-admin at lists.fsck.com
[mailto:rt-users-admin at lists.fsck.com]On Behalf Of Greg Smythe
Sent: Saturday, October 20, 2001 12:39 AM
To: 'rt-users at lists.fsck.com'
Subject: [rt-users] Install questions
Hello --
New user here. A bunch of the modules failed to compile correctly. I
searched a few months back of archives and didn't see anything all
that much related to isntalls so here I am..
Installing on a stock RedHat 7.1 box..
I'll ask the easy question first, since now I'm having major problems
with Apache::Cookie... Is there a Linux distro that is confirmed to
have the least amount of problems? I've installed the apache and
mod_perl sources to no avail...
[root at support rt-2-0-8]# make testdeps
/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.43 ...found
Checking for HTML::Entities...found
Checking for MLDBM...found
Checking for Net::Domain....Net::Domain not installed.
Checking for Net::SMTP....Net::SMTP not installed.
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....Apache::Cookie not installed.
Checking for Apache::Session 1.53 ....Apache::Session 1.53 not
installed.
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
[root at support rt-2-0-8]#
When trying to compile Net::Domain and Net::SMTP I get:
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
- -I/usr/local/lib/perl5/5.6.1/i586-linux -I/usr/local/lib/perl5/5.6.1
- -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
@ARGV;' t/*.t
t/ftp...............skipped test on this platform
t/hostname..........ok
t/nntp..............skipped test on this platform
t/require...........FAILED tests 8-9
Failed 2/11 tests, 81.82% okay
t/smtp..............skipped test on this platform
Failed Test Status Wstat Total Fail Failed List of Failed
- ----------------------------------------------------------------------
- ----------t/require.t 11 2 18.18% 8-9
3 tests skipped.
Failed 1/5 test scripts, 80.00% okay. 2/12 subtests failed, 83.33%
okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
[root at support RT]#
- -=-=-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
SysAdmin
Intellstat Communications
WA State Resident
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBO9ISRhpKNrkRVS+8EQJqiwCgpZf0a2TPNoCcqZXR6Srcnr1Ek9cAoI1M
SEMPNc7Aov8OAuN+iBG3Ltoe
=QQIn
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list