+ -
当前位置:首页 → 问答吧 → LFS 6.1 -bash: ../binutils-2.15.94.0.2.2/configure: No such file ordirectory

LFS 6.1 -bash: ../binutils-2.15.94.0.2.2/configure: No such file ordirectory

时间:2005-07-19

来源:互联网

Hi folks,

FC3 Host
LFS 6.1

I deleted LFS 6.0 after encountering several problems without solution. Then I started LFS 6.1 and still found captioned problem;

Steps performed as follows (in short)
代码:
[satimis@localhost ~]$ su -
Password:
[root@localhost ~]# export LFS=/mnt/lfs
[root@localhost ~]# mount /dev/hda6 $LFS
[root@localhost ~]# mkdir -p $LFS
[root@localhost ~]# mkdir $LFS/sources
[root@localhost ~]# chmod a+wt $LFS/sources
[root@localhost ~]# chown lfs $LFS/sources
[root@localhost ~]# su - lfs
lfs:~$ cd /mnt/lfs/sources/
lfs:/mnt/lfs/sources$ tar jxvf binutils-2.15.94.0.2.2.tar.bz2 
lfs:/mnt/lfs/sources$ mkdir ../binutils-build
mkdir: cannot create directory `../binutils-build': Permission denied
lfs:/mnt/lfs/sources$ su -
Password:
[root@localhost ~]# cd /mnt/lfs/sources/
[root@localhost sources]# mkdir ../binutils-build
[root@localhost sources]# cd ../binutils-build
[root@localhost binutils-build]# ../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
-bash: ../binutils-2.15.94.0.2.2/configure: No such file ordirectory
Please advise how to fix it.

TIA

B.R.
satimis

作者: satimis   发布时间: 2005-07-19

[root@localhost sources]# mkdir ../binutils-build
[root@localhost sources]# cd ../binutils-build
[root@localhost binutils-build]# ../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
-bash: ../binutils-2.15.94.0.2.2/configure: No such file ordirectory
你是在source目录下命令应该如下:mkdir binutils-build & cd binutils-build && ../binutils-2.15.94.0.2.2/configure

作者: 杨志全   发布时间: 2005-07-19

build目录应该和binutils源码目录平级。

作者: 晨想   发布时间: 2005-07-20

mkdir binutils-build in source
not ../binutils-build

作者: kraft   发布时间: 2005-07-22

Hi kraft,

Tks for your advice.

引用:
mkdir binutils-build in source
not ../binutils-build
Yes. On "lfs:/mnt/lfs/sources$" directory I did that without "../" All others were made in the same way.

B.R.
satimis

作者: satimis   发布时间: 2005-07-26

或者你可以:
lfs:/mnt/lfs/sources$ tar jxvf binutils-2.15.94.0.2.2.tar.bz2
lfs:/mnt/lfs/sources$ cd binutils-2.15.94.0.2.2
即先进入源码目录再运行
mkdir ../binutils-build
cd ../binutils-build
../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls

作者: sinclair   发布时间: 2005-08-02

Hi sinclair,

引用:
或者你可以:
lfs:/mnt/lfs/sources$ tar jxvf binutils-2.15.94.0.2.2.tar.bz2
lfs:/mnt/lfs/sources$ cd binutils-2.15.94.0.2.2
即先进入源码目录再运行
mkdir ../binutils-build
cd ../binutils-build
../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
Problem already solved some time ago. Thanks

Now having another problem, please see thread;
5.12. Binutils-2.15.94.0.2.2 - Pass 2 - error on "make"

B.R.
satimis

作者: satimis   发布时间: 2005-08-02

oh,my god!
so am i!

作者: Hex_water   发布时间: 2008-03-27

兄弟不要挖坟了,往前看,做新版吧!

作者: d00m3d   发布时间: 2008-03-27

引用:
作者: d00m3d
兄弟不要挖坟了,往前看,做新版吧!
我用的是LFS6.3做的,也...

作者: Hex_water   发布时间: 2008-03-27

6.3 怎可能会是老版的 binutils?

作者: d00m3d   发布时间: 2008-03-27

引用:
作者: d00m3d
6.3 怎可能会是老版的 binutils?
6.3的是binutils-2.17
也出这个问题。我是用google搜出这个帖子来的!
可能是我开始有输错的命令.

作者: Hex_water   发布时间: 2008-03-27

明显是解包及当前路径的匹配问题,建议你先详细阅读 LFS 手册後再继续

作者: d00m3d   发布时间: 2008-03-27

引用:
作者: satimis
Hi folks,


Steps performed as follows (in short)
[code][satimis@localhost ~]$ su -
Password:
[root@localhost ~]# export LFS=/mnt/lfs
[root@localhost ~]# mount /dev/hda6 $LFS
[root@localhost ~]# mkdir -p $LFS

。。。。。
问一下,你先mount,后创建这个目录时有出问题吗

作者: 许木木   发布时间: 2008-03-27