linux - Linux (CentsOS 5) 的 Aptana 安装问题

标签 linux aptana centos5

安装Aptana后(安装目录:/usr/share/aptana)

我不断收到这样的错误:

An SWT Error has occurred, you are recommended to exit the workbench. Subsequent errors may happen and terminate the workbench without warning. See the .log file for more details.

查看日志我看到这个:

!MESSAGE No more handles (java.lang.UnsatisfiedLinkError: /root/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/72/1/.cp/libswt-mozilla-gtk-3236.so: libxpcom.so: cannot open shared object file: No such file or directory)

!STACK 0

org.eclipse.swt.SWTError: No more handles

(java.lang.UnsatisfiedLinkError: /root/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/72/1/.cp/libswt-mozilla-gtk-3236.so: libxpcom.so: cannot open shared object file: No such file or directory)

在论坛和其他网站搜索大约一个小时后,人们建议我安装这些软件包。

* yum install gtk2-devel
* yum install xulrunner
* yum install libstdc*
* yum install gtk2*
* yum install libswt3-gtk2*
* yum install compat-libstdc++-33 

我已经安装了一些,我不知道它们是否真的需要,但它们就在那里。

毕竟还是不行

最佳答案

Ubuntu 12.04 似乎没有开箱即用的 libgtkembedmoz.so 文件。

您可以安装 kompozer 并使用它。

sudo apt-get install kompozer

export MOZILLA_FIVE_HOME=/usr/lib/kompozer

关于linux - Linux (CentsOS 5) 的 Aptana 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/853339/

相关文章:

linux - 如何使用 awk 查找行中的连续模式?

java - 外部存储中的 Android/Java File.mkdirs() 不工作

terminal - 该终端仿真器无法运行,因为找不到 'bash' shell。请更正问题并重新启动 IDE

css - 像 Dreamweaver 一样编辑 CSS

node.js - 我无法在 CENTOS 中安装 NODEJS...为什么?

c - 如何判断线程是否响应唤醒调用?

C++内存分配机制性能对比(tcmalloc vs. jemalloc)

linux - grep 无法找到曾经有效的转义破折号

html - Aptana 不将文件复制到外部服务器

apache - 加载 Apache2 mod_xml2enc 时 undefined symbol