LinuxSir.cn,穿越时空的Linuxsir!

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

安装6.1.1,到5.8.1装TCL时configure出错

[复制链接]
发表于 2006-1-9 14:41:38 | 显示全部楼层 |阅读模式
出错信息如下:
checking system version (for dynamic loading)... ./configure: line 7338: syntax error near unexpected token `)'
./configure: line 7338: `       OSF*)'

前面都是严格按照书上说的做的,而且测试都通过的。

这是怎么回事呢?先谢谢了。
发表于 2006-1-9 21:17:17 | 显示全部楼层
我装的LFS6.1 到TCL8.4.9时configure的出错信息完全一样。
查看configure的脚本时在
7325                system=MP-RAS-`awk '{print }' /etc/.relid'`
发现relid后多了一个  '  使后面的 case $system in 无效
但掉去了多余的   '   后又出了新的问题
lfs@EVA:/mnt/lfs/sources/tcl8.4.9/unix$ ./configure --prefix=/tools
creating cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... yes
checking how to run the C preprocessor... gcc -pipe -E
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: line 7563: syntax error near unexpected token `('
./configure: line 7563: `  case `(ac_space=' '; set | grep ac_space) 2>&1` in'
lfs@EVA:/mnt/lfs/sources/tcl8.4.9/unix$     
我用的是Debian 2.6.14-5 gcc3.4.5
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-9 23:03:29 | 显示全部楼层
我用的也是debian,内核是2.6.8,gcc是3.3.6
回复 支持 反对

使用道具 举报

发表于 2006-1-10 22:27:53 | 显示全部楼层
ok 了!
2134                 system=MP-RAS-`awk '{print }' /etc/.relid'`
7325                 system=MP-RAS-`awk '{print }' /etc/.relid'`
把这两行/etc/.relid后多余的  '  去了一个。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-10 23:17:21 | 显示全部楼层
谢谢楼上的高手。
回复 支持 反对

使用道具 举报

发表于 2006-3-20 09:19:22 | 显示全部楼层
奇怪,为啥会产生这个结果呢?。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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