Hello tsl-discuss,
I wish to use graphic display of results of work of the filter.
But I receive an error message in /var/log/httpd/error_log
[Thu May 18 10:55:57 2006] [error] [client 192.168.1.2] Can't locate
GD/Graph/lines3d.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.7/i586-linux-thread-multi /usr/lib/perl5/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl .) at
/home/httpd/html/dspam.fakt.tazovsky.ru/html/graph.cgi line 22., referer:
http://192.168.1.1/dspam.cgi?template=analysis
[Thu May 18 10:55:57 2006] [error] [client 192.168.1.2] BEGIN
failed--compilation aborted at /home/httpd/html/dspam/html/graph.cgi line 22.,
referer: http://192.168.1.1/dspam.cgi?template=analysis
[Thu May 18 10:55:57 2006] [error] [client 192.168.1.2] Premature end of script
headers: graph.cgi, referer: http://192.168.1.1/dspam.cgi?template=analysis
# rpm -qa |grep gd
gd-utils-2.0.33-5tr
gdbm-1.8.3-7tr
gd-2.0.33-5tr
perl-gd-text-0.86-1ib
perl-gd-graph-1.43-2ib
gd-devel-2.0.33-5tr
php-gd-5.0.5-3tr
perl-gd-2.23-1ib
I'm using cpan-shell
cpan> Removing previously used /root/.cpan/build/GD-2.32
CPAN.pm: Going to build L/LD/LDS/GD-2.32.tar.gz
NOTICE: This module requires libgd 2.0.28 or higher.
it will NOT work with earlier versions. If you are getting
compile or link errors, then please get and install a new
version of libgd from www.boutell.com. Do NOT ask Lincoln
for help until you try this.
If you are using Math::Trig 1.01 or lower, it has a bug that
causes a "prerequisite not found" warning to be issued. You may
safely ignore this warning.
Type perl Makefile.PL -h for command-line option summary
Configuring for libgd version 2.0.33.
Included Features: GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF
GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /usr
If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.
Checking if your kit is complete...
Looks good
Writing Makefile for GD
/usr/bin/perl5.8.7 "-Iblib/arch" "-Iblib/lib" 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
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv
GD.xsc GD.c
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -s -mtune=pentium
-march=pentium -fexpensive-optimizations -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES=1 -D_LARGEFILE64_SOURCE=1 -DPERL_USE_SAFE_PUTENV
-DVERSION=\"2.32\" -DXS_VERSION=\"2.32\" -fpic
"-I/usr/lib/perl5/5.8.7/i586-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT
-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="" gcc -shared -L/usr/local/lib GD.o -o blib/arch/auto/GD/GD.so
-L/usr/lib -L/usr/lib -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd
/usr/bin/ld: cannot find -lfontconfig
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan>
How to solve a problem?
In advance thanks!
--
With best wishes,
vlad mailto:[EMAIL PROTECTED]
System/Network Administrator
TV/Video Engineer
ICQ 163227020
----------------------------------------------
!DSPAM:446c0546143831314399988!
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss