Linux的现状真是一堆散沙,编译个GNOMEGames痛苦得吐血不止
来源:互联网 发布:linux搭建代理服务器 编辑:程序博客网 时间:2024/06/05 10:14
想学习下GNOME Games中特别是俄罗斯方块(GnomeTetris)的按键控制,下载了gnome-games-2.25.4.tar.bz2,心血来潮,想编译一下看看,结果踏上长长的吐血之路,可怜...
最终结果,还是卡在GTK的编译上 :-(
花了整整一下午来搜索网络/下载各关联源程序包/编译/换版本...
首先,是GTK的编译需要 Glib, ATK, Pango, Cairo; 看似不多,然后是垃圾的Cairo需要 Pixman, libpng, freetype, libxml...
沙子的海洋,里面还有狗屎,要把散沙熔合成哪怕几块玻璃,都是不容易的事情;
感叹那些维护Linux发行版的弟兄们,辛苦了!
不过这种关联性与频繁的版本变动性,还将让人深陷其中,无边无际的苦海啊
在此,也鄙视下CSDN里面的一些专家,袁老师就算一个,整天喊Linux多好,何苦呢?
哪位仁兄,不看手册,直接去我列出的网站挑选各版本下载来编译,半天能搞定的,I服了U!
A. ===========================
glib-2.19.4.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/
>> Built & installed!
B. ===========================
atk-1.25.2.tar.gz http://ftp.gnome.org/pub/gnome/sources/
>> Built & installed!
C. ==========================
pango-1.22.4.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/
>> Built & installed!
D. ==========================
D-a) cairo-1.7.2.tar.gz http://cairographics.org/releases/
1) pixman-0.11.8.tar.gz >> Built & installed!
2) libpng-1.2.34.tar.gz >> Built & installed! (www.libpng.org/pub/png/libpng.html)
"configure: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/"
3) freetype-2.3.7.tar.gz >> Built & installed!
"rmdir: 删除 “/usr/local/include/freetype2/freetype/internal” 失败: 没有该文件或目录" ---Only warning!
cairoint.h:942:2: error: #error No font backends are available.
make[1]: *** [libcairo_la-cairo.lo] 错误 1
4) fontconfig-2.6.0.tar.-1.22.4.tar.bz2 /gz >> Built & installed!
http://fontconfig.org/release/
"checking for LIBXML2... configure: error: Package requirements (libxml-2.0 >= 2.6) were not met:"
4.1) libxml2-dev >>Installed via Synaptic!
cairo-user-font.c:38:37: error: cairo-user-font-private.h: 没有该文件或目录
cairo-user-font.c:450: 警告: ‘_cairo_font_face_is_user’先前没有原型
make[2]: *** [libcairo_la-cairo-user-font.lo] 错误 1
make[2]:正在离开目录 `/usr/share/cairo-1.7.2/src'
<<<<<Failed here !!!>>>>>>
------------------------------------------------
D-b)cairo-1.8.6.tar.gz http://cairographics.org/releases/
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.12.0 http://cairographics.org/releases/)
configure: error: mandatory image surface backend feature could not be enabled
5) pixman-0.12.0.tar.gz >> Built & installed!
OK!
E. =====================================
gtk+-2.15.0 http://ftp.gnome.org/pub/gnome/sources/
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.17.6 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6) were not met:
configure: error:
*** Checks for TIFF loader failed. You can build without it by passing
*** --without-libtiff to configure but some programs using GTK+ may
*** not work properly
*** Checks for JPEG2000 loader failed. You can build without it by passing
*** --without-libjasper to configure
./configure --without-libtiff --without-libjpeg --without-libjasper
configure: error: *** libX11 not found. Check 'config.log' for more details.
<<<<<Failed here !!!>>>>>>
最终结果,还是卡在GTK的编译上 :-(
花了整整一下午来搜索网络/下载各关联源程序包/编译/换版本...
首先,是GTK的编译需要 Glib, ATK, Pango, Cairo; 看似不多,然后是垃圾的Cairo需要 Pixman, libpng, freetype, libxml...
沙子的海洋,里面还有狗屎,要把散沙熔合成哪怕几块玻璃,都是不容易的事情;
感叹那些维护Linux发行版的弟兄们,辛苦了!
不过这种关联性与频繁的版本变动性,还将让人深陷其中,无边无际的苦海啊
在此,也鄙视下CSDN里面的一些专家,袁老师就算一个,整天喊Linux多好,何苦呢?
哪位仁兄,不看手册,直接去我列出的网站挑选各版本下载来编译,半天能搞定的,I服了U!
A. ===========================
glib-2.19.4.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/
>> Built & installed!
B. ===========================
atk-1.25.2.tar.gz http://ftp.gnome.org/pub/gnome/sources/
>> Built & installed!
C. ==========================
pango-1.22.4.tar.bz2 http://ftp.gnome.org/pub/gnome/sources/
>> Built & installed!
D. ==========================
D-a) cairo-1.7.2.tar.gz http://cairographics.org/releases/
1) pixman-0.11.8.tar.gz >> Built & installed!
2) libpng-1.2.34.tar.gz >> Built & installed! (www.libpng.org/pub/png/libpng.html)
"configure: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/"
3) freetype-2.3.7.tar.gz >> Built & installed!
"rmdir: 删除 “/usr/local/include/freetype2/freetype/internal” 失败: 没有该文件或目录" ---Only warning!
cairoint.h:942:2: error: #error No font backends are available.
make[1]: *** [libcairo_la-cairo.lo] 错误 1
4) fontconfig-2.6.0.tar.-1.22.4.tar.bz2 /gz >> Built & installed!
http://fontconfig.org/release/
"checking for LIBXML2... configure: error: Package requirements (libxml-2.0 >= 2.6) were not met:"
4.1) libxml2-dev >>Installed via Synaptic!
cairo-user-font.c:38:37: error: cairo-user-font-private.h: 没有该文件或目录
cairo-user-font.c:450: 警告: ‘_cairo_font_face_is_user’先前没有原型
make[2]: *** [libcairo_la-cairo-user-font.lo] 错误 1
make[2]:正在离开目录 `/usr/share/cairo-1.7.2/src'
<<<<<Failed here !!!>>>>>>
------------------------------------------------
D-b)cairo-1.8.6.tar.gz http://cairographics.org/releases/
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.12.0 http://cairographics.org/releases/)
configure: error: mandatory image surface backend feature could not be enabled
5) pixman-0.12.0.tar.gz >> Built & installed!
OK!
E. =====================================
gtk+-2.15.0 http://ftp.gnome.org/pub/gnome/sources/
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.17.6 atk >= 1.13.0 pango >= 1.20 cairo >= 1.6) were not met:
configure: error:
*** Checks for TIFF loader failed. You can build without it by passing
*** --without-libtiff to configure but some programs using GTK+ may
*** not work properly
*** Checks for JPEG2000 loader failed. You can build without it by passing
*** --without-libjasper to configure
./configure --without-libtiff --without-libjpeg --without-libjasper
configure: error: *** libX11 not found. Check 'config.log' for more details.
<<<<<Failed here !!!>>>>>>
- Linux的现状真是一堆散沙,编译个GNOMEGames痛苦得吐血不止
- 回忆真是一个痛苦的过程
- 考试的生活还真是痛苦啊!
- 澄清需求真是很痛苦的事情
- LOADIMAGE真是怪事一堆
- Linux 内核编译(三天吐血经历!)
- 吐血简述在arm-linux上编译helloworld时候的抓狂经历
- 吐血简述在arm-linux上编译helloworld时候的抓狂经历
- 吐血简述在arm-linux上编译helloworld时候的抓狂经历
- linux的痛苦之旅
- linux 的现有php 里安装mssql 免去重新编译的痛苦
- 真是让人吐血三升啊......(转)
- windows 下编译jabberd2的痛苦经历
- 命运不能掌握在自己手中,真是一件痛苦的事。
- 学习本就是个痛苦的过程
- live真是个搞笑的东东
- 时间真是个可怕的东西
- CSDN真是个不错的地方
- Python读写文件
- 转发C#
- PostgreSQL的著名用户
- 软件的架构与设计模式之层次原则
- 重新起动APACHE出现:Permission denied(解决)
- Linux的现状真是一堆散沙,编译个GNOMEGames痛苦得吐血不止
- EVC中调试跟踪代码简单方法
- Tip: [VPC] host-to-guest networking and file sharing without external network
- 如何读懂pgsql的源代码?
- .net中C#代码与javaScript函数的相互调用问题。
- 【编程游戏】贺岁放礼花。(点燃续帖2-141楼sharp_ice的焰火)
- 知识积累 成就人生
- Graphics Device Interface:图形设备接口
- 选好自己的方向