CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Redis Install on CPAN

 



alajangi
New User

Apr 14, 2014, 3:38 AM

Post #1 of 5 (2592 views)
Redis Install on CPAN Can't Post

Hi Experts,

How to install Redis on CPAN in centos 6.5, the error I am getting when I tried like below is

# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.

cpan[1]> install Redis
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 14 Apr 2014 07:41:02 GMT
Running install for module 'Redis'
CPAN: Data::Dumper loaded ok (v2.151)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for D/DA/DAMS/Redis-1.972.tar.gz
CPAN: Digest::SHA loaded ok (v5.88)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /root/.cpan/sources/authors/id/D/DA/DAMS/Redis-1.972.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
CPAN: Archive::Tar loaded ok (v1.58)
Redis-1.972
Redis-1.972/README
Redis-1.972/Changes
Redis-1.972/LICENSE
Redis-1.972/dist.ini
Redis-1.972/META.yml
Redis-1.972/MANIFEST
Redis-1.972/Build.PL
Redis-1.972/Makefile.PL
Redis-1.972/lib
Redis-1.972/lib/Redis.pm
Redis-1.972/t
Redis-1.972/t/01-basic.t
Redis-1.972/t/03-pubsub.t
Redis-1.972/t/11-timeout.t
Redis-1.972/t/30-scripts.t
Redis-1.972/t/00-compile.t
Redis-1.972/t/04-pipeline.t
Redis-1.972/t/05-nonblock.t
Redis-1.972/t/10-tie-list.t
Redis-1.972/t/20-tie-hash.t
Redis-1.972/t/02-responses.t
Redis-1.972/t/07-reconnect.t
Redis-1.972/t/50-fork_safe.t
Redis-1.972/lib/Redis
Redis-1.972/lib/Redis/Hash.pm
Redis-1.972/lib/Redis/List.pm
Redis-1.972/t/06-on-connect.t
Redis-1.972/scripts
Redis-1.972/scripts/publish.pl
Redis-1.972/t/08-unix-socket.t
Redis-1.972/t/42-client_cmds.t
Redis-1.972/t/release-distmeta.t
Redis-1.972/lib/Redis/Sentinel.pm
Redis-1.972/t/release-pod-coverage.t
Redis-1.972/scripts/redis-benchmark.pl
Redis-1.972/t/tlib/Test
Redis-1.972/t/tlib/Test/SpawnRedisServer.pm
Redis-1.972/tools/benchmarks
Redis-1.972/tools/benchmarks/read_vs_sysread.pl
Redis-1.972/t/tlib/Test/SpawnRedisTimeoutServer.pm
Redis-1.972/tools/benchmarks/readline_vs_sysread_vs_recv
Redis-1.972/tools/benchmarks/readline_vs_sysread_vs_recv/run.pl
Redis-1.972/tools/benchmarks/readline_vs_sysread_vs_recv/client-recv.pl
Redis-1.972/tools/benchmarks/readline_vs_sysread_vs_recv/client-sysread.pl
Redis-1.972/tools/benchmarks/readline_vs_sysread_vs_recv/client-readline.pl
Redis-1.972/tools/benchmarks/readline_vs_sysread_vs_recv/server-generator.pl
CPAN: File::Temp loaded ok (v0.22)
CPAN: Module::Build loaded ok (v0.35)

CPAN.pm: Going to build D/DA/DAMS/Redis-1.972.tar.gz

Can't locate Module/Build/Tiny.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Build.PL line 2.
BEGIN failed--compilation aborted at Build.PL line 2.
Warning: No success on command[/usr/bin/perl Build.PL --installdirs site]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
DAMS/Redis-1.972.tar.gz
/usr/bin/perl Build.PL --installdirs site -- NOT OK
Running Build test
Make had some problems, won't test
Running Build install
Make had some problems, won't install
Could not read '/root/.cpan/build/Redis-1.972-m2RGqY/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
DAMS/Redis-1.972.tar.gz : writemakefile NO '/usr/bin/perl Build.PL --installdirs site' returned status 512

Please help me to solve this problem.

Thanks,
Kishore.


FishMonger
Veteran / Moderator

Apr 14, 2014, 7:55 AM

Post #2 of 5 (2581 views)
Re: [alajangi] Redis Install on CPAN [In reply to] Can't Post


Quote
Can't locate Module/Build/Tiny.pm in @INC


You need to install that module.

I'd also install YAML.


(This post was edited by FishMonger on Apr 14, 2014, 7:57 AM)


alajangi
New User

Apr 14, 2014, 11:31 PM

Post #3 of 5 (2576 views)
Re: [FishMonger] Redis Install on CPAN [In reply to] Can't Post

Hi FishMonger,

Thanks for your reply, Please help me to install that module, any link ? or give me the steps, I didn't found any resource to install that module.

Thanks,
Kishore.


Laurent_R
Veteran / Moderator

Apr 15, 2014, 1:18 AM

Post #4 of 5 (2566 views)
Re: [alajangi] Redis Install on CPAN [In reply to] Can't Post

Look on the CPAN: http://search.cpan.org/~leont/Module-Build-Tiny-0.012/lib/Module/Build/Tiny.pm


FishMonger
Veteran / Moderator

Apr 15, 2014, 7:29 AM

Post #5 of 5 (2501 views)
Re: [alajangi] Redis Install on CPAN [In reply to] Can't Post

[root@099-91-RKB-2 ~]# cpanm Module::Build::Tiny
--> Working on Module::Build::Tiny
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.035.tar.gz ... OK
==> Found dependencies: Getopt::Long, ExtUtils::Helpers, ExtUtils::InstallPaths, ExtUtils::Config
--> Working on Getopt::Long
Fetching http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-2.42.tar.gz ... OK
Configuring Getopt-Long-2.42 ... OK
Building and testing Getopt-Long-2.42 ... OK
Successfully installed Getopt-Long-2.42 (upgraded from 2.35)
--> Working on ExtUtils::Helpers
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.022.tar.gz ... OK
Configuring ExtUtils-Helpers-0.022 ... OK
Building and testing ExtUtils-Helpers-0.022 ... OK
Successfully installed ExtUtils-Helpers-0.022
--> Working on ExtUtils::InstallPaths
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.010.tar.gz ... OK
Configuring ExtUtils-InstallPaths-0.010 ... OK
==> Found dependencies: ExtUtils::Config
--> Working on ExtUtils::Config
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.007.tar.gz ... OK
Configuring ExtUtils-Config-0.007 ... OK
Building and testing ExtUtils-Config-0.007 ... OK
Successfully installed ExtUtils-Config-0.007
Building and testing ExtUtils-InstallPaths-0.010 ... OK
Successfully installed ExtUtils-InstallPaths-0.010
Configuring Module-Build-Tiny-0.035 ... OK
Building and testing Module-Build-Tiny-0.035 ... OK
Successfully installed Module-Build-Tiny-0.035
5 distributions installed

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives