LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2007, 04:30 PM   #1
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Compiling Eclipse on Slackware 11


I'm trying to build Eclipse 3.2.2 but receive numerous errors:
Code:
1. ERROR in
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac]  (at line 13)
[javac]     import org.eclipse.core.runtime.IPluginDescriptor; 
[javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
[javac] The import org.eclipse.core.runtime.IPluginDescriptor cannot be resolved 
[javac] ----------

2. ERROR in 
/usr/pkgsrc/devel/eclipse/work/plugins/org.eclipse.core.runtime.compatibility.registry/src/org/eclipse/core/internal/registry/ExtensionHandle.java
[javac]  (at line 30)
[javac]     public IPluginDescriptor getDeclaringPluginDescriptor() throws InvalidRegistryObjectException { 
[javac]            ^^^^^^^^^^^^^^^^^
[javac] IPluginDescriptor cannot be resolved to a type
[javac] ----------

[...]
Anyone knows what is the problem here?
 
Old 02-28-2007, 12:22 PM   #2
jxi
Member
 
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
I have eclipse on slackware 11 working ok. And I didn't need to do any compiling. SOrry if I don't grasp what your're doing. After unpacking /untarring there is a .jar file that gets started by the script `eclipse'

what is the target of your javac command?
 
Old 02-28-2007, 04:42 PM   #3
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Original Poster
Rep: Reputation: 31
You can download a binary version or the source version from the Eclipse website. I like to compile from source because it lets you learn things. Like in this case .

As for the target of javac, I just execute the bash build script that comes with Eclipse . Ant is called from that script using a build.xml file.
 
Old 02-28-2007, 06:56 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Have you tried compiling the IPluginInDescriptor first? Providing it even exists, it looks as if it can't be found, possibly because it hasn't been compiled yet. So maybe compile that first, than the rest.
 
Old 03-01-2007, 08:38 AM   #5
jxi
Member
 
Registered: Feb 2003
Location: Richmond VA
Distribution: Slackware 11 -- CentOS 4.4
Posts: 115

Rep: Reputation: 15
merchtemeagle: again sorry for my lapse, certainly you can download source.

Now to add to jay73's advice:
how about downloading eclipse (compiled version), then using That to import the cvs / dir structure / whatever of the eclipse source your're working on here. Implement ant also from that build.xml in the working eclipse. And compile there (of course your workspace for your output .class files would be different from the downloaded-already-compiled one). That way IPluginDescriptor and all other such classes needed are compiled in the right order. You'll also have something of a benchmark to compare the performance of your built eclipse vs. the downloaded-compiled one.

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Slackware 11.0 roachmmflhyr Slackware 9 11-16-2006 07:11 AM
slackware 10.2 compiling kernel sharathg786 Slackware 3 07-31-2006 04:08 PM
slackware 10.2: compiling the kernel? sharathg786 Slackware 2 07-31-2006 08:14 AM
LXer: Netbeans attempts to eclipse Eclipse LXer Syndicated Linux News 0 04-17-2006 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration