LinuxSir.cn,穿越时空的Linuxsir!

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

lfs 611 binutils error!

[复制链接]
发表于 2007-12-4 05:16:32 | 显示全部楼层 |阅读模式
lfs:/mnt/lfs/sources/binutils-build$ make install
/bin/sh ../binutils-2.15.94.0.2.2/mkinstalldirs /tools /tools
mkdir -p -- /tools /tools
mkdir: cannot create directory `/tools': Permission denied
mkdir: cannot create directory `/tools': Permission denied
make: *** [installdirs] Error 1
lfs:/mnt/lfs/sources/binutils-build$



I have set the ownership of $LFS/tools to the user 'lfs'

MY OS is FC-8 in vm6

what's wrong? Thank you!
发表于 2007-12-4 07:21:09 | 显示全部楼层
FC8 做 LFS-6.1.1 注定有问题的,不要继续了,换 6.3 来做吧
回复 支持 反对

使用道具 举报

发表于 2007-12-4 08:53:36 | 显示全部楼层
把selinux关掉试一下。
回复 支持 反对

使用道具 举报

发表于 2007-12-4 10:24:11 | 显示全部楼层
我用F8来做lfs6.3的时候编译binutils的时候configure就有找不到mpfr.h的报错了!!不知道怎么搞的;

config.log
configure:2187: checking whether compiler driver understands Ada
configure:2219: checking how to compare bootstrapped objects
configure:2317: checking for correct version of gmp.h
configure:2330: gcc -B/usr/bin/ -c -g -O2 conftest.c 1>&5
configure:2343: checking for MPFR
configure:2356: gcc -B/usr/bin/ -o conftest -g -O2 conftest.c -lmpfr -lgmp 1>&5
configure:2350:18: error: mpfr.h: No such file or directory
configure: In function 'main':
configure:2352: error: 'mpfr_t' undeclared (first use in this function)
configure:2352: error: (Each undeclared identifier is reported only once
configure:2352: error: for each function it appears in.)
configure:2352: error: expected ';' before 'n'
configure:2352: error: 'n' undeclared (first use in this function)
configure: failed program was:
#line 2348 "configure"
#include "confdefs.h"
#include <gmp.h>
#include <mpfr.h>
int main() {
mpfr_t n; mpfr_init(n);
回复 支持 反对

使用道具 举报

发表于 2007-12-4 11:00:12 | 显示全部楼层
The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.
-----------------------------------------------------------------------------------------------
在configure里面也说
-------------------------------------------------------------------------------------------------
  --with-mpfr-dir=PATH    this option has been REMOVED
  --with-mpfr=PATH        specify prefix directory for installed MPFR package.
                          Equivalent to --with-mpfr-include=PATH/include
                          plus --with-mpfr-lib=PATH/lib
  --with-mpfr-include=PATH
                          specify directory for installed MPFR include files
  --with-mpfr-lib=PATH    specify directory for the installed MPFR library
  --with-gmp-dir=PATH     this option has been REMOVED
  --with-gmp=PATH         specify prefix directory for the installed GMP package.
                          Equivalent to --with-gmp-include=PATH/include
                          plus --with-gmp-lib=PATH/lib
  --with-gmp-include=PATH specify directory for installed GMP include files
  --with-gmp-lib=PATH     specify directory for the installed GMP library

-----------------------------------------------------------------------------------------------
是不是应该用上--without-mpfr --without-gmp这两个选项了!!
回复 支持 反对

使用道具 举报

发表于 2008-1-1 12:24:26 | 显示全部楼层
你好
解决了吗
我也有同样的问题
回复 支持 反对

使用道具 举报

发表于 2009-1-30 17:55:47 | 显示全部楼层
Fedora 要安装mpfr-devel开发包,这个不在下载下来的光盘里面的
我今天在Fedoar10下面编译ARM-ELFGCC就要这个文件
于是我安装mpfr-devel-2.3.2-1.fc10.i386.rpm就好了!
回复 支持 反对

使用道具 举报

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

本版积分规则

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