|
楼主 |
发表于 2004-10-26 11:58:58
|
显示全部楼层
还是不行呀,还请你给指教一下,我现在把安装过程说一下:
我下载的文件是:atk-1.6.1.tar.bz2、glib-2.4.7.tar.bz2、pango-1.4.1.tar.bz2、gtk+-2.4.9.tar.bz2这四个文件
然后按你说的export PKG_CONFIG_PATH=/usr/lib/pkgconfig
接着tar xjf atk-1.6.1.tar.bz2,./configure --prefix=/usr 提示如下:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
。。。。。。。。。。。。。(省略)
checking for bind_textdomain_codeset... (cached) yes
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating atk.pc
config.status: creating atk-uninstalled.pc
config.status: creating atk/Makefile
config.status: creating atk/atk.rc
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/version.xml
config.status: creating atk.spec
config.status: creating atk-zip.sh
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
就完了,不知道是否成功了,接着make和make install也没有什么错误提示
然后glib-2.4.7.tar.bz2、pango-1.4.1.tar.bz2、gtk+-2.4.9.tar.bz2这三个文件也是这样做的,但是在make install gtk+-2.4.9时提示有错误:
libtool: install: warning: relinking `libpixbufloader-png.la'
libtool: install: warning: relinking `libpixbufloader-jpeg.la'
libtool: install: warning: relinking `libpixbufloader-gif.la'
libtool: install: warning: relinking `libpixbufloader-ico.la'
libtool: install: warning: relinking `libpixbufloader-ani.la'
libtool: install: warning: relinking `libpixbufloader-ras.la'
libtool: install: warning: relinking `libpixbufloader-xpm.la'
libtool: install: warning: relinking `libpixbufloader-tiff.la'
libtool: install: warning: relinking `libpixbufloader-pnm.la'
libtool: install: warning: relinking `libpixbufloader-bmp.la'
libtool: install: warning: relinking `libpixbufloader-wbmp.la'
libtool: install: warning: relinking `libpixbufloader-xbm.la'
libtool: install: warning: relinking `libpixbufloader-tga.la'
libtool: install: warning: relinking `libpixbufloader-pcx.la'
In file included from /usr/X11R6/include/X11/Xft/Xft.h:41,
from ../../gdk/x11/gdkdrawable-x11.h:35,
from ../../gdk/x11/gdkwindow-x11.h:30,
from gdkprivate-x11.h:36,
from gdkx.h:78,
from gdkasync.c:49:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[3]: *** [gdkasync.lo] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1 |
|