|
发表于 2012-1-14 18:28:01
|
显示全部楼层
Post by yxg789xg;2158708
一直按照7.0手册做,这步按不上
宿主是ubuntu11.04
=======
lfs@ubuntu:/mnt/lfs/sources$ patch -Np1 -i /media/gcc-4.6.1-cross_compile-1.patch
The program 'patch' is currently not installed. To run 'patch' please ask your administrator to install the package 'patch'
lfs@ubuntu:/mnt/lfs/sources$ cd gcc-4.6.1
lfs@ubuntu:/mnt/lfs/sources/gcc-4.6.1$ patch -Np1 -i /media/gcc-4.6.1-cross_compile-1.patch
The program 'patch' is currently not installed. To run 'patch' please ask your administrator to install the package 'patch'
lfs@ubuntu:/mnt/lfs/sources/gcc-4.6.1$ su
Password:
root@ubuntu:/mnt/lfs/sources/gcc-4.6.1# patch -Np1 -i /media/gcc-4.6.1-cross_compile-1.patch
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:
command-not-found version: 0.2.44
=======
怎么办呢?
看样子是patch没有安装,你先apt-get install patch看看,俺不用ubuntu,不知道上面的命令对不对。 |
|