perl-blead ========== cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for x86_64-linux Work directory is /home/ryan/.cpanm/work/1493269481.20052 You have make /usr/bin/make You have LWP 6.26 You have /bin/tar: tar (GNU tar) 1.29 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Class::Persistent::Plugin::MySQL () on cpanmetadb ... Unpacking Class-StructTemplate-0.01.tar.gz --> Working on Class::Persistent::Plugin::MySQL Fetching http://www.cpan.org/authors/id/H/HE/HEIKOWU/Class-StructTemplate-0.01.tar.gz ... OK Class-StructTemplate-0.01/ Class-StructTemplate-0.01/Makefile.PL Class-StructTemplate-0.01/test.pl Class-StructTemplate-0.01/lib/ Class-StructTemplate-0.01/lib/Class/ Class-StructTemplate-0.01/lib/Class/Persistent/ Class-StructTemplate-0.01/lib/Class/Persistent/Plugin/ Class-StructTemplate-0.01/lib/Class/Persistent/Plugin/MySQL.pm Class-StructTemplate-0.01/lib/Class/Persistent/StructTemplate.pm Class-StructTemplate-0.01/lib/Class/StructTemplate.pm Class-StructTemplate-0.01/MANIFEST Class-StructTemplate-0.01/manager.pm Class-StructTemplate-0.01/manager2.pm Class-StructTemplate-0.01/README Entering Class-StructTemplate-0.01 META.yml/json not found. Creating skeleton for it. Running Makefile.PL Configuring Class-StructTemplate-0.01 ... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Class::StructTemplate Writing MYMETA.yml and MYMETA.json Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Checking if you have Exporter 0 ... Yes (5.72) Checking if you have DBI 0 ... Yes (1.634) OK Building and testing Class-StructTemplate-0.01 ... cp lib/Class/Persistent/Plugin/MySQL.pm blib/lib/Class/Persistent/Plugin/MySQL.pm cp manager2.pm blib/lib/Class/manager2.pm cp manager.pm blib/lib/Class/manager.pm cp lib/Class/Persistent/StructTemplate.pm blib/lib/Class/Persistent/StructTemplate.pm cp lib/Class/StructTemplate.pm blib/lib/Class/StructTemplate.pm PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-Iblib/lib" "-Iblib/arch" test.pl Cannot connect to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")! at blib/lib/Class/Persistent/Plugin/MySQL.pm line 24. Class::Persistent::Plugin::MySQL::new("Class::Persistent::Plugin::MySQL", "dbi:mysql:database=try;host=localhost", "root", "heeik0") called at blib/lib/Class/Persistent/StructTemplate.pm line 40 Class::Persistent::StructTemplate::attributes("Class::Persistent::Plugin::MySQL", ARRAY(0x560f252ea858), "name", "user", "passwd") called at manager.pm line 6 require manager.pm called at test.pl line 1 main::BEGIN() called at manager.pm line 0 eval {...} called at manager.pm line 0 Compilation failed in require at test.pl line 1. BEGIN failed--compilation aborted at test.pl line 1. Makefile:844: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 ! Installing Class::Persistent::Plugin::MySQL failed. See /home/ryan/.cpanm/work/1493269481.20052/build.log for details. Retry with --force to force install it. FAIL Command [cpanm --reinstall --verbose Class::Persistent::Plugin::MySQL] terminated with exit code 1 ($? = 256) under the following perl environment: Command terminated with non-zero status. Current perl: Name: perl-blead Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin Compiled at: Mar 30 2017 03:10:09 perlbrew: version: 0.78 ENV: PERLBREW_ROOT: /home/ryan/perl5/perlbrew PERLBREW_HOME: /home/ryan/.perlbrew PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man