Please add eclipse-cdt to ubuntu packaging

Bug #446131 reported by Matyáš Křišťan
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
eclipse-cdt (Ubuntu)
Fix Released
High
Unassigned
Nominated for Maverick by Maxim Levitsky

Bug Description

Binary package hint: eclipse

Eclipse starts normally but doesn't open the files in my project (they are *.cpp files).
On the place where should be text of the file(s), it reports a error (with every error, the report seems to be same).

Here it is :
Could not open the editor: No editor descriptor for id org.eclipse.cdt.ui.editor.CEditor

The problem is the CDT is missing from ubuntu packages for long time.
It was possible in 10.04 to add it through eclipse's built-it update facility, and it would work very well.
Now in 10.10 this doesn't work probably due to version mismatch.

Related branches

Revision history for this message
Matyáš Křišťan (matyas-kristan) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

You need to install the CDT plugin! The problem is, that the eclipse-cdt package is totally outdated and does not work with eclipse 3.5.1.

affects: eclipse (Ubuntu) → eclipse-cdt (Ubuntu)
Changed in eclipse-cdt (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Matyáš Křišťan (matyas-kristan) wrote :

Ok, so all I can do now is to wait till they release an update for the CDT plugin?

Revision history for this message
Benjamin Drung (bdrung) wrote :

Yes, or you install the plugin from upstream.

Revision history for this message
desmain (bwulms) wrote :

I am unable to get it working. I added http://download.eclipse.org/tools/cdt/releases/ganymede to the update sites of my eclipse installation, and checked for new updates. It downloaded a bunch related to this update site but after this I still get the error message 'Could not open the editor: No editor descriptor for id org.eclipse.cdt.ui.editor.CEditor'.
After this I tried with the zip of version 5.0.2 that can be downloaded from http://download.eclipse.org/tools/cdt/releases/ganymede/. But when I 'Check for Updates' from the eclipse menu it keeps telling me 'there is nothing to update'.

Does this mean that i need to get the plugin from somewhere else? What does it exactly mean 'install the plugin from upstream'?

Thanks

Revision history for this message
Benjamin Drung (bdrung) wrote :

You should use galileo instead of ganymede. I used this update site: http://download.eclipse.org/tools/cdt/releases/galileo

Revision history for this message
desmain (bwulms) wrote :

I just tried http://download.eclipse.org/tools/cdt/releases/galileo but it also does not solve my problem. I still get 'Could not open the editor: No editor descriptor for id org.eclipse.cdt.ui.editor.CEditor'.

Revision history for this message
worldsayshi (worldsayshi) wrote :

I have the same problem. And it appeared very suddenly. It seems like it happened with the last Ubuntu security update. I haven't made any changes to eclipse since last use (when everything worked fine) and that was about a week ago.

Can it be that I have several C toolchains competing? Unlikely since it worked fine last time with the same toolchains installed.

I'm not very used to reporting bugs. Is there any info I should post?

Revision history for this message
Matyáš Křišťan (matyas-kristan) wrote :

I download just downloaded the latest version from the Eclipse's homepage (http://www.eclipse.org/downloads/). There was also a compiled binary which works which I use now instead of the binary I have installed in the system.

Revision history for this message
N7DR (doc-evans) wrote :

Can someone provide detailed, step-by-step instructions as to how to get CDT installed properly in karmic?

I tried and got this:

----

Cannot complete the install because one or more required items could not be found.
  Software being installed: Mylyn Bridge: C/C++ Development 5.1.0.200909110608 (org.eclipse.cdt.mylyn.feature.group 5.1.0.200909110608)
  Missing requirement: Mylyn Bridge: C/C++ Development 5.1.0.200909110608 (org.eclipse.cdt.mylyn.feature.group 5.1.0.200909110608) requires 'org.eclipse.mylyn.context.core 3.0.0' but it could not be found

----

I have no idea how to fix any of that. (And I'm pretty paranoid about me totally hosing things up without a nice set of instructions for me to follow; I'm also a bit worried about what happens when a real eclipse-cdt package becomes available for karmic if I've already manually installed something, but I don't see that I have any choice since manual installation seems to be the only possibility.)

Revision history for this message
GerryG (kanab2004) wrote :

Well, after several hours I'm giving up for now. I have eclipse 3.5.1 working with the latest CDT in Ubuntu Hardy, so that combination itself does work. That's been working for months with no problems. However, Kamic is another story. I think the CDT has been pulled from the distro at one point. I got eclipse directly and downloaded the CDT archive, but CDT will not install. Trying different things just produces different errors.

Best I can tell, we just have to wait for an update.

Revision history for this message
GerryG (kanab2004) wrote :

Or, maybe not...
My notes indicated past issues, so I removed the gnu java and replaced it with Sun java (which I had been using before, but forgot). Eclipse then worked much faster. I WAS able to install the CDT from an archive and it appears to be working.

However, I'm seeing more (possibly) gtk issues. I am starting eclipse with the
export GDK_NATIVE_WINDOWS=TRUE
which helps some items, but not others, e.g. buttons may need Enter key instead of mouse click.

On @N7DRs comments on hosing things, it's not that bad with eclipse. While the distro installs in a standard location, you can manually download and install multiple versions and options in separate directories under your home. With some previous issues, I once had four different Eclipse's loaded:-)

Just make sure you're using Sun's java.

Ubuntu 9.10 karmic, 2.6.31-14
Eclipse 3.5.1 build M20090917-0800
CDT 6.0.0.200909110608

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote :

It is shame to see eclipse-cdt gone from ubuntu 10.4!
I installed it via eclipse update system, and it works just fine, and actually is much better that version in ubuntu 8.10 I used before.

What is going on?

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote :

Still missing from 10.10....
And downloaded version doesn't work.

summary: - Eclipse doesn't open my C++ files
+ Please add eclipse-cdt to ubuntu packaging
description: updated
Revision history for this message
Vidar Engh Skaugen (vidar-engh-skaugen) wrote :

I had this problem when upgrading from ubuntu 10.04 to 10.10. Deleting the .eclipse folder in my home directory got rid of the version problems. I could then install the proper CDT from inside eclipse using the default source (http://download.eclipse.org/releases/galileo/) and everything worked like normal.

This was on a fresh install of ubuntu 10.10, keeping my old home directory, and using default software sources (installed eclipse with "sudo apt-get install eclipse").

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eclipse-cdt - 6.0.2-1

---------------
eclipse-cdt (6.0.2-1) unstable; urgency=low

  * New upstream release.
    - eclipse-cdt no longer quits when looking up a declaration.
      (Closes: #348393)
    - Works with current eclipse in Debian, provided that you are not
      affected by #587657 (See the bug or the NEWS file in
      eclipse-platform for more information on hold to deal with #597657).
      (Closes: #574611)
    - Upgraded to newest (possible) version with the current eclipse
      in Debian. (Closes: #441313, LP: #163739, #446131)
  * Fixed the build system. (Closes: #542977, #596851)
  * New maintainers (Closes: #555663)
  * Bumped Standards-Version to 3.9.1.
  * Converted to 3.0 (quilt) source format.
 -- Benjamin Drung <email address hidden> Fri, 08 Oct 2010 10:39:04 +0200

Changed in eclipse-cdt (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.