Sponsored Content
Full Discussion: AWstats - Installation
Top Forums Web Development AWstats - Installation Post 302707073 by Hari_Ganesh on Friday 28th of September 2012 02:06:31 AM
Old 09-28-2012
AWstats - Installation

Hi Gurus,

I was trying to install AWstats in one of my EL5 boxes and got the below error:

Code:
[root@NAVXFSRENP01 opt]# rpm -i awstats-7.0-1.noarch.rpm
error: Failed dependencies:
        perl(LWP::UserAgent) is needed by awstats-7.0-1.noarch
[root@NAVXFSRENP01 opt]# rpm -i perl-Test-Mock-LWP-0.05-1.el6.rf.noarch.rpm
warning: perl-Test-Mock-LWP-0.05-1.el6.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        perl(Test::MockObject) is needed by perl-Test-Mock-LWP-0.05-1.el6.rf.noarch
        rpmlib(FileDigests) <= 4.6.0-1 is needed by perl-Test-Mock-LWP-0.05-1.el6.rf.noarch
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by perl-Test-Mock-LWP-0.05-1.el6.rf.noarch

AWstats first threw a perl(LWP::UserAgent) dependency. When i managed to download it and install, it threw another dependency error.

I don't have "yum" installed in this environment. Can anybody let me know the package which i should install which has all the dependencies.

Note -- I have perl installed already in the box.

Code:
[root@NAVXFSRENP01 opt]# perl -v

This is perl, v5.8.8 built for x86_64-linux-thread-multi

Thanks
HG

Last edited by Hari_Ganesh; 09-28-2012 at 03:08 AM.. Reason: Added code tags
 

3 More Discussions You Might Find Interesting

1. BSD

can't install AWStats

I am running FreeBSD 6.3 and trying to install AWStats. I found this site with some instructions: Installing AWStats on FreeBSD however, the pkg install doesn't work. This is the error I get: dl1-3# pkg_add install -r awstats pkg_add: can't stat package file 'install' pkg_add: can't stat... (3 Replies)
Discussion started by: jasonfrost
3 Replies

2. BSD

Awstats stderr solution

Hello! Firts of all, sorry fo my poor english, but i hope you'll undestand me :) Ok, let's go to the problem.... I have a lot of awstats crontabs, and i have one mail,where i get daily and weekly output of all servers that i administrate, now it's problem that i get to his mail every time,... (3 Replies)
Discussion started by: flashm3
3 Replies

3. Infrastructure Monitoring

Awstats webserver analyser

Need assistance in troubleshooting I have configured awstats 7.3 version on RedHat linux and I am stuck at getting the updates from the website . Please let me know if anybody can give me some inputs I can see the webpages but it gives "Never updated (See 'Build/Update' on awstats_setup.html... (2 Replies)
Discussion started by: ajayram_arya
2 Replies
Test::Mock::LWP(3pm)					User Contributed Perl Documentation				      Test::Mock::LWP(3pm)

NAME
Test::Mock::LWP - Easy mocking of LWP packages SYNOPSIS
Make LWP packages to make testing easier. use Test::Mock::LWP; # Setup fake response content and code $Mock_response->mock( content => sub { 'foo' } ); $Mock_resp->mock( code => sub { 201 } ); # Validate args passed to request constructor is_deeply $Mock_request->new_args, @expected_args; # Validate request headers is_deeply [ $Mock_req->next_call ], [ 'header', [ 'Accept', 'text/plain' ] ]; # Special User Agent Behaviour $Mock_ua->mock( request => sub { die 'foo' } ); DESCRIPTION
This package arises from duplicating the same code to mock LWP et al in several different modules I've written. This version is very mini- malist, but works for my needs so far. I'm very open to new suggestions and improvements. EXPORTS
The following variables are exported by default: $Mock_ua The mock LWP::UserAgent object - a Test::MockObject object $Mock_req, $Mock_request The mock HTTP::Request object - a Test::MockObject object $Mock_resp, $Mock_response The mock HTTP::Response object - a Test::MockObject object AUTHOR
Luke Closs, "<test-mock-lwp at 5thplane.com>" BUGS
Please report any bugs or feature requests through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Mock-LWP>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Mock::LWP You can also look for information at: * AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Test-Mock-LWP> * CPAN Ratings <http://cpanratings.perl.org/d/Test-Mock-LWP> * RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Mock-LWP> * Search CPAN <http://search.cpan.org/dist/Test-Mock-LWP> ACKNOWLEDGEMENTS
COPYRIGHT &; LICENSE Copyright 2006 Luke Closs, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2007-01-25 Test::Mock::LWP(3pm)
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy