RK3399配置编译环境

工作中需要再ubuntu14.04上配置环境,用来开发RK3399板子。根据提供的文档,需要安装一些工具,命令是

sudo apt-get install git gnupg flex bison gperf build-essential \

zip tar 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 cmake tofrodos \

python-markdown libxml2-utils xsltproc zlib1g-dev:i386lzop

结果报错,提示有些包没有安装:

The following information may help toresolve the situation:

 

The following packages have unmetdependencies:

 libgl1-mesa-glx:i386 : Depends:libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6)

                        Recommends:libgl1-mesa-dri:i386 (>= 7.2)

 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::Resolvegenerated breaks, this may be caused by held packages.

这是使用apt-get去安装libglapi-mesa:i386是不能成功的,正确步奏是:

sudo apt-get update

sudo apt-get install libgl1-mesa-glxlibcheese*

安装完成后,再执行之前的命令,则能成功;


你可能感兴趣的:(linux日常)