手动构建gnome2.24时firefox出现问题

编译打包和其他
回复
头像
pxw816
帖子: 296
注册时间: 2007-10-16 19:29

手动构建gnome2.24时firefox出现问题

#1

帖子 pxw816 » 2008-10-18 14:52

这几天看到好多gnome的文章,心痒,尝试手动更新到gnome2.24,使用garnome工具,结果在编译firefox时出现问题:

代码: 全选

nsCanvasRenderingContext2D.cpp:(.text+0x5dbc): undefined reference to `XRenderFindStandardFormat'
google到这篇文章,不过其他的也差不多是同样解决方法:
http://blog.5ilinux.com/
但关键是在MakeFile.in中根本找到相关字眼。
所以清大家帮帮忙:
1、解决上述的问题。
2、跳过firefox

现在正在尝试用另一个工具jhbuild构建中。。。
cpu:Intel(R) Core(TM)2 Quad CPU Q6600
mem:2GB DDR2 800 *4
disk:ide320GB+(640GB+640GB)raid
video:Nvidia GTX 260+
network: Atheros AR8121/AR8113
monitor: BENQ FP92W
OS: ubuntu
Sean.tang
帖子: 3
注册时间: 2008-11-04 13:51

Re: 手动构建gnome2.24时firefox出现问题

#2

帖子 Sean.tang » 2008-11-04 13:56

修改文件 garnome-2.24.0/bootstrap/firefox/work/main.d/mozilla/layout/build/Makefile.in

将227行的内容由

ifdef MOZ_ENABLE_GTK2
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS) \
$(NULL)
endif

改为

ifdef MOZ_ENABLE_GTK2
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS) \
-lXrender \
-lX11 \

$(NULL)
endif
fosky
帖子: 4
注册时间: 2007-04-16 13:21

Re: 手动构建gnome2.24时firefox出现问题

#3

帖子 fosky » 2009-01-22 15:50

多谢,正在编译gnome2.24,也遇到了这个问题
回复