LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1694|回复: 13

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

[复制链接]
发表于 2005-7-18 23:51:05 | 显示全部楼层 |阅读模式
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)
  1. [satimis@localhost ~]$ su -
  2. Password:
  3. [root@localhost ~]# export LFS=/mnt/lfs
  4. [root@localhost ~]# mount /dev/hda6 $LFS
  5. [root@localhost ~]# mkdir -p $LFS
  6. [root@localhost ~]# mkdir $LFS/sources
  7. [root@localhost ~]# chmod a+wt $LFS/sources
  8. [root@localhost ~]# chown lfs $LFS/sources
  9. [root@localhost ~]# su - lfs
  10. lfs:~$ cd /mnt/lfs/sources/
  11. lfs:/mnt/lfs/sources$ tar jxvf binutils-2.15.94.0.2.2.tar.bz2   
  12. lfs:/mnt/lfs/sources$ mkdir ../binutils-build
  13. mkdir: cannot create directory `../binutils-build': Permission denied
  14. lfs:/mnt/lfs/sources$ su -
  15. Password:
  16. [root@localhost ~]# cd /mnt/lfs/sources/
  17. [root@localhost sources]# mkdir ../binutils-build
  18. [root@localhost sources]# cd ../binutils-build
  19. [root@localhost binutils-build]# ../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls
  20. -bash: ../binutils-2.15.94.0.2.2/configure: No such file ordirectory
复制代码
Please advise how to fix it.

TIA

B.R.
satimis
发表于 2005-7-19 02:24:37 | 显示全部楼层
[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-7-20 15:09:45 | 显示全部楼层
build目录应该和binutils源码目录平级。
回复 支持 反对

使用道具 举报

发表于 2005-7-21 22:24:29 | 显示全部楼层
mkdir binutils-build in source
not ../binutils-build
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-26 17:44:10 | 显示全部楼层
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
回复 支持 反对

使用道具 举报

发表于 2005-8-1 20:11:29 | 显示全部楼层
或者你可以:
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
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-1 20:29:49 | 显示全部楼层
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
回复 支持 反对

使用道具 举报

发表于 2008-3-26 19:32:44 | 显示全部楼层
oh,my god!
so am i!
回复 支持 反对

使用道具 举报

发表于 2008-3-26 21:58:24 | 显示全部楼层
兄弟不要挖坟了,往前看,做新版吧!
回复 支持 反对

使用道具 举报

发表于 2008-3-26 22:29:41 | 显示全部楼层
Post by d00m3d;1831344
兄弟不要挖坟了,往前看,做新版吧!


我用的是LFS6.3做的,也...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表