PERL - cpan Template - /bin/sh: gcc: command not found

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

PERL - cpan Template - /bin/sh: gcc: command not found

# cpan Template
..........
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-NtNF6A/xs'
make: *** [subdirs] Error 2
 ABW/Template-Toolkit-2.26.tar.gz
 /usr/bin/make -- NOT OK
Running make test
 Can't test without successful make
Running make install
 Make had returned bad status, install seems impossible


Решение:

# yum install gcc