tags:

views:

2454

answers:

10

Hi,

I installed my Eclipse via the Ubuntu Software Center. Afterwhich, I follow the instruction in this wiki (http://wiki.eclipse.org/PDT/Installation#Eclipse%5F3.5%5F.2F%5FGalileo%5F.2F%5FPDT%5F2.2) and I met with the following errors:

Cannot complete the install because one or more required items could not be found. Software being installed: PHP Development Tools (PDT) Runtime Feature 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc (org.eclipse.php.feature.group 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc) Missing requirement: PHP Development Tools (PDT) Runtime Feature 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc (org.eclipse.php.feature.group 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc) requires 'org.eclipse.wst.xsl.feature.feature.group [1.0.0,2.0.0)' but it could not be found

I tried googling but I can't find any instruction on how to install 'org.eclipse.wst.xsl.feature.feature.group'.

Any help is much appreciated.

Cheers, Mickey

A: 

I'm just guessing here, but I suspect it could be that the PHP infrastructure is missing. Try something like:

apt-get install php

or use the Synaptic package manager to install PHP

and see if that helps!

Carl Smotricz
i tried apt-get install php5 and rerun the installation of pdt according to the wiki, still having the exact same problem.
Mickey Cheong
Then I'm sorry - for the moment I have no better advice! :(
Carl Smotricz
A: 

WST is the web tools stuff. You can get this by installing the JEE version of Eclipse from which you can download from eclipse.org. Alternatively you can add the Galileo update site and install the webtools stuff from there. In fact, after adding that update site and retrying your PDT installation it might (should) just work.

Francis Upton
I thinking of trying out the update site, but I'm getting a "no software site" error. Is the link valid to be added in the "Install New Software" I tried searching for other update sites but i'm not sure where to start and begin. Exact step is very much appreciated.
Mickey Cheong
Yeah, it's sort of misleading, there is nothing for the browser to see there. Do Help -> Install New Software, then click the Add button. Put the link there.
Francis Upton
A: 

I had similar problems using plugins with Ubuntu's stock version of Eclipse in Jaunty. Jaunty's Eclipse was a couple of versions behind. Ended up installing Eclipse directly from eclipse.org.

Robert Wohlfarth
I never get Eclipse from distos they are always old.
Francis Upton
+1  A: 

You need the Webtools (WST) installed. Try installing it from the update site at: http://download.eclipse.org/webtools/updates. Under Web Tools Platform you will find Eclipse XSL Developer Tools which is what you are looking for. Also make sure you install DLTK 2.0 from the update site mentioned on the page (http://download.eclipse.org/technology/dltk/updates-dev/2.0/).

Note that you are attempting to install a development version of PDT (2.2), which may be a bit tricky. For general purpose you should use the release version of PDT (2.1). To install the latest release package, it is based to go to http://download.eclipse.org/technology/epp/packages/galileo and install the EPP PHP Feature (EPP stands for Eclipse Packaging Project). This installs everything you need in one need package.

zvikico
+2  A: 

Thanks for all the responses. However, none really works with the Ubuntu version of Eclipse. What I did in the end is to download the zip from Eclipse and follow the eclipse section of this installation manual.

http://flurdy.com/docs/eclipse/install.html

Thanks again for all the responses :)

Mickey Cheong
+1  A: 

Forget about installing from repository. Install Eclipse PDT all in one package. This is what you need.

Elzo Valugi
A: 

try downloading the eclipse classic (usually around 161 megs) and make sure you've added the dltk update site.

Brendon
A: 

If you have Karmic Koala, open Terminal and:

  • sudo add-apt-repository ppa:yogarine/eclipse/ubuntu
  • sudo apt-get update
  • sudo apt-get install eclipse-pdt

Note: For a long time I have been using standalone Eclipse PDT apart from the repository one. With this wonderful update by yogarine I switched to the repository package at once. It works way faster for me!

yentsun
A: 

I had the same problem, turns out my "Eclipse update site" was not populated as noted here by Francis... however, his link had a capital G where it should have been a lower case "g"

http://download.eclipse.org/releases/galileo

use that in your software sites if having this issue. of course, this presents another issue to me at least, which is:

An error occurred while installing the items session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,org.eclipse.ant.ui,3.4.1.v20090901_r351 was not found.

diZzyCoDeR
A: 

I had exactly the same problem. In order to do a successful install from the Help -> Install New Software menu I had to add two extra sources, above and beyond the DLTK and PDT sources mentioned in the installation instructions (http://wiki.eclipse.org/PDT/Installation).

These were:

download.eclipse.org/releases/galileo (as mentioned above) download.eclipse.org/eclipse/updates/3.5

HTH

Andy