久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

[Perl]GD::Graph模塊的安裝 - huhuegg‘s BLOG

 wuxyu 2007-04-11
[Perl]GD::Graph模塊的安裝
首先安裝libpng-devel rpm包
rpm -ivh libpng-devel-1.2.7-1.x86_64.rpm
然后安裝GD-2.34.tar.gz
tar xzvf GD-2.34.tar.gz && cd GD-2.34 && perl Makefile.PL
Where is libgd installed? [/usr/lib]
Please choose the features that match how libgd was built:
Build JPEG support? [y] n
Build PNG support? [y]
Build FreeType support? [y]
Build GIF support? [y] n
Build XPM support? [y] n
[root@Server GD-2.34]#make
gcc -c  -I/usr/include -I/usr/include/gd -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64   -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"  -DHAVE_FT -DHAVE_PNG GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
gcc  -shared GD.o  -o blib/arch/auto/GD/GD.so   -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/X11 -L/usr/X11R6/lib64 -L/usr/lib64 -lgd -lpng -lz -lfreetype -lm  
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3pm
Manifying blib/man3/GD::Image.3pm
Manifying blib/man3/GD::Simple.3pm
Manifying blib/man3/GD.3pm
Manifying blib/man3/GD::Polygon.3pm
[root@Server GD-2.34]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, ‘blib/lib‘, ‘blib/arch‘)" t/*.t
t/GD..........Testing using png support.
t/GD..........ok 7/12Can‘t locate object method "_newFromJpeg" via package "GD::Image" at blib/lib/GD/Image.pm line 185.
t/GD..........dubious                                                       
        Test returned status 25 (wstat 6400, 0x1900)
DIED. FAILED tests 10-12
        Failed 3/12 tests, 75.00% okay (less 2 skipped tests: 7 okay, 58.33%)
t/Polyline....Subroutine scale redefined at /tmp/GD-2.34/blib/lib/GD/Polyline.pm line 52.
t/Polyline....ok                                                            
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/GD.t        25  6400    12    6  50.00%  10-12
2 subtests skipped.
Failed 1/2 test scripts, 50.00% okay. 3/13 subtests failed, 76.92% okay.
make: *** [test_dynamic] 錯(cuò)誤 255
#以上錯(cuò)誤可能是jpeg未安裝引起,我想可忽略,,如有解決方法能完整通過make test,請(qǐng)一定告訴我
[root@Server GD-2.34]# make install
最后安裝GD::Graph模塊
[root@Server GD-2.34]# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try ‘install Bundle::CPAN‘)
cpan> install GD::Graph
CPAN: Storable loaded ok
Going to read /root/yes/Metadata
  Database was generated on Tue, 08 Aug 2006 23:31:43 GMT
