|
|
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}}} |
|