some collected compile error for firefox source on Ubuntu 10.04

Needing to compile firefox 4.0.1 from source on Ubuntu 10.04,

here collected some configure and compile error and its solution,

hopes it usefully!


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



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值