红联Linux门户
Linux帮助

安装PHP,MYSQL,APACHE

发布时间:2011-11-01 18:27:43来源:红联作者:463333515
我是要安装PHP,MYSQL,APACHE的,看着帖子安装的。
2、安装 jpeg6
建立目录
# mkdir /usr/local/jpeg6
# mkdir /usr/local/jpeg6/bin
# mkdir /usr/local/jpeg6/lib
# mkdir /usr/local/jpeg6/include
# mkdir /usr/local/jpeg6/man
# mkdir /usr/local/jpeg6/man/man1
做完了上一步后,
3、安装libpng
# cd /root/soft
# tar -zxf libpng-1.2.8.tar.gz
# cd libpng-1.2.8
# cp scripts/makefile.std makefile
# make; make install
这是帖子上的内容,
[root@localhost libpng-1.5.1]#make install
mkdir: 无法创建目录"/usr/local/include": 文件已存在
make: [install] 错误 1 (忽略)
mkdir: 无法创建目录"/usr/local/lib": 文件已存在
make: [install] 错误 1 (忽略)
cp png.h /usr/local/include/libpng
cp pngconf.h /usr/local/include/libpng
cp pnglibconf.h /usr/local/include/libpng
chmod 644 /usr/local/include/libpng/png.h
chmod 644 /usr/local/include/libpng/pngconf.h
chmod 644 /usr/local/include/libpng/pnglibconf.h
(cd /usr/local/include; ln -f -s libpng/* .)
cp libpng.a /usr/local/lib
chmod 644 /usr/local/lib/libpng.a
[root@localhost libpng-1.5.1]#
问一下上面的提示错误,算编译成功了吗?有问题的话,大不大?
[root@localhost soft]#tar -zxvf freetype-2.1.10.tar.gz
freetype-2.1.10/
freetype-2.1.10/builds/
freetype-2.1.10/builds/amiga/
freetype-2.1.10/builds/amiga/makefile
freetype-2.1.10/builds/amiga/README
freetype-2.1.10/builds/amiga/include/
freetype-2.1.10/builds/amiga/include/freetype/
freetype-2.1.10/builds/amiga/include/freetype/config/
freetype-2.1.10/builds/amiga/include/freetype/config/ftconfig.h
freetype-2.1.10/builds/amiga/include/freetype/config/ftmodule.h
freetype-2.1.10/builds/amiga/src/
freetype-2.1.10/builds/amiga/src/base/
freetype-2.1.10/builds/amiga/src/base/ftdebug.c
freetype-2.1.10/builds/amiga/src/base/ftsystem.c
freetype-2.1.10/builds/amiga/smakefile
freetype-2.1.10/builds/amiga/makefile.os4
freetype-2.1.10/builds/detect.mk
freetype-2.1.10/builds/freetype.mk
freetype-2.1.10/builds/link_dos.mk
freetype-2.1.10/builds/link_std.mk
freetype-2.1.10/builds/modules.mk
freetype-2.1.10/builds/newline
freetype-2.1.10/builds/toplevel.mk
freetype-2.1.10/builds/ansi/
freetype-2.1.10/builds/ansi/ansi-def.mk
freetype-2.1.10/builds/ansi/ansi.mk
freetype-2.1.10/builds/atari/
freetype-2.1.10/builds/atari/FNames.SIC
freetype-2.1.10/builds/atari/ATARI.H
freetype-2.1.10/builds/atari/FREETYPE.PRJ
freetype-2.1.10/builds/atari/README.TXT
freetype-2.1.10/builds/beos/
freetype-2.1.10/builds/beos/beos-def.mk
freetype-2.1.10/builds/beos/beos.mk
freetype-2.1.10/builds/beos/detect.mk
freetype-2.1.10/builds/compiler/
freetype-2.1.10/builds/compiler/ansi-cc.mk
freetype-2.1.10/builds/compiler/bcc-dev.mk
freetype-2.1.10/builds/compiler/bcc.mk
freetype-2.1.10/builds/compiler/emx.mk
freetype-2.1.10/builds/compiler/gcc-dev.mk
freetype-2.1.10/builds/compiler/gcc.mk
freetype-2.1.10/builds/compiler/intelc.mk
freetype-2.1.10/builds/compiler/unix-lcc.mk
freetype-2.1.10/builds/compiler/visualage.mk
freetype-2.1.10/builds/compiler/visualc.mk
freetype-2.1.10/builds/compiler/watcom.mk
freetype-2.1.10/builds/compiler/win-lcc.mk
freetype-2.1.10/builds/dos/
freetype-2.1.10/builds/dos/detect.mk
freetype-2.1.10/builds/dos/dos-def.mk
freetype-2.1.10/builds/dos/dos-emx.mk
freetype-2.1.10/builds/dos/dos-gcc.mk
freetype-2.1.10/builds/dos/dos-wat.mk
freetype-2.1.10/builds/mac/
freetype-2.1.10/builds/mac/ftlib.prj
freetype-2.1.10/builds/mac/README
freetype-2.1.10/builds/mac/freetype.make
freetype-2.1.10/builds/os2/
freetype-2.1.10/builds/os2/detect.mk
freetype-2.1.10/builds/os2/os2-def.mk
freetype-2.1.10/builds/os2/os2-dev.mk
freetype-2.1.10/builds/os2/os2-gcc.mk
freetype-2.1.10/builds/unix/
freetype-2.1.10/builds/unix/configure.ac
freetype-2.1.10/builds/unix/detect.mk
freetype-2.1.10/builds/unix/freetype-config.in
freetype-2.1.10/builds/unix/freetype2.in
freetype-2.1.10/builds/unix/freetype2.m4
freetype-2.1.10/builds/unix/ft-munmap.m4
freetype-2.1.10/builds/unix/ft2unix.h
freetype-2.1.10/builds/unix/ftconfig.in
freetype-2.1.10/builds/unix/ftsystem.c
freetype-2.1.10/builds/unix/install-sh
freetype-2.1.10/builds/unix/install.mk
freetype-2.1.10/builds/unix/mkinstalldirs
freetype-2.1.10/builds/unix/unix-cc.in
freetype-2.1.10/builds/unix/unix-def.in
freetype-2.1.10/builds/unix/unix-dev.mk
freetype-2.1.10/builds/unix/unix-lcc.mk
freetype-2.1.10/builds/unix/unix.mk
freetype-2.1.10/builds/unix/unixddef.mk
freetype-2.1.10/builds/unix/config.guess
freetype-2.1.10/builds/unix/aclocal.m4
freetype-2.1.10/builds/unix/config.sub

gzip: stdin: unexpected end of file
freetype-2.1.10/builds/unix/ltmain.sh
tar: 归档文件中异常的 EOF
tar: 归档文件中异常的 EOF
tar: Error is not recoverable: exiting now
[root@localhost soft]#
到这里也有问题,不知道为什么?
文章评论

共有 0 条评论