SUSE笔记:安装GTK
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-08
wandering 发表于 2007-04-07 17:50:57 SUSE笔记:安装GTK ====================== shell> mkdir -p /opt/gtk shell> export LD_LIBRARY_PATH=/opt/gtk/lib:$LD_LIBRARY_PATH shell> export PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig:$PKG_CONFIG_PATH *** 注:上面这3行可是相当重要啊!!! *** pkg-config ------------ shell> tar zxvf pkg-config-0.21.tar.gz shell> cd pkg-config-0.21/ shell> ./configure shell> make shell> make uninstall shell> su -c "make install" root glib-2.0 ---------- shell> tar jxvf glib-2.13.0.tar.bz2 shell> cd glib-2.13.0/ shell> ./configure --prefix=/opt/gtk shell> make shell> su -c "make uninstall" root shell> su -c "make install" root *** 注:安装路径是 /opt/gtk *** libpng -------- shell> tar zxvf libpng-1.2.16.tar.gz shell> cd libpng-1.2.16/ shell> ./configure --prefix=/opt/gtk shell> make shell> su -c "make uninstall" root shell> su -c "make install" root 还有一种安装方法可以参考: shell> make -f scripts/makefile.linux shell> make -f scripts/makefile.linux install JPEG ------ shell> tar zxvf jpegsrc.v6b.tar.gz shell> cd jpeg-6b/ shell> ./configure --prefix=/opt/gtk/ --enable-shared --enable-static shell> make shell> su -c "make uninstall" root shell> su -c "make install" root *** 注:jpeg默认不share library,因此要手工指定--enable-shared,一般安装lib时这一点都是要注意的. *** TIFF ------ shell> tar zxvf tiff-3.8.2.tar.gz shell> cd tiff-3.8.2/ shell> ./configure --prefix=/opt/gtk shell> make shell> su -c "make uninstall" root shell> su -c "make install" root atk ----- shell> tar zxvf atk-1.18.0.tar.gz shell> cd atk-atk-1.18.0/ shell> ./configure --prefix=/opt/gtk shell> make shell> su -c "make uninstall" root shell> su -c "make install" root cairo ------- shell> tar zxvf cairo-1.4.2.tar.gz shell> cd cairo-1.4.2/ shell> ./configure --prefix=/opt/gtk/ --with-x --enable-win32=no shell> make shell> su -c "make uninstall" root shell> su -c "make install" root pango ------- shell> tar jxvf pango-1.16.1.tar.bz2 shell> cd pango-1.16.1/ shell> ./configure --prefix=/opt/gtk/ --libdir=/opt/gtk/lib --with-x shell> make shell> su -c "make uninstall" root shell> su -c "make install" root gtk ------ shell> tar jxvf gtk -2.10.11.tar.bz2 shell> cd gtk -2.10.11/ shell> ./configure --prefix=/opt/gtk/ --with-x --without-libjpeg shell> su -c "make uninstall" root shell> su -c "make install" root 关键词(Tag): linux install suse gtk |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于SUSE笔记:安装GTK的所有评论