|
基本上都是按照手册中说的安装,现在遇到两个问题。
1:root@ubuntu:/opt# ./ubuntu_env_install.sh
安装这个的时候,总是有一大堆错误
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Package 'sun-java6-jdk' has no installation candidate
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package git-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package patch
E: Package 'git-core' has no installation candidate
E: Unable to locate package build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package zlib1g-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libx11-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package curl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package flex is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libxml2-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package bison is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'flex' has no installation candidate
E: Package 'bison' has no installation candidate
E: Unable to locate package gperf
E: Package 'curl' has no installation candidate
E: Package 'zlib1g-dev' has no installation candidate
E: Unable to locate package lib32ncurses5-dev
E: Package 'ia32-libs' has no installation candidate
E: Unable to locate package x11proto-core-dev
E: Package 'libx11-dev' has no installation candidate
E: Unable to locate package lib32readline-gplv2-dev
E: Unable to locate package lib32z1-dev
E: Unable to locate package libgl1-mesa-dev
E: Unable to locate package g++-multilib
E: Couldn't find any package by regex 'g++-multilib'
E: Unable to locate package mingw32
E: Unable to locate package tofrodos
E: Unable to locate package python-markdown
E: Package 'libxml2-utils' has no installation candidate
E: Unable to locate package genext2fs
ln: creating symbolic link `/usr/lib/i386-linux-gnu/libX11.so': File exists
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gcc-4.4' has no installation candidate
E: Unable to locate package g++-4.4
E: Couldn't find any package by regex 'g++-4.4'
E: Unable to locate package g++-4.4-multilib
E: Couldn't find any package by regex 'g++-4.4-multilib'
2: 安装交叉编译器的时候,运行后
root@ubuntu:/opt# arm-linux-gcc -v
bash: /opt/EmbedSky/4.4.6/bin/arm-linux-gcc: No such file or directory
root@ubuntu:/opt#
用绝对路径也不行
root@ubuntu:/opt/EmbedSky/4.4.6/bin# ./arm-linux-gcc -v
bash: ./arm-linux-gcc: No such file or directory
root@ubuntu:/opt/EmbedSky/4.4.6/bin#
但是这个文件是真实存在的,望高人指点。
|
|