"rpm -q gd" reports ClarkConnect is using "gd-2.0.28-4.5.cc"

I also installed the gd-devel package with "apt-get install gd-devel"

running the "cpan GD" command tries to install the latest (2.35)
version of GD but fails with this:

**********************************************************************

[EMAIL PROTECTED] ~]# cpan GD
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sat, 13 Oct 2007 23:36:45 GMT
Running install for module GD
Running make for L/LD/LDS/GD-2.35.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.35.tar.gz ok
Scanning cache /root/.cpan/build for sizes
GD-2.35/
GD-2.35/t/
GD-2.35/t/test.out.3.jpeg
GD-2.35/t/GD.t
GD-2.35/t/tile.jpeg
GD-2.35/t/test.out.4.jpeg
GD-2.35/t/test.out.5.jpeg
GD-2.35/t/test.out.6.jpeg
GD-2.35/t/test.out.7.jpeg
GD-2.35/t/test.out.8.jpeg
GD-2.35/t/test.out.9.jpeg
GD-2.35/t/test.out.3.png-1
GD-2.35/t/Polyline.t
GD-2.35/t/test.out.4.png-1
GD-2.35/t/test.out.4.png-2
GD-2.35/t/test.out.10.png-1
GD-2.35/t/test.out.10.png-2
GD-2.35/t/test.out.10.png-3
GD-2.35/t/test.out.1.png
GD-2.35/t/test.out.2.gif
GD-2.35/t/test.out.2.png
GD-2.35/t/test.out.3.gif
GD-2.35/t/test.out.3.png
GD-2.35/t/test.out.4.gif
GD-2.35/t/test.out.4.png
GD-2.35/t/test.out.5.gif
GD-2.35/t/test.out.5.png
GD-2.35/t/test.out.6.gif
GD-2.35/t/test.out.6.png
GD-2.35/t/test.out.7.gif
GD-2.35/t/test.out.7.png
GD-2.35/t/test.out.8.gif
GD-2.35/t/test.out.8.png
GD-2.35/t/test.out.9.gif
GD-2.35/t/test.out.9.png
GD-2.35/t/test.out.5.png-1
GD-2.35/t/Generic.ttf
GD-2.35/t/test.out.6.png-1
GD-2.35/t/test.out.7.png-1
GD-2.35/t/frog.jpg
GD-2.35/t/frog.xpm
GD-2.35/t/test.out.10.jpeg
GD-2.35/t/test.out.8.png-1
GD-2.35/t/test.out.8.png-2
GD-2.35/t/test.out.8.png-3
GD-2.35/t/test.out.8.png-4
GD-2.35/t/test.out.8.png-5
GD-2.35/t/test.out.8.png-6
GD-2.35/t/tile.gif
GD-2.35/t/tile.png
GD-2.35/t/test.out.2.png-1
GD-2.35/t/test.out.9.png-1
GD-2.35/t/test.out.9.png-2
GD-2.35/t/palettemap.png
GD-2.35/t/test.out.10.gif
GD-2.35/t/test.out.10.png
GD-2.35/t/test.out.2.jpeg
GD-2.35/GD/
GD-2.35/GD/Polygon.pm
GD-2.35/GD/Simple.pm
GD-2.35/GD/Image.pm.PLS
GD-2.35/GD/Polyline.pm
GD-2.35/GD.pm
GD-2.35/GD.xs
GD-2.35/demos/
GD-2.35/demos/brushes.pl
GD-2.35/demos/font_list.png
GD-2.35/demos/fonttest
GD-2.35/demos/polys.pl
GD-2.35/demos/fills.pl
GD-2.35/demos/truetype_test
GD-2.35/demos/shapes.pl
GD-2.35/demos/copies.pl
GD-2.35/demos/ttf.pl
GD-2.35/demos/gd_example.cgi
GD-2.35/demos/tile.png
GD-2.35/demos/polyline.pl
GD-2.35/demos/transform.pl
GD-2.35/qd.pl
GD-2.35/README
GD-2.35/Makefile.PL
GD-2.35/README.QUICKDRAW
GD-2.35/META.yml
GD-2.35/typemap
GD-2.35/bdf_scripts/
GD-2.35/bdf_scripts/README
GD-2.35/bdf_scripts/bdf2gdfont.PLS
GD-2.35/bdf_scripts/bdftogd
GD-2.35/bdf_scripts/bdf2gdfont.pl
GD-2.35/README.unix
GD-2.35/ChangeLog
GD-2.35/MANIFEST
Removing previously used /root/.cpan/build/GD-2.35

CPAN.pm: Going to build L/LD/LDS/GD-2.35.tar.gz

NOTICE: This module requires libgd 2.0.28 or higher.

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


Where is libgd installed? [/usr/lib]

Please choose the features that match how libgd was built:
Build JPEG support? [y]
Build PNG support? [y]
Build FreeType support? [y]
Build GIF support? [y]
Build support for animated GIFs? [y]
Build XPM support? [y]

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/local/bin/perl 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/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp 
-typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap 
GD.xs > GD.xsc && mv GD.xsc GD.c
cc -c  -I/usr/include -I/usr/include/gd -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"2.35\"
-DXS_VERSION=\"2.35\" -fpic
"-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE"  -DHAVE_JPEG -DHAVE_FT
-DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib:/usr/X11R6/lib" cc  -shared -L/usr/local/lib GD.o
-o blib/arch/auto/GD/GD.so     \
-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/lib -lgd -lfreetype -ljpeg
-lpng -lz -lm -lX11 -lXpm          \

/usr/bin/ld: cannot find -lfreetype
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

**********************************************************************

The README file says you must have libgd v.2.0.28 or later (which  I
think it is), I also ran the "perl -MGD\ 999" command and get this:

**********************************************************************

[EMAIL PROTECTED] ~]# perl -MGD\ 999
Can't locate GD.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
.).
BEGIN failed--compilation aborted.

**********************************************************************

Don't really know where to go now.......

Mick


-- 
mick_w

http://www.ulverston.myzen.co.uk/mini-itx/
------------------------------------------------------------------------
mick_w's Profile: http://forums.slimdevices.com/member.php?userid=6526
View this thread: http://forums.slimdevices.com/showthread.php?t=39297

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to