|
i have run into such problem before, now i have found how to avoid such things partly.
This time I install GD mudule through the following orders:
[root]#tar -xzvf GD-2.34.tar.gz
[root]#cd GD-2.34
[root]#perl Makefile.PL
[root]#make
[root]#make test
[root]#make install
Pay attention, if you don't want to encounter the previous problem, you should NOT choose "Build support for animated GIFs" option, just as the following.
[root]# perl Makefile.PL
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]y
Build PNG support? [y]y
Build FreeType support? [y]y
Build GIF support? [y]y
Build support for animated GIFs? [y] n
Build XPM support? [y]y
If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
arrays defined in Makefile.PL and manually adjust, if necessary.
Writing Makefile for GD
[root]#
|