Emacs24在Ubuntu 12.4 LTS 上编译

日期:2019-10-21编辑作者:最快开奖计算机

Emacs下载的地方最棒是接纳国内的镜像,那样速度会快捷,下载地址为

安卓6.0  lunch full_la68_A40-eng

编译(Ubuntu 12.04 64位版)

make -j8 2>&1 | tee build.log

参见源代码目录下的install文件


首先安装如下软件:

安卓5.1

sudo apt-getinstall libxaw7-dev libxpm-dev libpng12-dev libjpeg-dev libtiff4-devlibgif-dev

cat board_android5_6735.tar.bz2.a* | tar xj

sudo apt-getinstall libncurses5-dev libgtk2.0-dev libxpm-dev libgif-devlibtiff4-dev librsvg2-dev libdbus-1-dev libgconf2-dev

gedit /etc/apt/sources.list

configure开采如下难点:

deb precise main restricted universe multiverse

图片 1

deb precise-updates main restricted universe multiverse

自家为了接纳到骨干全部布置选项,如下

deb precise-security main restricted universe multiverse

./configure--with-crt-dir=/usr/lib/x86_64-linux-gnu --enable-largefile--with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-xaw3d --with-xft --with-xim --with-x --with-pop--with-m17n-flt –with-gpm

apt-get update

在那之中地方bug消除方法是—with-crt-dir=/usr/lib/x86_64-linux-gnu指定crt*.o地点就能够

=== Install google recommended packages ===

图片 2

$ apt-get install -y git gnupg flex bison gperf build-essential

apt-get install -y zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev

apt-get install -y g++-multilib mingw32 tofrodos libgl1-mesa-dev python-markdown libxml2-utils xsltproc zlib1g-dev:i386

apt-get install -y libx11-dev:i386 libreadline6-dev:i386 __libgl1-mesa-glx:i386__

改为

apt-get install -y libx11-dev:i386 libreadline6-dev:i386 __libgl1-mesa-dri:i386__

万大器晚成报错

unity-control-center : Depends:libcheese-gtk23 (>= 3.4.0) but it is not going to be installed

Depends: libcheese7 (>= 3.0.1) but it is not going to be installed

E: Error, pkgProblemResolver::Resolve generated breaks,this may be caused by held packages.

执行

apt-get autoremove  libcheese-gtk23 libcheese7

再次

apt-get install -y libx11-dev:i386 libreadline6-dev:i386 __libgl1-mesa-dri:i386__

$ ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

=== Install open JDK 1.7 ===

  1. Run below apt-get command to install the package

$ sudo apt-get -y install openjdk-7-jdk

Ubuntu16.04安装openjdk-7-jdk

的安装源已经暗中同意未有openjdk7了,所以要协和手动加多酒店,如下:

sudo add-apt-repositoryppa:openjdk-r/ppa    sudo apt-getupdate      sudo apt-getinstall openjdk-7-jdk

Ubuntu16.04安装JDK1.7和OpenJDK1.7

当唯有在Ubuntu上设置JDK1.7时,仅要求遵照下述步骤举行:

  1. 在 中下载 “ jdk-7u79-Linux-x64.tar.gz ”

2. 解压“ jdk-7u79-linux-x64.tar.gz ”

  1. 拷贝解压后的文件到“/usr/lib/jvm”中,若无jvm,能够团结新建

sudo vi /etc/profile

输入如下内容,

export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_79

安装好了,还要运维一条命令来收效,

source /etc/profile

  1. java -version 查看版本,至此实现安装JDK1.7
  1. Run below update-java-alternatives command to set open JDK 1.7 environment

$ update-java-alternatives -s java-1.7.0-openjdk-amd64

=== gcc 切换 ===

apt-get remove gcc

apt-get remove g++

apt-get install gcc-4.6

apt-get install g++-4.6

ln -s /usr/bin/gcc-4.6 /usr/bin/gcc

ln -s /usr/bin/g++-4.6 /usr/bin/g++

ls /usr/bin/gcc* -l

ls /usr/bin/g++* -l

=== 创建swap分区 ===

dd if=/dev/zero of=/swapfile bs=1G count=8

chmod 600 /swapfile

mkswap /swapfile

swapon /swapfile

gedit /etc/fstab

添加

/swapfile none swap sw 0 0

swapon -s


本文由今晚最快开奖现场直播发布于最快开奖计算机,转载请注明出处:Emacs24在Ubuntu 12.4 LTS 上编译

关键词:

Linux 中head 命令

Linux 中head命令是用来查看具体文件的前头几行的剧情,具体格式如下: head filename: 你能够经过head命令查看具体文件...

详细>>

及衍生版客户安装跨平台游戏

Minecraft是一款跨平台的游戏,可运行在Linux、windows、Mac上,这是一款高度自由的沙盘建造游戏,非官方中文译名为《...

详细>>

Linux下PATH环境变量设置,Linux中添加系统路径

具有顾客起成效的陈设: PATH的值是一雨后冬笋目录,当你运转二个前后相继时,Linux在这么些目录下张开检索。用以...

详细>>

格式化输出日期函数,时间更改静态方法

php格式化输出日期函数 php 时间转换静态方法 public function format ($formatTo='standard',$timestamp = NULL) {   if ($timestamp!==NULL...

详细>>