ubuntu 8.10 tptp Agent controller安装

今天在ubuntu 8.10上安装好eclipse tptp agent controller,在启动时产生如下的错误。ACServer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
首先的第一反应就是从ubuntu的软件仓库里去找这个包,但发现这个版本的包已从ubuntu里移除,只包含于ubuntu 7.10及以前的版本中。

 

因此为了得到这个包,我们需要手动去下载安装,下载的地址为:http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb,下载后双击安装即可解决该问题。

 

在启动时还报bin/ACStart.sh: 52: [[: not found这样的错误,这个错误可以通过修改ACStart.sh脚本的第一行,将#!/bin/sh修改成为#!/bin/bash即可。

 

在运行SampleClient里报

Connected to the Agent Controller on "localhost" at port number 10006
ERROR: Unable to get agent org.eclipse.tptp.TimeCollector
Press enter key to exit...
可以采用如下方法解决:

a.在进入<install-dir>/bin目录后运行SampleClient程序,而不是在其他目录运行,AC程序的当前工作上当为<install-dir>/bin目录。

b、修改<install-dir>/agents/org.eclipse.tptp.TimeCollector/agent.xml文件里的

 <LaunchConfiguration>
         <launchInfo><Application executable="./TimeCollector"></Application></launchInfo>
 </LaunchConfiguration>

 <LaunchConfiguration>
         <launchInfo><Application executable="<install-dir>/bin/TimeCollector"></Application></launchInfo>
 </LaunchConfiguration>

也即修改TimeCollector的路径为绝对路径。

在agent.xml文件中,<ConfigFile>元素的配置其实是选的,它用来配置agent需要运行的其他额外配置信息。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值