蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 http://www.lslnet.com 2006年6月26日 11:18


***tcl的安装问题***

为了安装expect,所以要先装tcl,可以安装过程中出现问题,现描述如下:
------------------------------------------------------------------
[color=blue]tcl安装包:[/color]
  tcl8.4.9-src.tar.gz
[color=blue]操作系统:[/color]
  HP-UX 11.00
[color=blue]编译环境:[/color]
  gcc , make
--------------------------------------------------------------------
[color=blue]操作步骤:[/color]1)gunzip tcl8.4.9-src.tar.gz
2)cd tcl8.4.9-src.tar
   tar -xvf tcl8.4.9-src.tar
3)cd tcl8.4.9
   cd unix
4)./configure
5)make
此步编译到libtcl8.4.sl(gcc -shared -o libtcl8.4.sl  regcomp.o ...)时出现如下错误提示:
/usr/ccs/bin/ld: DP relative code in file /var/tmp/cckmNZBc.o - shared library must be position
    independent.  Use +z or +Z to recompile.
collect2: ld returned 1 exit status
make: *** [libtcl8.4.sl] Error 1
----------------------------------------------------------
[color=red]换其他版本的tcl安装都是此提示?请问各位大侠,是什么原因呢?如何解决该问题,使编译通过呢?[/color]
:em10:



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com