Running install for module GD::Graph
Running make for B/BW/BWARFIELD/GDGraph-1.4308.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/yes/sources/authors/id/B/BW/BWARFIELD/GDGraph-1.4308.tar.gz ok
Scanning cache /root/yes/build for sizes
GDGraph-1.4308/
GDGraph-1.4308/samples/
GDGraph-1.4308/samples/sample15.pl
GDGraph-1.4308/samples/sample22.pl
GDGraph-1.4308/samples/sample18.pl
GDGraph-1.4308/samples/sample41.pl
GDGraph-1.4308/samples/sample57.pl
GDGraph-1.4308/samples/sample53.pl
GDGraph-1.4308/samples/sample21.pl
GDGraph-1.4308/samples/sample94.pl
GDGraph-1.4308/samples/sample55.pl
GDGraph-1.4308/samples/save.pl
GDGraph-1.4308/samples/sample23.pl
GDGraph-1.4308/samples/sample51.pl
GDGraph-1.4308/samples/sample61.pl
GDGraph-1.4308/samples/sample63.pl
GDGraph-1.4308/samples/sample19.pl
GDGraph-1.4308/samples/sample54.pl
GDGraph-1.4308/samples/sample52.pl
GDGraph-1.4308/samples/sample42.dat
GDGraph-1.4308/samples/sample64.pl
GDGraph-1.4308/samples/sample16.pl
GDGraph-1.4308/samples/rgb.txt
GDGraph-1.4308/samples/logo.png
GDGraph-1.4308/samples/sample95.pl
GDGraph-1.4308/samples/sample71.pl
GDGraph-1.4308/samples/sample13.pl
GDGraph-1.4308/samples/sample14.pl
GDGraph-1.4308/samples/Makefile
GDGraph-1.4308/samples/sample31.pl
GDGraph-1.4308/samples/sample62.pl
GDGraph-1.4308/samples/sample91.pl
GDGraph-1.4308/samples/sample92.pl
GDGraph-1.4308/samples/sample1A.pl
GDGraph-1.4308/samples/sample1B.pl
GDGraph-1.4308/samples/sample12.pl
GDGraph-1.4308/samples/sample56.pl
GDGraph-1.4308/samples/sample93.pl
GDGraph-1.4308/samples/sample11.pl
GDGraph-1.4308/samples/sample54.dat
GDGraph-1.4308/samples/sample42.pl
GDGraph-1.4308/samples/sample17.pl
GDGraph-1.4308/t/
GDGraph-1.4308/t/data.tab
GDGraph-1.4308/t/axestype.t
GDGraph-1.4308/t/error.t
GDGraph-1.4308/t/use.t
GDGraph-1.4308/t/colour.t
GDGraph-1.4308/t/data.csv
GDGraph-1.4308/t/data.t
GDGraph-1.4308/MANIFEST
GDGraph-1.4308/Dustismo_Sans.ttf
GDGraph-1.4308/Graph/
GDGraph-1.4308/Graph/Error.pm
GDGraph-1.4308/Graph/Data.pm
GDGraph-1.4308/Graph/area.pm
GDGraph-1.4308/Graph/axestype.pm
GDGraph-1.4308/Graph/hbars.pm
GDGraph-1.4308/Graph/axestype.pm.orig
GDGraph-1.4308/Graph/pie.pm
GDGraph-1.4308/Graph/bars.pm
GDGraph-1.4308/Graph/colour.pm
GDGraph-1.4308/Graph/FAQ.pod
GDGraph-1.4308/Graph/bars.pm.orig
GDGraph-1.4308/Graph/lines.pm
GDGraph-1.4308/Graph/linespoints.pm
GDGraph-1.4308/Graph/utils.pm
GDGraph-1.4308/Graph/points.pm
GDGraph-1.4308/Graph/mixed.pm
GDGraph-1.4308/Graph.pm
GDGraph-1.4308/README
GDGraph-1.4308/CHANGES
GDGraph-1.4308/META.yml
GDGraph-1.4308/Dustismo.LICENSE
GDGraph-1.4308/Makefile.PL
Removing previously used /root/yes/build/GDGraph-1.4308
  CPAN.pm: Going to build B/BW/BWARFIELD/GDGraph-1.4308.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite GD::Text 0.80 not found.
Writing Makefile for GD::Graph
The automatic tests for GDGraph are not really a solid workout of the
library. The best way to test the package is to run the examples
before installing it.  You can run the examples in the samples
directory with `make samples` or by going into that directory, and
just running `make`.
If that fails, please read samples/Makefile.
---- Unsatisfied dependencies detected during [B/BW/BWARFIELD/GDGraph-1.4308.tar.gz] -----
    GD::Text
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module GD::Text
Running make for M/MV/MVERB/GDTextUtil-0.86.tar.gz
Checksum for /root/yes/sources/authors/id/M/MV/MVERB/GDTextUtil-0.86.tar.gz ok
GDTextUtil-0.86/
GDTextUtil-0.86/Text.pm
GDTextUtil-0.86/t/
GDTextUtil-0.86/t/align.t
GDTextUtil-0.86/t/lib.pl
GDTextUtil-0.86/t/text.t
GDTextUtil-0.86/t/wrap.t
GDTextUtil-0.86/demo/
GDTextUtil-0.86/demo/GDWrap.pl
GDTextUtil-0.86/demo/GDWrap.ref.png
GDTextUtil-0.86/MANIFEST
GDTextUtil-0.86/Makefile.PL
GDTextUtil-0.86/Dustismo_Sans.ttf
GDTextUtil-0.86/Text/
GDTextUtil-0.86/Text/Wrap.pm
GDTextUtil-0.86/Text/Align.pm
GDTextUtil-0.86/Changes
GDTextUtil-0.86/Dustismo.LICENSE
GDTextUtil-0.86/README
Removing previously used /root/yes/build/GDTextUtil-0.86
  CPAN.pm: Going to build M/MV/MVERB/GDTextUtil-0.86.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for GD::Text
