LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Eclipse-Resin installation error on my Centos machine (https://www.linuxquestions.org/questions/linux-software-2/eclipse-resin-installation-error-on-my-centos-machine-888510/)

@nthoon 06-27-2011 12:07 AM

Eclipse-Resin installation error on my Centos machine
 
Hi,

I wanted to use resin in eclipse helios, on my CentOs machine. So i added Resin (Java EE Web Profile) Server 4.0.19 in " Install new Software " in eclipse. It gave the following error.
Code:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Resin (Java EE Web Profile) Server 4.0.19 (com.caucho.resin.eclipse.feature.group 4.0.19)
  Missing requirement: Resin (Java EE Web Profile) Server 4.0.19 (com.caucho.resin.eclipse.feature.group 4.0.19) requires 'org.eclipse.swt 3.6.1' but it could not be found

so i Googled and downloaded "eclipse-swt-3.5.2-3.2.el6.i686.rpm" which gave the following error.

Code:

[root@sanjeev sanjeev]# yum install eclipse-swt-3.5.2-3.2.el6.i686.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centos.aol.in
 * base: centos.aol.in
 * extras: centos.aol.in
 * updates: centos.aol.in
Setting up Install Process
Examining eclipse-swt-3.5.2-3.2.el6.i686.rpm: 1:eclipse-swt-3.5.2-3.2.el6.i686
Marking eclipse-swt-3.5.2-3.2.el6.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package eclipse-swt.i686 1:3.5.2-3.2.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================
 Package                  Arch              Version                      Repository                                    Size
=============================================================================================================================
Installing:
 eclipse-swt              i686              1:3.5.2-3.2.el6              /eclipse-swt-3.5.2-3.2.el6.i686              2.5 M

Transaction Summary
=============================================================================================================================
Install      1 Package(s)
Upgrade      0 Package(s)

Total size: 2.5 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID f21541eb


Public key for eclipse-swt-3.5.2-3.2.el6.i686.rpm is not installed

I am a newbie here. If any information is missing please let me know so that i can post it.

knudfl 06-27-2011 09:35 AM

Installing a downloaded package :

1) yum localinstall --nogpgcheck eclipse-swt-3.5.2-3.2.el6.i686.rpm

Or 2) rpm -Uvh eclipse-swt-3.5.2-3.2.el6.i686.rpm

Be aware, that the package is for SL 6, CentOS 6. May not work in CentOS 5 ?

..

Maxbester 06-28-2011 03:42 AM

Hi!

I have the same problem on Ubuntu 10.10...

What should I do?

I have already downloaded swt-3.7-gtk-linux-x86.zip but I don't know how to install it...

Thanks

knudfl 06-28-2011 05:50 AM

Maxbester post #3 : We do usually not download random files for Linux.

There are 30,000 ubuntu software packages available in your "Menu" :
1) Package Installer 'Synaptic' or 2) Ubuntu software center.

The command line can be used too : sudo apt-get install libswt-***

All the 'swt packages' for Ubuntu Maverick are shown here :
http://packages.ubuntu.com/search?su...eywords=libswt

..

Maxbester 06-28-2011 06:21 AM

Thanks knudfl

I downloaded all libswt but there is still a problem:

Code:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Resin (Java EE Web Profile) Server 4.0.19 (com.caucho.resin.eclipse.feature.group 4.0.19)
  Missing requirement: Caucho Common Library 4.0.19 (com.caucho.common 4.0.19) requires 'bundle org.eclipse.swt 3.6.1' but it could not be found
  Cannot satisfy dependency:
    From: Resin (Java EE Web Profile) Server 4.0.19 (com.caucho.resin.eclipse.feature.group 4.0.19)
    To: com.caucho.common [4.0.19]

It seems Eclipse doesn't find swt...


All times are GMT -5. The time now is 08:33 AM.