Einar Roheim wrote: > At 17:00 4/23/2002 +0800, you wrote: > >> Einar Roheim wrote: >> >>> Hi everyone, >>> >>> I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I >>> do the "make test" I'm getting this in the end before it aborts: >> >> >> You have a mismatching version of LWP and URI packages, update both >> and the problem should disappear. > > > I did a "force install" on both of them (since I had the last version), > but I still have the same problem. > > > As Nicolai Schlenzig said, I can add "use URI::URL;" to these files: > > mod_perl-x.xx/t/internal/hooks.t > mod_perl-x.xx/lib/Apache/test.pm > mod_perl-x.xx/blib/Apache/test.pm > > But I still have the mismatch that you talked about. Don't I? > > How can this mismatch happen?
Well I had this problem with lwp 5.64 and URI 1.09, after upgrading to libwww-perl 5.64 and URI 1.1 the problem has disappeared. >>> make[1]: Leaving directory `/usr/local/src/mod_perl-1.26/Util' >>> cp t/conf/mod_perl_srm.conf t/conf/srm.conf >>> ../apache_1.3.24/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t & >>> httpd listening on port 8529 >>> will write error_log to: t/logs/error_log >>> letting apache warm up...\c >>> done >>> /usr/local/bin/perl t/TEST 0 >>> Can't locate object method "new" via package "URI::URL" (perhaps you >>> forgot to load "URI::URL"?) at ../blib/lib/Apache/test.pm line 252. >>> make: *** [run_tests] Error 255 >>> >>> The strange thing is that I installed it on my test-server that has >>> the same software (SuSE Linux 7.3 Pro / Apache 1.3.24 / mod_perl >>> 1.24) and it worked like a dream. The only difference is the >>> hardware. The test-server is a PIII with EIDE-disks and the big >>> server (with the problem) has dual PIII with SCSI-disks and more memory. >> >> >> probably not exactly the same sw. -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com