HowTos: 在Debian 5 (Lenny) 上编译firefox
刚安装了Debian 5,试一下编译Firefox. 有如下要点:(注意命令在root下执行). 基本上参看官方指南, https://developer.mozilla.org/en/Linux_Build_Prerequisites, 但也有些不同.
1. 安装编译工具
sudo apt-get install build-essential
2. 安装firefox的依赖库:
sudo apt-get install iceweasel
iceweasel是firefox在Debian的发布版.我运行sudo apt-get install firefox,会报找不到包的错误
sudo apt-get install libdbus-glib-1-dev curl
apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13
在编译中遇到个奇怪的错误 “Your compiler does not follow the C++ specification for temporary object destruction order.”
但删除configure重新生成后,错误消失了.我估计是autoconf的问题.
本文由IT Farmer的博客创作,欢迎转载并保留对本博的链接。 Tags:build,debian,firefox