Действия

PERL - cpan Template - Warning (usually harmless): 'YAML' not installed, will not store persistent state

Материал из Wiki - Iphoster - 'the best ever support'

Самые выгодные сервера‎ в рунете


make[1]: Entering directory `/root/.cpan/build/Template-Toolkit-2.26-iDBFsm/xs'
Running Mkbootstrap for Template::Stash::XS ()
chmod 644 "XS.bs"
"/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/ExtUtils/typemap"  Stash.xs > Stash.xsc && mv Stash.xsc Stash.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 - mtune=generic   -DVERSION=\"2.26\" -DXS_VERSION=\"2.26\" -fPIC "-I/usr/lib64/perl5/CORE"   Stash.c
/bin/sh: gcc: command not found
make[1]: *** [Stash.o] Error 127
make[1]: Leaving directory `/root/.cpan/build/Template-Toolkit-2.26-iDBFsm/xs'
make: *** [subdirs] Error 2
 ABW/Template-Toolkit-2.26.tar.gz
 /usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test


Решение:

# yum install perl-YAML.noarch yaml-cpp