LinuxSir.cn,穿越时空的Linuxsir!

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

LFS 安转tcl 时 configure 报错

[复制链接]
发表于 2006-3-19 18:36:42 | 显示全部楼层 |阅读模式
follow 6.1中文版 5.8.1 安装tcl-8.4.9时 configure 报错
checking system version (for dynamic loading)... ./configure: line 7338: syntax error near unexpected token `)'
./configure: line 7338: `       OSF*)'
看信息好像是动态链接器check失败,我不熟悉shell,看了下configure,没明白:confused:
偶是新手,刚摸linux不久,各位兄弟帮忙看下:) 谢啦


尝试以下:
下载新的tcl软件包[我用lfs自己打好的整个source package],也包括tcl-8.4.10,错误一样
configure其他的包[如5.10节 dejagnu]没有问题
5.7节 调整工具链的测试例子通过

host linux:
debian3.1 sid&testing 2.6.15 kernal, gcc 4.*


configure output:

lfs@hellsmile:/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 7338: syntax error near unexpected token `)'
./configure: line 7338: `       OSF*)'
lfs@hellsmile:/mnt/lfs/sources/tcl8.4.9/unix$


lfs@hellsmile:/mnt/lfs/sources/tcl8.4.9/unix$ export
declare -x COLOROPT="--color=auto"
declare -x HOME="/home/lfs"
declare -x LC_ALL="OSIX"
declare -x LFS="/mnt/lfs"
declare -x OLDPWD="/mnt/lfs/sources"
declare -x PATH="/tools/bin:/bin:/usr/bin"
declare -x PS1="\${debian_chroot:+(\$debian_chroot)}\\u@\\h:\\w\\\$ "
declare -x PWD="/mnt/lfs/sources/glibc-build"
declare -x SHLVL="1"
declare -x TERM="ansi"

specs link flagment:

*link:                                                                           
%{!static:--eh-frame-hdr} -m elf_i386 %{shared:-shared}   %{!shared:     %{!ibcs:       %{!static:  
%{rdynamic:-export-dynamic}     %{!dynamic-linker:-dynamic-linker /tools/lib/ld-linux.so.2}}    %{st
atic:-static}}}
发表于 2006-3-19 23:07:19 | 显示全部楼层
不知道你的主系统是?

7338 附近的20行都贴出来,或者把 configure 打包上来也可以哦:)。
回复 支持 反对

使用道具 举报

发表于 2006-3-20 09:16:15 | 显示全部楼层
这个问题以前就有人说过了,好像只有 Debian 才会这样
http://www.linuxsir.cn/bbs/showthread.php?t=238849
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-20 14:20:03 | 显示全部楼层
多谢老大们

看来得先搜索下

还是不知道为啥这个configure在debian下有这样的问题?
我不熟悉shell, 我用bash
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-20 14:20:27 | 显示全部楼层
多谢老大们

看来得先搜索下

还是不知道为啥这个configure在debian下有这样的问题?
我不熟悉shell, 当前的shell是bash
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-20 14:27:33 | 显示全部楼层
多谢老大们

看来得先搜索下

还是不知道为啥这个configure在debian下有这样的问题?
PS:当前的shell是bash
回复 支持 反对

使用道具 举报

发表于 2006-3-20 19:24:49 | 显示全部楼层
zlbruce兄 不是已经贴出解决方案了么?
回复 支持 反对

使用道具 举报

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

本版积分规则

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