cp Text.pm blib/lib/GD/Text.pm
cp Text/Wrap.pm blib/lib/GD/Text/Wrap.pm
cp Text/Align.pm blib/lib/GD/Text/Align.pm
Manifying blib/man3/GD::Text::Wrap.3pm
Manifying blib/man3/GD::Text.3pm
Manifying blib/man3/GD::Text::Align.3pm
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, ‘blib/lib‘, ‘blib/arch‘)" t/*.t
t/align....ok                                                               
        5/21 skipped: Some TTF tests disabled: Freetype inconsistent
t/text.....ok                                                               
        2/20 skipped: Some TTF tests disabled: Freetype inconsistent
t/wrap.....ok                                                               
        2/14 skipped: Some TTF tests disabled: Freetype inconsistent
All tests successful, 9 subtests skipped.
Files=3, Tests=55,  0 wallclock secs ( 0.32 cusr +  0.08 csys =  0.40 CPU)
  /usr/bin/make test -- OK
Running make install
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Text.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Text/Wrap.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Text/Align.pm
Installing /usr/share/man/man3/GD::Text::Align.3pm
Installing /usr/share/man/man3/GD::Text.3pm
Installing /usr/share/man/man3/GD::Text::Wrap.3pm
Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/GD/Text/.packlist
Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod
  /usr/bin/make install  -- OK
Running make for B/BW/BWARFIELD/GDGraph-1.4308.tar.gz
  Is already unwrapped into directory /root/yes/build/GDGraph-1.4308
  CPAN.pm: Going to build B/BW/BWARFIELD/GDGraph-1.4308.tar.gz
cp Graph/utils.pm blib/lib/GD/Graph/utils.pm
cp Graph/axestype.pm blib/lib/GD/Graph/axestype.pm
cp Graph/hbars.pm blib/lib/GD/Graph/hbars.pm
cp Graph/axestype.pm.orig blib/lib/GD/Graph/axestype.pm.orig
cp Graph/pie.pm blib/lib/GD/Graph/pie.pm
cp Graph.pm blib/lib/GD/Graph.pm
cp Graph/bars.pm.orig blib/lib/GD/Graph/bars.pm.orig
cp Graph/Error.pm blib/lib/GD/Graph/Error.pm
cp Graph/lines.pm blib/lib/GD/Graph/lines.pm
cp Graph/points.pm blib/lib/GD/Graph/points.pm
cp Graph/linespoints.pm blib/lib/GD/Graph/linespoints.pm
cp Graph/bars.pm blib/lib/GD/Graph/bars.pm
cp Graph/Data.pm blib/lib/GD/Graph/Data.pm
cp Graph/area.pm blib/lib/GD/Graph/area.pm
cp Graph/mixed.pm blib/lib/GD/Graph/mixed.pm
cp Graph/colour.pm blib/lib/GD/Graph/colour.pm
cp Graph/FAQ.pod blib/lib/GD/Graph/FAQ.pod
Manifying blib/man3/GD::Graph.3pm
Manifying blib/man3/GD::Graph::Error.3pm
Manifying blib/man3/GD::Graph::Data.3pm
Manifying blib/man3/GD::Graph::hbars.3pm
Manifying blib/man3/GD::Graph::colour.3pm
Manifying blib/man3/GD::Graph::FAQ.3pm
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, ‘blib/lib‘, ‘blib/arch‘)" t/*.t
t/axestype....ok                                                            
t/colour......ok                                                            
t/data........ok                                                            
t/error.......ok                                                            
t/use.........ok                                                            
All tests successful.
Files=5, Tests=85,  1 wallclock secs ( 0.31 cusr +  0.05 csys =  0.36 CPU)
  /usr/bin/make test -- OK
Running make install
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/bars.pm.orig
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/axestype.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/mixed.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/pie.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/area.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/linespoints.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/Data.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/points.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/bars.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/FAQ.pod
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/lines.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/Error.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/colour.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/utils.pm
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/axestype.pm.orig
Installing /usr/lib/perl5/site_perl/5.8.5/GD/Graph/hbars.pm
Installing /usr/share/man/man3/GD::Graph::colour.3pm
Installing /usr/share/man/man3/GD::Graph::FAQ.3pm
Installing /usr/share/man/man3/GD::Graph::hbars.3pm
Installing /usr/share/man/man3/GD::Graph.3pm
Installing /usr/share/man/man3/GD::Graph::Data.3pm
Installing /usr/share/man/man3/GD::Graph::Error.3pm
Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/GD/Graph/.packlist
Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod
  /usr/bin/make install  -- OK
 
##完成##

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn),。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式,、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多