[问题] 如何 编译 firefox 3.0 代码????
-
- 帖子: 94
- 注册时间: 2007-09-12 13:16
[问题] 如何 编译 firefox 3.0 代码????
我从 官网 把 firefox-3.0-source.tar.bz2 下载并解压了。 并用 sudo apt-get build-dep firefox 安装了一些相关程序,然后进入解压的文件夹 ,输入命令: ./configure
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
checking for C++ reinterpret_cast... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... yes
checking for trouble comparing to zero near std::operator!=()... no
checking for LC_MESSAGES... yes
configure: error: --enable-application=APP was not specified and is required.
wyb@wyb-desktop:~/桌面/mozilla$
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>>>>>>>
请问 ,这是 什么 原因???????????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
checking for C++ reinterpret_cast... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... yes
checking for trouble comparing to zero near std::operator!=()... no
checking for LC_MESSAGES... yes
configure: error: --enable-application=APP was not specified and is required.
wyb@wyb-desktop:~/桌面/mozilla$
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>>>>>>>
请问 ,这是 什么 原因???????????
./configure --prefix =/usr/local/filename
make make install make clean
make uninstall
CC =gcc
all:
$(CC) -o hello hello.c `pkg-config --cflags --libs gtk+-2.0`
make make install make clean
make uninstall
CC =gcc
all:
$(CC) -o hello hello.c `pkg-config --cflags --libs gtk+-2.0`
- HuntXu
- 帖子: 5776
- 注册时间: 2007-09-29 3:09
-
- 帖子: 2841
- 注册时间: 2006-09-11 22:47
-
- 帖子: 94
- 注册时间: 2007-09-12 13:16
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
- yaska
- 帖子: 1169
- 注册时间: 2007-10-28 21:35
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
哦?那你的那篇内核编译的文章不是得修改下了?直接进入内核源码然后syrano 写了:当然可以。dogfox 写了:它打包的范围是什么?是不是也可以打包wine?syrano 写了:对。yaska 写了:请问这个是下载源里source并编译,打包成deb包吗??syrano 写了:最简单的方法。
sudo apt-get install apt-build
sudo apt-build install firefox #自动编译安装firefox
几乎所以软件都可以。
gcc不要编译,很危险
内核也不能编译。
代码: 全选
sudo apt-build install kernel
全世界linux爱好者联合起来 !
- syrano
- 帖子: 4313
- 注册时间: 2007-10-06 18:40
这样干是不行的dogfox 写了:哦?那你的那篇内核编译的文章不是得修改下了?直接进入内核源码然后syrano 写了:当然可以。dogfox 写了:它打包的范围是什么?是不是也可以打包wine?syrano 写了:对。yaska 写了:请问这个是下载源里source并编译,打包成deb包吗??syrano 写了:最简单的方法。
sudo apt-get install apt-build
sudo apt-build install firefox #自动编译安装firefox
几乎所以软件都可以。
gcc不要编译,很危险
内核也不能编译。?代码: 全选
sudo apt-build install kernel
曾经试过,8个小时过去了,还没编译完。
E=m c^2
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
看来你还是一个不折不扣的实践者啊syrano 写了:这样干是不行的dogfox 写了:哦?那你的那篇内核编译的文章不是得修改下了?直接进入内核源码然后syrano 写了:当然可以。dogfox 写了:它打包的范围是什么?是不是也可以打包wine?syrano 写了:对。yaska 写了:请问这个是下载源里source并编译,打包成deb包吗??syrano 写了:最简单的方法。
sudo apt-get install apt-build
sudo apt-build install firefox #自动编译安装firefox
几乎所以软件都可以。
gcc不要编译,很危险
内核也不能编译。?代码: 全选
sudo apt-build install kernel
曾经试过,8个小时过去了,还没编译完。
全世界linux爱好者联合起来 !