Can't locate GD/Graph/lines.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.3/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/5.12.3/i486-linux-thread-multi /usr/lib/perl5/5.12.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at /var/www/on-livetv.ru/caststats/graph2.pl line 13.
BEGIN failed--compilation aborted at /var/www/on-livetv.ru/caststats/graph2.pl line 13.
What's the reason of problem?
The output of installing process:
cpan[6]> force install GD
Running install for module 'GD'
Running make for L/LD/LDS/GD-2.50.tar.gz
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.50.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Going to build L/LD/LDS/GD-2.50.tar.gz
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.35.
Checking for stray libgd header files...
** WARNING: found gd.h header file in /usr/X11R6/includegd.h, but it is expected at /usr/include/gd.h. This may cause compile errors! **
** Possible problems found **
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr
Checking if your kit is complete...
Looks good
Writing Makefile for GD
/usr/bin/perl5.12.3 GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl5.12.3 /usr/lib/perl5/5.12.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.12.3/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wformat=0 -O2 -march=i486 -mtune=i686 -DVERSION=\"2.50\" -DXS_VERSION=\"2.50\" -fPIC "-I/usr/lib/perl5/5.12.3/i486-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib" cc -shared -O2 -march=i486 -mtune=i686 -L/usr/local/lib -fstack-protector GD.o -o blib/arch/auto/GD/GD.so \
-L/usr/lib -L/usr/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng14 -lz -lm -lgd \
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
/usr/bin/perl5.12.3 "-Iblib/arch" "-Iblib/lib" bdf_scripts/bdf2gdfont.PLS bdf_scripts/bdf2gdfont.pl
Extracting bdf2gdfont.pl (with variable substitutions)
cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
/usr/bin/perl5.12.3 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/bdf2gdfont.pl
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD::Image.3
Manifying blib/man3/GD::Simple.3
Manifying blib/man3/GD.3
Manifying blib/man3/GD::Polygon.3
LDS/GD-2.50.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.12.3 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD.t ........ 1/12 Testing using png support.
t/GD.t ........ Failed 1/12 subtests
(less 1 skipped subtest: 10 okay)
t/Polyline.t .. ok
Test Summary Report
-------------------
t/GD.t (Wstat: 0 Tests: 12 Failed: 1)
Failed test: 10
Files=2, Tests=13, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.21 cusr 0.02 csys = 0.28 CPU)
Result: FAIL
Failed 1/2 test programs. 1/13 subtests failed.
make: *** [test_dynamic] Error 255
LDS/GD-2.50.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports LDS/GD-2.50.tar.gz
Running make install
Manifying blib/man1/bdf2gdfont.pl.1
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/auto/GD/GD.bs
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/auto/GD/GD.so
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/qd.pl
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/GD.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/GD/Polyline.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/GD/Image.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/GD/Simple.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/GD/Polygon.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/GD/Group.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i486-linux-thread-multi/auto/GD/autosplit.ix
Installing /usr/share/man/man1/bdf2gdfont.pl.1
Installing /usr/share/man/man3/GD::Polyline.3
Installing /usr/share/man/man3/GD::Image.3
Installing /usr/share/man/man3/GD::Simple.3
Installing /usr/share/man/man3/GD.3
Installing /usr/share/man/man3/GD::Polygon.3
Installing /usr/bin/bdf2gdfont.pl
Appending installation info to /usr/lib/perl5/5.12.3/i486-linux-thread-multi/perllocal.pod
LDS/GD-2.50.tar.gz
/usr/bin/make install -- OK
Failed during this command:
LDS/GD-2.50.tar.gz : make_test FAILED but failure ignored because 'force' in effect