| No functionality available from user-specific plugin location [message #894227] |
Sat, 07 July 2012 17:49  |
Ben Fritz Messages: 2 Registered: July 2012 |
Junior Member |
|
|
I seem to be encountering behavior documented in https://bugs.eclipse.org/bugs/show_bug.cgi?id=322158, even though that bug was supposedly fixed in Helios, and I'm using Indigo.
Specifically, I started with a fresh installation of Eclipse from the Ubuntu 12.04 Software Center, which is:
Version: 3.7.2
Build id: I20110613-1736
Next, to install some system-wide plugins, I launched Eclipse with "sudo /usr/lib/eclipse/eclipse" and installed from the Indigo update site:
* "C/C++ Development Tools" under "Programming Languages"
* "C/C++ Callgraph Visualization" under "Programming Languages"
* "Local Terminal" under "General Purpose Tools"
After this, I needed to do this to make the global plugins visible to non-root users:
sudo chmod -R a+r /usr/lib/eclipse
Now I launch Eclipse again as a normal user. All the above plugins show as installed and I can use them without difficulty. I now install these plugins from the Indigo discovery site:
* "Memory Analyzer" under "General Purpose Tools"
* "Memory Analyzer (Charts)" under "General Purpose Tools"
* "Valgrind Tools Integration" under "Linux Tools"
These three plugins all show as installed in Help->About Eclipse Platform->Installation Details, but none of their functionality is made available to me.
They appear to have been installed to ~/.eclipse/org.eclipse.platform_3.7.0_155965261, which I understand from a good deal of searching on the web, is the location created automatically by Eclipse for users who do not have write access to the install directory, allowing them to install their own user-specific plugins.
http://wiki.eclipse.org/Linux_Tools_Project/Valgrind/User_Guide indicates there should be a "Profile with Valgrind" option when I right-click the executable in my project and select "Profile As". This option is missing. I am fairly confident at least one of the 3 plugins I installed as a normal user ought to have a view available, but filtering on the available views under Window->show view->other shows no results for "valgrind" and only the default CDT "memory" tool when filtering on "memory".
Exiting Eclipse, I can build eclim from source (see eclim.org) and install into the same ~/.eclipse directory. I confirm that several files are placed in the ~/.eclipse/org.eclipse.platform_3.7.0_155965261/plugins directory as expected, and I KNOW from past use of eclim that a new "eclimd" view should be available, but it is likewise not available in the Eclipse GUI when I run it again. I do not know enough about Eclipse's inner workings to know whether it installed properly or not; it does not show in the installed software list like the other 3 plugins I installed as normal user do.
The bug marked as a duplicate of 322158 (i.e. https://bugs.eclipse.org/bugs/show_bug.cgi?id=322929 ) indicates that there was a problem in some config files. How would I determine if the same thing is happening in my case? Is it something I could correct by hand? Have I encountered a bug or did I do something unsupported?
I DID just see the post in the Newcomers forum about how using Ubuntu's package manager to install Eclipse is NOT recommended, but I'd to resolve this anyway if possible. It seems like this sort of thing *should* work, and I like installing most of my software from the package manager if it's available, even if it's not the latest and greatest version.
|
|
|