2013-08-06 6 views
7

Я пытаюсь установить PDT плагин в Eclipse, и я получаю сообщение об ошибке:Eclipse PDT установка плагина

Cannot complete the install because one or more required items could not be found. 
    Software being installed: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235) 
    Missing requirement: PDT Debug UI Plug-in 3.1.2.201212211235 (org.eclipse.php.debug.ui 3.1.2.201212211235) requires 'bundle org.eclipse.dltk.debug.ui [4.0.0,5.0.0)' but it could not be found 
    Cannot satisfy dependency: 
    From: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235) 
    To: org.eclipse.php.debug.ui [3.1.2.201212211235] 

ответ

3

Это сообщение ужасно, и означает, что org.eclipse.dltk.debug.ui с 4.0.0 < = версия < 5.0.0 не доступна в вашей установке eclipse или в форме доступных сайтов обновления eclipse в диалоговом окне «Установка».

Добавить Eclipse Dynamic Language Toolkit update site в eclipse Установить диалоговое окно, а затем снова попытаться установить PDT.

14

dgolovins ответ работал для меня.

Сначала установите Dynamic Language Toolkit: Help -> Install New Software -> Добавить -> Расположение: http://download.eclipse.org/technology/dltk/updates-dev/4.0-stable/

Затем установите PDT: Справка -> Установить новое программное обеспечение -> Добавить - > Местоположение: http://download.eclipse.org/tools/pdt/updates/latest

+0

работ для меня (Ubuntu 12) –

+0

Отлично. Спасибо. – Sam

0

В Ubuntu 14.04 решение от @Manfred не решило мою проблему установки.

Затем я последовал за решение, представленное в PHPeclipse

Enabling PHP Support

As-standard, Eclipse does not come with support for PHP. This must be added, and added as root.

Launch Eclipse as root from the command line: 

    $ sudo eclipse (gksudo causes an unusual warning). 

When the "Welcome to Eclipse" screen is displayed, select Help->Install New Software... 

The "Galileo" site must be added, click "Add..." and input: 

    Name: Galileo Location: http://download.eclipse.org/releases/galileo/ 

Once this is available, select "Galileo" in the Work with: drop-down list. 

Enter "php" into the filter text, two entries should be displayed for "PHP Developer Tools (PDT)"; one under Programming Languages, 

another under Web, XML, and Java EE Development. Select both and click "Next >".

Verify that the items you wish to install are displayed on the "Install Details" screen and click "Finish". 
Eclipse will need restarted for the update to complete. 

With this complete, you should be able to launch Eclipse under a normal user account and select New->Project...->PHP->PHP Project.