some collected compile error for firefox source on Ubuntu 10.04

本文详细记录了在Ubuntu 10.04环境下从源码编译Firefox 4.01时遇到的配置错误和编译错误,并提供了相应的解决方法,包括安装必要的依赖库和工具,如libgtk2.0-dev, libnotify-dev, yasm, libasound2-dev, libcurl4-gnutls-dev, libIDL-dev, libiw-dev, libxt-dev, 和mesa-common-dev。

Needing to compile firefox 4.01 from source on Ubuntu 10.04,

here collected some configure and compile errors,

hope it helpful.


configure: error: --enable-application=APP was not specified and is required.
$ ./configure --enable-application=browser

configure: error: Library requirements (gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0) not met;
$ sudo apt-get install libgtk2.0-dev

configure: error: Library requirements (libnotify >= 0.4) not met;
$ sudo apt-get install libnotify-dev

configure: error: yasm is a required build tool for this architecture when webm is enabled.
$ sudo apt-get install yasm

configure: error: Need alsa for Ogg, Wave or WebM decoding on Linux.
$ sudo apt-get install libasound2-dev

configure: error: Couldn't find curl/curl.h which is required for the crash reporter.
$ sudo apt-get install libcurl4-gnutls-dev

configure: error: Library requirements (libIDL-2.0 >= 0.8.0) not met;
$ sudo apt-get install libIDL-dev

configure: error: Can't find header iwlib.h for Necko WiFi scanning (might be in package libiw-dev (Ubuntu) or wireless-tools-devel (Fedora));
$ sudo apt-get install libiw-dev

configure: error: Could not compile basic X program.
$ sudo apt-get install libxt-dev

configure: error: Can't find header GL/glx.h for WebGL
$ sudo apt-get install mesa-common-dev


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值