It seems that configuring Eclipse to work with Ubuntu is always a bit painful, mainly tptp and subversion. This post is all about tptp (test and performance tools for Eclipse). I have tested with Ubuntu 32 bit edition. First of all, of course, you’ll need to install tptp from ganymede. When you are going to profile some java app, you’ll get an error code IWAT0435E, saying that the agent could not be started.
First fix:
You’ll need to install libstdc++2.10-glibc2.2_2.95.4-27_i386.deb (no amd64 available) as the ACServer apparently was compiled against that old gcc version. Unfortunately, Ubuntu does not provide this library anymore, so you’ll have to grab it from Debian repos http://ftp.us.debian.org/debian/pool/main/g/gcc-2.95
Just click on it, and Ubuntu will install it. If you like command line (like me) and use 64 bit, then feel free to open a shell and type:
sudo dpkg –force-architecture –install libstdc++2.10-glibc2.2_2.95.4-22_i386.deb
Second fix:
Go to eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin, and edit the files ACStart.sh, ACStop.sh. In first line, when it says #!/bin/sh, it should say #!/bin/bash.
The cool tptp now should work. Have fun, eclipse is an incredible ide
March 25, 2009 at 12:11 pm |
Hi,
Great instructions. I found a lot of complicated procedures on the web. This was by far the simplest
I had one slight additional task to perform. I needed to install libstdc++.so.5. I installed this using the package manager. After this I created a soft link in eclipse/plugins/org.eclipse.tptp.platform.ac.linux_em64t_4.4.100.v200902101418/agent_controller/lib to this library
ln -s /usr/lib/libstdc++.so.5 libstdc++.so.5
Hope this helps someone
March 27, 2009 at 10:57 am |
Thanks Jordi and Donal, using both of your instructions I was able to get TPTP in Eclipse Ganymede working with Intrepid 8.10 on an AMD64 box.
May 13, 2009 at 10:51 am |
Yes, many thanks to both Jordi and Donal. I also needed both your solutions in order to make this work with Ubuntu 9.04 (amd64) and Eclipse Ganymede 3.4.2.
Again, thank you both!
Regards,
Bart.