[rt-users] Trouble installing Apache::Request

Camron W. Fox cwfox at fujitsu.com
Tue Aug 5 19:45:26 EDT 2003


Alle,

	I'm running RH7.3, mysql/4.0.12-0, modperl/1.26. I've installed perl 5.8 in
/usr/local, alongside the default 5.6 that comes with RH. I have gotten all
modules to install in /usr/local/lib/perl5 running:

/usr/local/bin/perl
./sbin/rt-test-dependencies --with-mysql --with-modperl1 --install

	EXCEPT Apache::Request. I get the following error:

Failed Test       Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
apreq/big_input.t               21   21 100.00%  1-21
apreq/cookie.t                   1    1 100.00%  1
apreq/inherit.t                  1    1 100.00%  1
apreq/request.t                  2    2 100.00%  1-2
!!! error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


	When I check the error log, I find that it cannot find Apache/Test.pm
because it's looking in the 5.6.1 locs in /usr/lib/perl5 vice the newly
installed 5.8.0 locs in /usr/local/lib/perl5:


[root at hilo cwfox]# cat .cpan/build/libapreq-1.2/t/logs/error_log
[Tue Aug  5 13:30:44 2003] [info] Created shared memory segment #3637259
[Tue Aug  5 13:30:44 2003] [info] allocated semaphore #1540120
[Tue Aug  5 13:30:45 2003] [info] Created shared memory segment #3702795
[Tue Aug  5 13:30:45 2003] [info] allocated semaphore #1572888
[Tue Aug  5 13:30:45 2003] [info] created shared memory segment #3735564
[Tue Aug  5 13:30:46 2003] [error] Can't locate Apache/Test.pm in @INC (@INC
contains: /home/cwfox/.cpan/build/libapreq-1.2/lib
/home/cwfox/.cpan/build/libapreq-1.2/blib/lib
/home/cwfox/.cpan/build/libapreq-1.2/blib/arch
/home/cwfox/.cpan/build/libapreq-1.2/t/response
/home/cwfox/.cpan/build/libapreq-1.2/t /usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl . /home/cwfox/.cpan/build/libapreq-1.2/t/
/home/cwfox/.cpan/build/libapreq-1.2/t/lib/perl) at
/home/cwfox/.cpan/build/libapreq-1.2/t/response/TestApReq/big_input.pm line
6.
BEGIN failed--compilation aborted at
/home/cwfox/.cpan/build/libapreq-1.2/t/response/TestApReq/big_input.pm line
6.
Compilation failed in require at (eval 4) line 3.


	I had no problems like this when I installed/updated the modules. Anyone
had experience with this before?

Best Regards,
Camron

Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu America, INC.
E-mail:		cwfox at fujitsu.com
Phone:		(808) 934-4102
Pager:		(808) 934-1290
Cell:			(808) 937-5026





More information about the rt-users mailing list