rhel 6.5 install GD error
cpan[1]> install GD
CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 11 Aug 2015 03:41:02 GMT
Running install for module 'GD'
CPAN: Digest::SHA loaded ok (v5.95)
CPAN: Compress::Zlib loaded ok (v2.067)
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
GD-2.56
GD-2.56/README
GD-2.56/Makefile.old
GD-2.56/MANIFEST
GD-2.56/META.json
GD-2.56/Build.PL
GD-2.56/README.QUICKDRAW
GD-2.56/MANIFEST.SKIP
GD-2.56/ChangeLog
GD-2.56/LICENSE
GD-2.56/typemap
GD-2.56/META.yml
GD-2.56/Makefile.PL
GD-2.56/demos
GD-2.56/demos/truetype_test
GD-2.56/demos/gd_example.cgi
GD-2.56/demos/fonttest
GD-2.56/demos/shapes.pl
GD-2.56/demos/polyline.pl
GD-2.56/demos/copies.pl
GD-2.56/demos/transform.pl
GD-2.56/demos/polys.pl
GD-2.56/demos/tile.png
GD-2.56/demos/fills.pl
GD-2.56/demos/font_list.png
GD-2.56/demos/draw_colors.pl
GD-2.56/demos/brushes.pl
GD-2.56/demos/ttf.pl
GD-2.56/bdf_scripts
GD-2.56/bdf_scripts/bdf2gdfont.PLS
GD-2.56/bdf_scripts/README
GD-2.56/bdf_scripts/bdf2gdfont.pl
GD-2.56/bdf_scripts/bdftogd
GD-2.56/bdf_scripts/cvtbdf.pl
GD-2.56/t
GD-2.56/t/Polyline.t
GD-2.56/t/GD.t
GD-2.56/t/test_data
GD-2.56/t/test_data/tile.gd
GD-2.56/t/test_data/Generic.ttf
GD-2.56/t/test_data/palettemap.png
GD-2.56/t/test_data/tile.gd2
GD-2.56/t/test_data/tile.jpeg
GD-2.56/t/test_data/frog.jpg
GD-2.56/t/test_data/tile.png
GD-2.56/t/test_data/frog.xpm
GD-2.56/t/test_data/tile.gif
GD-2.56/t/test_data/images
GD-2.56/t/test_data/images/t6
GD-2.56/t/test_data/images/t6/6-00.gd
GD-2.56/t/test_data/images/t6/6-00.gd2
GD-2.56/t/test_data/images/t6/6-00.jpeg
GD-2.56/t/test_data/images/t6/6-00.gif
GD-2.56/t/test_data/images/t6/6-00.png
GD-2.56/t/test_data/images/t2
GD-2.56/t/test_data/images/t2/2-00.gif
GD-2.56/t/test_data/images/t2/2-00.gd
GD-2.56/t/test_data/images/t2/2-00.png
GD-2.56/t/test_data/images/t2/2-00.gd2
GD-2.56/t/test_data/images/t2/2-00.jpeg
GD-2.56/t/test_data/images/t3
GD-2.56/t/test_data/images/t3/3-00.gif
GD-2.56/t/test_data/images/t3/3-00.gd
GD-2.56/t/test_data/images/t3/3-00.png
GD-2.56/t/test_data/images/t3/3-00.gd2
GD-2.56/t/test_data/images/t3/3-00.jpeg
GD-2.56/t/test_data/images/t7
GD-2.56/t/test_data/images/t7/7-00.gd
GD-2.56/t/test_data/images/t7/7-00.jpeg
GD-2.56/t/test_data/images/t7/7-00.png
GD-2.56/t/test_data/images/t7/7-00.gif
GD-2.56/t/test_data/images/t7/7-00.gd2
GD-2.56/t/test_data/images/t4
GD-2.56/t/test_data/images/t4/4-00.png
GD-2.56/t/test_data/images/t4/4-00.jpeg
GD-2.56/t/test_data/images/t4/4-00.gd
GD-2.56/t/test_data/images/t4/4-00.gd2
GD-2.56/t/test_data/images/t4/4-00.gif
GD-2.56/t/test_data/images/t1
GD-2.56/t/test_data/images/t1/1-00.gif
GD-2.56/t/test_data/images/t1/1-00.png
GD-2.56/t/test_data/images/t1/1-00.jpeg
GD-2.56/t/test_data/images/t1/1-00.gd
GD-2.56/t/test_data/images/t1/1-00.gd2
GD-2.56/t/test_data/images/t5
GD-2.56/t/test_data/images/t5/5-00.jpeg
GD-2.56/t/test_data/images/t5/5-00.gd
GD-2.56/t/test_data/images/t5/5-00.gif
GD-2.56/t/test_data/images/t5/5-00.png
GD-2.56/t/test_data/images/t5/5-00.gd2
GD-2.56/lib
GD-2.56/lib/GD.xs
GD-2.56/lib/GD.pm
GD-2.56/lib/GD
GD-2.56/lib/GD/Simple.pm
GD-2.56/lib/GD/Polygon.pm
GD-2.56/lib/GD/Group.pm
GD-2.56/lib/GD/Image.pm.PLS
GD-2.56/lib/GD/Polyline.pm
CPAN: File::Temp loaded ok (v0.2304)
CPAN: YAML loaded ok (v1.13)
CPAN: CPAN::Meta::Requirements loaded ok (v2.127)
CPAN: Parse::CPAN::Meta loaded ok (v1.4417)
CPAN: CPAN::Meta loaded ok (v2.150005)
CPAN: Module::CoreList loaded ok (v5.20141120)
CPAN: Module::Build loaded ok (v0.4214)
Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL
Configuring for libgd version 2.0.34.
Checking for stray libgd header files...
** WARNING: found gd.h header file in /usr/local/include/gd.h, but it is expected at /usr/include/gd.h. This may cause compile errors! **
** Possible problems found **
Unknown option: installdirs
Usage: perl Build.PL [options]
Configure GD module.
Options:
-options "JPEG,FT,PNG,GIF,XPM,ANIMGIF" feature options, separated by commas
-lib_gd_path path path to libgd
-lib_ft_path path path to Freetype library
-lib_png_path path path to libpng
-lib_jpeg_path path path to libjpeg
-lib_xpm_path path path to libxpm
-lib_zlib_path path path to libpng
-ignore_missing_gd Ignore missing or old libgd installations and try to compile anyway
If no options are passed on the command line. The program will
attempt to autoconfigure itself with the gdlib-config program (present
in GD versions 2.0.27 or later). Otherwise it will prompt for these
values interactively.
Warning: No success on command[/usr/bin/perl Build.PL --installdirs site]
LDS/GD-2.56.tar.gz
/usr/bin/perl Build.PL --installdirs site -- NOT OK
Failed during this command:
LDS/GD-2.56.tar.gz : writemakefile NO '/usr/bin/perl Build.PL --installdirs site' returned status 512
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
