LinuxSir.cn,穿越时空的Linuxsir!

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

更新LINUX编译系统求助

[复制链接]
发表于 2004-7-19 15:13:43 | 显示全部楼层 |阅读模式
我想更新LINUX的编译系统,下载了gcc-3.4.1, 然后执行下面的操作:
1 在/usr 下解压
tar xvfz gcc-3.4.1.tar.gz
2 建立gcc-3.4.1_obj目录
mkdir gcc-3.4.1_obj
3 进行软件安装路径配置
cd gcc-3.4.1_obj
../gcc-3.4.1/configure --prefix /usr
4 编译gcc/g77
make bootstrap
出现错误

[root@localhost usr]# mkdir gcc-3.4.1_obj
[root@localhost usr]# pwd
/usr
[root@localhost usr]# cd gcc-3.4.1_obj
[root@localhost gcc-3.4.1_obj]# pwd
/usr/gcc-3.4.1_obj
[root@localhost gcc-3.4.1_obj]# ../gcc-3.4.1/configure --prefix /usr
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
[root@localhost gcc-3.4.1_obj]# ls -l
总用量 768
-rw-r--r-- 1 root root 2551 7月 19 08:53 config.cache
-rw-r--r-- 1 root root 1779 7月 19 08:53 config.log
-rwxr-xr-x 1 root root 10159 7月 19 08:53 config.status
-rw-r--r-- 1 root root 747887 7月 19 08:53 Makefile
-rw-r--r-- 1 root root 8166 7月 19 08:53 maybedep.tmp
-rw-r--r-- 1 root root 13 7月 19 08:53 serdep.tmp
[root@localhost gcc-3.4.1_obj]# make bootstrap
Configuring in libiberty
configure: error: expected an absolute directory name for --prefix: --with-gcc-v
ersion-trigger=/usr/gcc-3.4.1/gcc/version.c
make: *** [configure-libiberty] Error 1

什么地方出问题了呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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