# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[1]> install GD
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 09 Jul 2014 10:06:15 GMT
CPAN: LWP::UserAgent loaded ok (v5.833)
CPAN: Time::HiRes loaded ok (v1.9726)
Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp18872'. Giving up on it. at /usr/share/perl5/CPAN/Index.pm line 225
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to www.perl.org:80 (Bad hostname 'www.perl.org')]
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
curl: (6) Couldn't resolve host 'www.perl.org'
Function system("/usr/bin/curl -L -f -s -S --netrc-optional "http://www.perl.org/CPAN/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt.tmp18872")
returned status 6 (wstat 1536)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz.tmp18872] doesn't exist
Trying with "/usr/bin/wget -O /root/.cpan/sources/authors/01mailrc.txt.tmp18872" to get
"http://www.perl.org/CPAN/authors/01mailrc.txt.gz"
--2014-12-15 14:39:44-- http://www.perl.org/CPAN/authors/01mailrc.txt.gz
Resolving www.perl.org... 108.161.188.192
Connecting to www.perl.org|108.161.188.192|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.cpan.org/authors/01mailrc.txt.gz [following]
--2014-12-15 14:39:46-- http://www.cpan.org/authors/01mailrc.txt.gz
Resolving www.cpan.org... 207.171.7.91, 94.242.223.198, 2607:f238:3::91:1
Connecting to www.cpan.org|207.171.7.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 228277 (223K) [application/x-gzip]
Saving to: “/root/.cpan/sources/authors/01mailrc.txt.tmp18872”
100%[=============================================================================================================>] 228,277 5.57K/s in 27s
2014-12-15 14:40:16 (8.18 KB/s) - “/root/.cpan/sources/authors/01mailrc.txt.tmp18872” saved [228277/228277]
CPAN: Compress::Zlib loaded ok (v2.021)
CPAN: YAML loaded ok (v0.95)
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Warning: no success downloading '/root/.cpan/sources/modules/02packages.details.txt.gz.tmp18872'. Giving up on it. at /usr/share/perl5/CPAN/Index.pm line 225
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/modules/02packages.details.txt.gz"
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Mon, 15 Dec 2014 06:17:02 GMT
..............
New CPAN.pm version (v2.05) available.
[Currently running version is v1.9402]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
Warning: no success downloading '/root/.cpan/sources/modules/03modlist.data.gz.tmp18872'. Giving up on it. at /usr/share/perl5/CPAN/Index.pm line 225
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/modules/03modlist.data.gz"
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Going to write /root/.cpan/Metadata
GD is up to date (2.56).
cpan[2]> quit
Terminal does not support GetHistory.
Lockfile removed.
------------------------------------------------
cpan[1]> force install GD
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 15 Dec 2014 06:17:02 GMT
Running install for module 'GD'
CPAN: YAML loaded ok (v0.95)
Running make for L/LD/LDS/GD-2.56.tar.gz
CPAN: LWP::UserAgent loaded ok (v5.833)
CPAN: Time::HiRes loaded ok (v1.9726)
Warning: no success downloading '/root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz.tmp28210'. Giving up on it. at /usr/share/perl5/CPAN/Distribution.pm line 379
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/L/LD/LDS/GD-2.56.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/L/LD/LDS/CHECKSUMS
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.22)
---- Unsatisfied dependencies detected during ----
---- LDS/GD-2.56.tar.gz ----
Module::Build [build_requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
----------------------------------------------
[root@aliyun build]# export PERL5LIB=$PERL5LIB:/root/.cpan/build/GD-2.56-wAYCaF
[root@aliyun build]# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[1]> force install GD
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 15 Dec 2014 06:17:02 GMT
Running install for module 'GD'
CPAN: YAML loaded ok (v0.95)
Running make for L/LD/LDS/GD-2.56.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
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.22)
CPAN: Module::Build loaded ok (v0.421)
CPAN.pm: Going to build L/LD/LDS/GD-2.56.tar.gz
Configuring for libgd version 2.0.34.
Checking for stray libgd header files...none 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
Running Build test
Make had some problems, won't test
Running Build install
Make had some problems, won't install
Failed during this command:
LDS/GD-2.56.tar.gz : writemakefile NO '/usr/bin/perl Build.PL --installdirs site' returned status 512
cpan[2]>
=====================================
cpan[1]> force install GD::Graph
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 15 Dec 2014 06:17:02 GMT
Running install for module 'GD::Graph'
CPAN: YAML loaded ok (v0.95)
Running make for R/RU/RUZ/GDGraph-1.48.tar.gz
CPAN: LWP::UserAgent loaded ok (v5.833)
CPAN: Time::HiRes loaded ok (v1.9726)
Warning: no success downloading '/root/.cpan/sources/authors/id/R/RU/RUZ/GDGraph-1.48.tar.gz.tmp26010'. Giving up on it. at /usr/share/perl5/CPAN/Distribution.pm line 379
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/R/RU/RUZ/GDGraph-1.48.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/R/RU/RUZ/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/R/RU/RUZ/GDGraph-1.48.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
GDGraph-1.48/
GDGraph-1.48/CHANGES
GDGraph-1.48/Dustismo.LICENSE
GDGraph-1.48/Dustismo_Sans.ttf
GDGraph-1.48/Graph/
GDGraph-1.48/Graph.pm
GDGraph-1.48/Makefile.PL
GDGraph-1.48/MANIFEST
GDGraph-1.48/META.json
GDGraph-1.48/META.yml
GDGraph-1.48/README
GDGraph-1.48/samples/
GDGraph-1.48/t/
GDGraph-1.48/t/axestype.t
GDGraph-1.48/t/bugfixes.t
GDGraph-1.48/t/colour.t
GDGraph-1.48/t/data.csv
GDGraph-1.48/t/data.t
GDGraph-1.48/t/data.tab
GDGraph-1.48/t/error.t
GDGraph-1.48/t/images/
GDGraph-1.48/t/use.t
GDGraph-1.48/t/images/logo.gif
GDGraph-1.48/t/images/logo.jpeg
GDGraph-1.48/t/images/logo.jpg
GDGraph-1.48/t/images/logo.png
GDGraph-1.48/t/images/logo.xbm
GDGraph-1.48/t/images/logo.xpm
GDGraph-1.48/t/images/logo_alt.PNG
GDGraph-1.48/t/images/logo_gif_noext
GDGraph-1.48/t/images/logo_jpeg_noext
GDGraph-1.48/t/images/logo_ping_noext
GDGraph-1.48/t/images/logo_xbm_noext
GDGraph-1.48/t/images/logo_xpm_noext
GDGraph-1.48/samples/error.pl
GDGraph-1.48/samples/logo.gif
GDGraph-1.48/samples/logo.png
GDGraph-1.48/samples/make_index.pl
GDGraph-1.48/samples/Makefile
GDGraph-1.48/samples/rgb.txt
GDGraph-1.48/samples/sample11.pl
GDGraph-1.48/samples/sample12.pl
GDGraph-1.48/samples/sample13.pl
GDGraph-1.48/samples/sample14.pl
GDGraph-1.48/samples/sample15.pl
GDGraph-1.48/samples/sample16.pl
GDGraph-1.48/samples/sample17.pl
GDGraph-1.48/samples/sample18.pl
GDGraph-1.48/samples/sample19.pl
GDGraph-1.48/samples/sample1A.pl
GDGraph-1.48/samples/sample1B.pl
GDGraph-1.48/samples/sample21.pl
GDGraph-1.48/samples/sample22.pl
GDGraph-1.48/samples/sample23.pl
GDGraph-1.48/samples/sample29.pl
GDGraph-1.48/samples/sample31.pl
GDGraph-1.48/samples/sample41.pl
GDGraph-1.48/samples/sample42.dat
GDGraph-1.48/samples/sample42.pl
GDGraph-1.48/samples/sample51.pl
GDGraph-1.48/samples/sample52.pl
GDGraph-1.48/samples/sample53.pl
GDGraph-1.48/samples/sample54.dat
GDGraph-1.48/samples/sample54.pl
GDGraph-1.48/samples/sample55.pl
GDGraph-1.48/samples/sample56.pl
GDGraph-1.48/samples/sample57.pl
GDGraph-1.48/samples/sample58.pl
GDGraph-1.48/samples/sample61.pl
GDGraph-1.48/samples/sample62.pl
GDGraph-1.48/samples/sample63.pl
GDGraph-1.48/samples/sample64.pl
GDGraph-1.48/samples/sample71.pl
GDGraph-1.48/samples/sample72.pl
GDGraph-1.48/samples/sample91.pl
GDGraph-1.48/samples/sample92.pl
GDGraph-1.48/samples/sample93.pl
GDGraph-1.48/samples/sample94.pl
GDGraph-1.48/samples/sample95.pl
GDGraph-1.48/samples/save.pl
GDGraph-1.48/Graph/area.pm
GDGraph-1.48/Graph/axestype.pm
GDGraph-1.48/Graph/bars.pm
GDGraph-1.48/Graph/colour.pm
GDGraph-1.48/Graph/Data.pm
GDGraph-1.48/Graph/Error.pm
GDGraph-1.48/Graph/FAQ.pod
GDGraph-1.48/Graph/hbars.pm
GDGraph-1.48/Graph/lines.pm
GDGraph-1.48/Graph/linespoints.pm
GDGraph-1.48/Graph/mixed.pm
GDGraph-1.48/Graph/pie.pm
GDGraph-1.48/Graph/points.pm
GDGraph-1.48/Graph/utils.pm
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build R/RU/RUZ/GDGraph-1.48.tar.gz
WARNING: AUTHOR takes a string/number not a ARRAY reference.
Please inform the author.
Checking if your kit is complete...
Looks good
Warning: prerequisite GD::Text 0.80 not found.
only nested arrays of non-refs are supported at /usr/share/perl5/ExtUtils/MakeMaker.pm line 684
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
RUZ/GDGraph-1.48.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
RUZ/GDGraph-1.48.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512
cpan[2]>