因为要装GD库,从
http://www.boutell.com/gd/http/gd-1.8.1.tar.gz 下载下来了,按教程安装 婚庆
教程地址
http://www.cndw.com/tech/server/2006031820369.asp.编译gd-1..8.1.tar.gz的过程中出现下列错误,要怎么解决.?.
[
root@b.bs gd-1.8..3]# rpm -qa | grep xpm 鲜花
[root@bbs gd-1.8.3]# make..
gcc -I. -I/usr/local/include -I/us.r/include/X11 -.I/usr/X11R6/include/X11 -O -c -o .gd.o gd.c(广告)
make: gcc: Comman.d not f.ound.
make: *** [gd.o]. Error. 127电影
[root@bbs gd-1.8.3]#.. make install虚拟主机
gcc -I. -I/u.sr/local/include -I/usr/.include/X11 -I/usr/X11R6/include/X11 -O -c -o gd.o g.d.c.
make.: gcc: Command not fou.nd<性病>
make: *** [gd.o] Err.or. 127[成人用品]
M.akefile文件内容如下: 女人
#D.epen.ding on your system, you will need to modify this makefile.健康
#If you do not have gcc, change the setting for COMPILER,. but y.ou must 鲜花
#use an ANSI standard .C compiler (NOT the old SunOS 4.1.3 c.c电影
#compiler; get gcc if you are stil..l using it). .
COMPILER=gcc
#If .the ar command fails on your system, consul.t the ar manpage 汽车
#for your syste.m. <性病>
AR=ar
#If you don't have FreeType, libjpeg and/or Xpm installed, includin.g th.e投资
#header files, uncomment t.his (defaul.t)..
CFLAGS=-O
#If you do ha.ve FreeType, libjpeg and/or Xpm fully in.stalled, uncomment a.
#variation of this an.d comment out the line above. See also LIBS .below..
#CFLAG.S=-O -DHAVE_.JPEG -DHAVE_LIBTTF教育
#If you .don't ha.ve FreeType and/or Xpm fully installed, uncomment this<性病>
#(default).
#PLEASE NOTE: YOU MAY HAVE TO JUGGLE TH.E ORDER OF THE LIBR.ARIES.(广告)
#Some system.s are v.ery picky about link order. They don't all agree.
#on the right order,.. either.电影
LIBS=-lm -lg.d -lpng -lz域名
#If you do have FreeTyp.e, JPEG and/or Xpm fully instal.led, uncomment a <性病>
#variation of this and com.ment. out the line above. Note that( 游戏 )
#.Xpm requires X11. See also C.FLAGS above.--------------彩票
#PLEASE NOTE: YOU MAY H.AVE TO JUGGLE THE ORDER OF THE LIBRAR.IES..
#Some systems are very .picky about link order. They d.on't all agree.
#on the right order,.. either..
#LIBS=-lm -lgd -lpn.g -lz -.ljpeg -lttf虚拟主机
#Typical .install locations for freetype, zl.ib, xpm, l.ibjpeg and libpng header files.虚拟主机
#.If yo.urs are somewhere else, change this. 健康
#-I. is important to e.nsure that the version of gd you are .installing 汽车
#is used, and not an older re.lease in you.r directory tree somewhere.<性病>
INCLUDEDIRS=-I. -I./u.sr/local/inclu.de -I/usr/include/X11 -I/usr/X11R6/include/X11.
#Typical install locations for freet.y.pe, zlib, xpm and libpng libraries. 健康
#If yours are somewhere .else, other than a standa.rd location
#such as /lib or /usr/lib, then change .this.. Be sure to keep虚拟主机
#-.L. as this allows the gd library itself to. be found..
#Put -L. first so that old versions of the gd library els.ewh.ere[成人用品]
#on your system can't cause conflicts while. buildi.ng a new one.教育
LIBDIRS=-L. -L/usr/local/lib -L/usr./lib/X11 -L/usr/X11.R6/lib.
#Location w.here l.ibgd.a should be installed by "make install".--------------彩票
I.NSTALL_LIB.=/usr/local/lib.
#Location where. .h fil.es should be installed by "make install"..
INSTALL_INCLUDE=/us.r/local/.include电影
#Lo.cation where useful non-test programs shoul.d be installed by ".make install". 健康
INSTALL_BIN=/.usr/loca.l/bin学习
#
#
#. Changes should not be required below. here..
#
#
VERSION=1.8.1
CC=$(COMPI.LE.R) $(INCLUDEDIRS)外贸
LIN.K=$(CC) $(LIBDIRS) $(LIBS).健康
PROGRAMS=$(BIN_PROGRAMS) $(TEST._.PROGRAMS)服务器
BIN_PROGRAMS=pngtogd pngtogd2 gdtopng. gd2topng g..d2copypal gdparttopng webpng[成人用品]
T.EST_PROGRAMS=gdtest gddemo gd2time gdtest.ttf( 游戏 )
all: libgd.a $(PROG.RAMS).
install: lib.gd.a $(BIN_PROGRAMS.) 健康
. sh ./install-item 644 libgd.a $(INSTALL._LIB)/libgd.a 杀毒
sh ./install-i.tem 755 pngtogd $(INSTALL_BIN)/pn.gtogd虚拟主机
sh ../install-item 755 pngtogd2 $(INSTALL_BIN)/pngtog.d2.
. s.h ./install-item 755 gdtopng $(INSTALL_BIN)/gdtopng投资
sh ./install-item 755 gd2to.png $(INSTALL_BIN.)/gd2topng 健康
sh ../install-item 755 gd2copyp.al $(INSTALL_BIN)/gd2copypal 杀毒
sh ./install-item 755 gdpartt.o.png $(INSTALL_BIN)/gdparttopng 杀毒
sh ./instal.l-item 755 webpng $(INSTALL_BIN)/webp.ng--------------彩票
s.h ./install-item 755 bdftogd $(INSTALL_BIN.)/bdftogd服务器
sh ../install-item 644 gd.h $.(INSTALL_INCLUDE)/gd.h.
sh ./install-item 644 gdcache.h $(INSTALL_INCLUDE)/.gdcac.he.h 电子
sh ../install-item 644 .gd_io.h $(INSTALL_INCLUDE)/gd_io.h( 游戏 )
. . sh ./install-item 644 gdfontg.h $(INSTALL_INCLUDE)/gdfontg.h[成人用品]
sh ./install-item 644 gdfontl.h. $(INSTALL_INCLUDE)/gdfon.tl.h 乙肝
sh ./install-item 644 gdfo.ntmb.h $(.INSTALL_INCLUDE)/gdfontmb.h.
. sh ./install-item 644 gdfonts.h $(INSTALL_INCLUDE)/gdfonts..h 乙肝
. sh ./install-item 644 gdfontt.h $(INSTALL_INCLUDE.)/gdfontt.h 婚庆
gdd.emo: gddemo.o libgd.a 婚庆
$(CC.) gdde.mo.o -o gddemo $(LIBDIRS) $(LIBS) 外汇
pngtogd: png.togd..o libgd.a 汽车
$(CC) pngtogd.o -o pngtogd . $(LIBDIRS) .$(LIBS) .
webpng: webpng.o libg.d.a 健康
$(CC). webpng.o -o. webpng $(LIBDIRS) $(LIBS) 建材
pngtogd2:. pngtog.d2.o libgd.a 健康
$(CC) pngtogd2.o -o pngtogd.2 $(LI.BDIRS) $(LIBS)
g.dtopng: gdtopng..o libgd.a电脑
. $(CC) gdtopng.o -o gdtop.ng $(LIBDIRS) $(LIBS)健康
gd2.topng: gd2topng..o libgd.a.
.$(CC) gd2topng.o -o .gd2topng $(LIBDIRS) $(LIBS).
g.d2copypal: g.d2copypal.o libgd.a外贸
$(.CC) gd2copypal.o -o gd2copypal . $(LIBDIRS) $(LIBS)电影
gdparttopng: gdparttop.ng.o. libgd.a 婚庆
. $(CC) gdparttopng.o -o gdparttopng $(LIBDIRS) $(.LIBS) 婚庆
gdtest: gdtest.o libgd..a 建材
$.(CC) gdtest.o -o gd.test $(LIBDIRS) $(LIBS)虚拟主机
gd2time: gd2time.o l.ibgd..a.
$(CC) gd2time..o -o gd2time $(LIBDIRS). $(LIBS)虚拟主机
gdtestttf: gd.testttf.o libgd..a( 游戏 )
$(CC.) gdtestttf.o -o gdtestttf . $(LIBDIRS) $(LIBS) 鲜花
libgd..a: gd.o gd_gd.o gd_gd2.o gd._io.o gd_io_dp.o gd_io_file.o gd_ss.o \ 乙肝
. . gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o gdfontt.o gdfonts.o gdfon.tmb.o gdfontl.o \ 建材
gdfon.tg.o gdtables.o gdttf.o gdcache.o gdk.anji.o wbmp.o gd_wbmp.o \虚拟主机
gd.h gdfontt.h gdfonts.h gdfon.tmb.h gdfo.ntl.h gdfontg.h 婚庆
. rm -f libgd.a 电子
$(AR) rc libgd..a gd.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o .\电脑
g.d_io_file.o gd_ss.o gd_io_ss.o gd_png.o gd_jpeg..o gdxpm.o \域名
gdfontt..o gdfonts.o gdfontmb.o gdfontl.o. gdfontg.o \.
gdtables.o gdttf.o gdcache.o .gdk.anji.o wbmp.o gd_wbmp.o(广告)
. -ranlib libgd.a电影
clean:
rm -f *..o *.a $.{PROGRAMS} test/gdtest.jpg test/gdtest.wbmp--------------彩票