博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android Ubuntu 12.04 源码环境搭建
阅读量:4926 次
发布时间:2019-06-11

本文共 3758 字,大约阅读时间需要 12 分钟。

$ sudo apt-get install git gnupg flex bison gperf build-essential \  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \  libgl1-mesa-dev g++-multilib mingw32 tofrodos \  python-markdown libxml2-utils xsltproc zlib1g-dev:i386$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
 
zhangzhenli@OptiPlex:~$ sudo apt-get install git gnupg flex bison gperf build-essential \>   zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \>   libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \>   libgl1-mesa-dev g++-multilib mingw32 tofrodos \>   python-markdown libxml2-utils xsltproc zlib1g-dev:i386[sudo] password for zhangzhenli: 正在读取软件包列表... 完成正在分析软件包的依赖关系树       正在读取状态信息... 完成       有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件包尚未被创建或是它们已被从新到(Incoming)目录移出。下列信息可能会对解决问题有所帮助:下列软件包有未满足的依赖关系: libgl1-mesa-glx:i386 : 依赖: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.7)                        推荐: libgl1-mesa-dri:i386 (>= 7.2)E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

 

出现上述情况请将
libgl1-mesa-glx:i386替换为libgl1-mesa-glx-lts-
:i386 其中release的值拒取决于你的系统内核,比如的我使用12.04.4安装的ubuntu则release为saucy,具体替换为什么值请参考下面文章 例如我的命令为:
sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx-lts-saucy:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

 

 

https://wiki.ubuntu.com/Kernel/LTSEnablementStack

LTS Enablement Stacks

In an effort to support a wider variety of hardware on an existing LTS release, the 12.04.2 and newer point releases will ship with an updated kernel and X stack by default. These newer hardware enablement stacks will be comprised of the newer kernel and X stacks from 12.10 (Quantal), 13.04 (Raring), 13.10 (Saucy), and 14.04 (Trusty). These enablement stacks are only intended for use on x86 hardware at this time. Those running virtual or cloud images should not need these newer enablement stacks and are thus recommended to remain on the original Precise stack. To remain on the original Precise stack there are a few options:

  • Install from a previous 12.04.0 or 12.04.1 point release and update. The previous 12.04.0 and 12.04.1 releases are archived at 

  • Perform an update or upgrade to Precise from a previous release. Only those installing from the 12.04.2 or newer point release media will automatically receive a newer enablement stack by default.
  • Perform a network install using the netboot images rather than the new <release>-netboot images, eg. quantal-netboot images.

Anyone wishing to opt into the hardware enablement stack for Precise may do so by installing the linux-generic-lts-<release> and xserver-xorg-lts-<release> packages. For example to install the Quantal hardware enablement packages in Precise, please run the following command:

 

sudo apt-get install --install-recommends linux-generic-lts-quantal xserver-xorg-lts-quantal libgl1-mesa-glx-lts-quantal

 

To install the Raring hardware enablement packages in Precise, please run instead the following command:

 

sudo apt-get install --install-recommends linux-generic-lts-raring xserver-xorg-lts-raring libgl1-mesa-glx-lts-raring

 

To install the Saucy hardware enablement packages in Precise, please run instead the following command:

 

sudo apt-get install --install-recommends linux-generic-lts-saucy xserver-xorg-lts-saucy libgl1-mesa-glx-lts-saucy

 

Below contains additional specifics regarding the exact policies and procedures regarding the support, maintenance, and upgrade paths for these hardware enablement stacks.

转载于:https://www.cnblogs.com/zawn/p/3664540.html

你可能感兴趣的文章
运算符的重载【掌握】
查看>>
.net2.0缓存技术
查看>>
5.2 i++
查看>>
HDOJ 1312题Red and Black
查看>>
《python cookbook中文译本》pdf电子书
查看>>
JQueryMobile开发Cordova时多页应用模式
查看>>
测试的“潜规则”
查看>>
Unix的缺陷_王垠_新浪博客
查看>>
MS SQL's 'Join' tips
查看>>
django使用表单
查看>>
基本XML解析---编写
查看>>
webform Repeater、地址栏传值、Response
查看>>
HDU 3397 Sequence operation 线段树
查看>>
HDU 3483 A Very Simple Problem 矩阵构造
查看>>
Java 好用的 少见的 api
查看>>
免费试用MongoDB云数据库 (MongoDB Atlas)教程
查看>>
python实现scp功能
查看>>
如何使用ajax 提交easyUI form表单
查看>>
XHR
查看>>
第11章 PADS功能使用技巧(1)-最全面
查看>>