运行qde(eclipse for blackberry developpement)

时间:2014-01-15 23:54:37

标签: eclipse blackberry-10 blackberry-eclipse-plugin momentics

我已经为黑莓安装了Momentics IDE 2.0,但是出了点问题。我正在使用debian x64,当我尝试运行它时,我收到一条错误消息:

MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
     /home/User/bbndk/configuration/org.eclipse.osgi/bundles/361/1/.cp/libswt-pi-gtk-4236.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    no swt-pi-gtk in java.library.path
    /home/User/.swt/lib/linux/x86/libswt-pi-gtk-4236.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Can't load library: /home/User/.swt/lib/linux/x86/libswt-pi-gtk.so

所以在黑莓页面上它说要安装(ia32-libs)类的库。我无法安装它们,因为我收到一条消息说:

some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我不确定你是怎么到那里因为我的情况因为ia32-libs而被阻止运行java。 简而言之,这就是我在ubuntu 13.10 x86_64上安装momentics-2.0的方法。

  1. 将此行添加到/etc/apt/sources.list的底部(不确定是否还需要此内容): deb http://ca.archive.ubuntu.com/ubuntu raring main universe
  2. 安装这些库作为ia32-libs的替代品: ywu @ ywu-HP-8100:/ install $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
  3. 修复丢失的libgtk-x11-2.0.so.0: ywu @ ywu-HP-8100:/ install $ sudo apt-get install libgtk2.0-0:i386
  4. 修复丢失的libXtst.so.6: ywu @ ywu-HP-8100:/ install $ sudo apt-get install libxtst6:i386
  5. 安装momentics-2.0: ywu @ ywu-HP-8100:/ install $ sudo ./momentics-2.0-201310251201-linux.gtk.x86.bin
  6. 祝你好运!