perl 安装GD 出错具体如下
install GD
Running install for module 'GD'
Checksum for /root/.cpan/sources/authors/id/R/RU/RURBAN/GD-2.73.tar.gz ok
Configuring R/RU/RURBAN/GD-2.73.tar.gz with Makefile.PL
Package gdlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdlib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdlib' found
at Makefile.PL line 451.
*** can not find package gdlib
*** check that it is properly installed and available in PKG_CONFIG_PATH
at Makefile.PL line 451.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
RURBAN/GD-2.73.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Failed during this command:
RURBAN/GD-2.73.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256
通过分析错误发现提示系统找不到 gdlib 包