cpan[1]> install File::LibMagic Reading '/root/.cpan/Metadata' Database was generated on Fri, 17 Apr 2015 22:53:31 GMT Running install for module 'File::LibMagic' Running make for D/DR/DROLSKY/File-LibMagic-1.12.tar.gz Checksum for /root/.cpan/sources/authors/id/D/DR/DROLSKY/File-LibMagic-1.12.tar.gz ok Scanning cache /root/.cpan/build for sizes ...........................................................................-DONE DEL(1/2): /root/.cpan/build/Variable-Magic-0.56-TZYdhq DEL(2/2): /root/.cpan/build/Sub-Exporter-Progressive-0.001011-IsxIxf CPAN.pm: Building D/DR/DROLSKY/File-LibMagic-1.12.tar.gz Checking for magic.h... no This module requires the libmagic.so library and magic.h header. See INSTALL.md for more details on installing these. Warning: No success on command[/usr/bin/perl Makefile.PL] 'YAML' not installed, will not store persistent state DROLSKY/File-LibMagic-1.12.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: DROLSKY/File-LibMagic-1.12.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 256 ...