perl用cpan安装模块常见错误
- make: yacc: Command not found
- yum install -y bison
- yum install -y byacc.i386
- Could not load the pcap library
- 32位:
- yum install -y libpcap.i386
- yum install -y libpcap-devel.i386
- 64位:
- yum install -y libpcap.x86_64
- yum install -y libpcap-devel.x86_64
- make: *** No rule to make target `/usr/lib64/perl5/CORE/config.h', needed by `Makefile'. Stop.
- yum install -y perl-devel.x86_64