[rt-users] install question: 3.0.9/perl 5.8.3/etc.: Apache::Request

Steve Tynor tynor at iintiip.com
Tue Feb 24 11:59:02 EST 2004


I've decided to stop banging my head against mysterious attachment
errors when trying to use the Redhat9 RPM-based perl and apache2.  So
I've compiled perl 5.83, apache, mod_perl1, mod_ssl and am trying to
configure rt 3.0.9.  I'm stuck with cpan not being able to install
Apache::Request.  In the log, I can clearly see it looking at
/etc/httpd/ for conf files, but that is where the Redhat9 apache2
configs are stored; I need it to see the apache I built from source in
/usr/local/apache.

I can't uninstall the old apache and perl on this box. I need them both
to coexist. (at least until the new RT is running cleanly).  Everything
else seems to be ready to go, but until rt-test-dependencies is happy, I
can't proceed.  Can anyone advice what perl magic may be required to
install Apache::Request (which in turn wants Apache::Test) on a box that
not only has two versions of perl (5.8.0 in /bin and 5.8.3 in
/usr/local/bin) but also two apaches (2.x in /bin and 1.x in
/usr/local/apache)?

I know this isn't really an RT-specific issue - surely more of a perl
question, but I'm not a perl kinda guy and I'd guess that others on this
list have faced the same problem when trying to wean themselves away
from Redhat-rpm-based semi-broken installations.

Thanks!
Steve



from the CPAN log:

....
  CPAN.pm: Going to build S/ST/STAS/Apache-Test-1.07.tar.gz

    generating script t/TEST
*** file /etc/httpd/conf.d/*.conf does not exist
Checking if your kit is complete...
....
Can't locate Apache/TestRun.pm in @INC (@INC contains: lib
/usr/local/lib/perl5/5.8.3/i686-linux /usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/i686-linux
/usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
....
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.3/Cookie'
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/*....t/*.t does not exist
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK




More information about the rt-users mailing list