Comment 46 for bug 68053

Revision history for this message
Jan Pfeifer (pfjan) wrote :

I had the same problem, in a amd64 edgy system.

So, for the other illiterate on dpkg-buildpakcage processes like me, I did the following, and it seems to have worked:

1) go to a temporary source directory

# cd ~/src

2) get the source

# apt-get source eclipse

3) apply the patch, see bug #68380, the first thing there is the pointer to this patch (eclipse.debdiff), just download it

# patch -p0 < eclipse.debdiff

4) move into the eclipse directory

# cd eclipse-3.2.1/

5) compile the whole thing, took hours on a dual core 2.167 system, and there was lots of warning/error messages, but it seems to have worked well enough

# dpkg-buildpackage -D -nc -b

6) back to the top directory

# cd ..

7) install the newly generated .deb (all of them had the version "_3.2.1-0ubuntu2_amd64.deb"). I'm not sure if all of them are necessary or not ... but I installed all of them over:

# dpkg --install libswt3.2-*.deb eclipse-*.deb

8) go back to your normal user, and, very important, remove previous configuration/setup -- that's the way I got things working, maybe not all of it is necessary. Actually I had previously moved my projects out of the way first, and the workspace/ was always some default created by eclipse:

$ rm -rf workspace/ .eclipse/

9) run eclipse, I'm using sun's java here:

$ eclipse -vm /usr/lib/jvm/java-1.5.0-sun/bin/java -ws gtk

hope this helps someone else :)