Portál AbcLinuxu, 8. května 2025 18:42

Dotaz: Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME

svido avatar 30.12.2014 23:52 svido | skóre: 28
Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME
Přečteno: 1216×
Odpovědět | Admin
Zdravim, chci se zeptat jestli jste někdo neřešil problém s xulrunner a Ecipsem. Na PHP používám ZendStudio (ZS je postavene na Eclipse). Momentálně ve verzi 12 po spuštění padne na hubu kvůli SWT knihovne a libxpcom.so coz bz mela byt soucast xulrunner. Ten uz se ale nejaky patek nepouziva.

Vysledek spusteni:
spejbl ZendStudio # ./ZendStudio 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Could not instantiate Browser: No more handles [MOZILLA_FIVE_HOME='/usr/bin/firefox'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        /opt/zend/ZendStudio/configuration/org.eclipse.osgi/366/0/.cp/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
        no swt-mozilla-gtk in java.library.path
        Can't load library: /root/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4430.so
        Can't load library: /root/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
        /root/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
)
Neresil jste to nekdy? Urcite se najde nekdo kdo ma Eclipse a treba i Gentoo. Diky moc
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

31.12.2014 08:32 ZAH | skóre: 43 | blog: ZAH
Rozbalit Rozbalit vše Re: Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME
Odpovědět | | Sbalit | Link | Blokovat | Admin
Jednoznačně marně hledá SWT knihovny. Máte je nainstalovány,
svido avatar 5.1.2015 14:42 svido | skóre: 28
Rozbalit Rozbalit vše Re: Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME
Ahoj, SWT mám, ale bez podpory webkit. Zkoušel jsem ho nainstalovat, ale hlásí mi to špatné závyslosti s ruby. Zatím jsem nepřišel na to jak nastavit USE flagy, aby to šlo nainstalovat.
spejbl apache2 # cave resolve swt
Done: 2517 steps               

These are the actions I will take, in order:

n   sys-apps/paxctl:0::gentoo 0.9 to ::installed
    "Manages various PaX related program header flags for Elf32, Elf64, binaries"
    build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: net-libs/webkit-gtk-2.4.7-r200:2::gentoo
    7.92 kBytes to download

r   media-libs/harfbuzz:0::gentoo 0.9.37 to ::installed replacing 0.9.37
    cairo glib graphite icu* introspection -static-libs truetype (-test) ABI_X86: -32 (64) (-x32) build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: net-libs/webkit-gtk-2.4.7-r200:2::gentoo, x11-libs/pango-1.36.8:0::installed

n   dev-libs/json-glib:0::gentoo 1.0.2-r1 to ::installed [cycle 1]
    "A library providing GLib serialization and deserialization support for the JSON format"
    -debug introspection ABI_X86: -32 (64) (-x32) build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: app-misc/geoclue-2.1.10:2.0::gentoo
    537.44 kBytes to download
    In dependency cycle with existing packages: app-misc/geoclue:2.0, dev-libs/json-glib:0, net-libs/webkit-gtk:2

n   app-misc/geoclue:2.0::gentoo 2.1.10 to ::installed [cycle 1]
    "A geoinformation D-Bus service"
    modemmanager build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: net-libs/webkit-gtk-2.4.7-r200:2::gentoo
    327.07 kBytes to download

n   net-libs/webkit-gtk:2::gentoo 2.4.7-r200 to ::installed [cycle 1]
    "Open source web browser engine"
    X (-aqua) -coverage -debug egl geoloc -gles2 gstreamer introspection jit -libsecret opengl -spell webgl (-test) build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: dev-java/swt-4.2-r2:4.2::gentoo
    9.37 MBytes to download

r   dev-java/swt:4.2::gentoo 4.2-r2 to ::installed replacing 4.2-r2
    -cairo -gnome opengl webkit* build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: target

Total: 2 reinstalls, 4 new installs, 10.22 MBytes to download

Build Options:
    dwarf_compress:                Compress DWARF2+ debug information
    optional_tests:                Run tests considered by the package to be optional
    symbols:                       How to handle debug symbols in installed files
    trace:                         Trace actions executed by the package (very noisy, for debugging broken builds only)
    work:                          Whether to preserve or remove working directories

USE:
    X:                             Add support for X11
    aqua:                          Include support for the Mac OS X Aqua (Carbon/Cocoa) GUI
    coverage:                      Enable code coverage support
    debug:                         Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
    egl:                           Enable EGL support.
    geoloc:                        Enable geolocation support through app-misc/geoclue
    gles2:                         Enable GLESv2 support.
    gstreamer:                     Add support for media-libs/gstreamer (Streaming media)
    icu:                           Enable ICU (Internationalization Components for Unicode) support, using dev-libs/icu
    introspection:                 Add support for GObject based introspection
    jit:                           Enable just-in-time compilation for improved performance. May prevent use of some PaX memory protection features in Gentoo Hardened.
    libsecret:                     Enable libsecret support to store login credentials
    modemmanager:                  Enable geolocation through 3G or GPS enabled hardware through net-misc/modemmanager.
    opengl:                        Add support for OpenGL (3D graphics)
    spell:                         Add dictionary support
    test:                          Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
    webgl:                         Build support for the WebGL HTML API using virtual/opengl
    webkit:                        Embedded browser support via net-libs/webkit-gtk:2, replacing former xulrunner-based browser.

abi_x86:
    32:                            32-bit (x86) libraries
    64:                            64-bit (amd64) libraries
    x32:                           x32 ABI libraries

I encountered the following errors:

!   virtual/rubygems
    Reasons: net-libs/webkit-gtk-2.4.7-r200:2::gentoo
    Unsuitable candidates:
      * virtual/rubygems-8:ruby22::gentoo
        Did not meet virtual/rubygems[ruby_targets_ruby20], use existing if possible, installing to / from net-libs/webkit-gtk-2.4.7-r200:2::gentoo
            Flag 'ruby_targets_ruby20' enabled
5.1.2015 15:48 ZAH | skóre: 43 | blog: ZAH
Rozbalit Rozbalit vše Re: Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME
Mohl by to být problém verzí 32 - 64. zkus tento odkaz http://stackoverflow.com/questions/10165693/eclipse-cannot-load-swt-libraries
svido avatar 5.1.2015 16:13 svido | skóre: 28
Rozbalit Rozbalit vše Re: Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME
přijde mi, že to tím není. Ve svém HOME mám malinkovaný SWT. Podle mne je problém v tom, že Eclipse chce SWT s podporou GTK, což já nemám. Podle mne mu schází libxpcom.so.
Could not instantiate Browser: No more handles [MOZILLA_FIVE_HOME='/usr/bin/firefox'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        /opt/zend/ZendStudio/configuration/org.eclipse.osgi/366/0/.cp/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
        no swt-mozilla-gtk in java.library.path
        /home/hurvajs/.swt/lib/linux/x86_64/libswt-mozilla-gtk-4430.so: libxpcom.so: cannot open shared object file: No such file or directory
        Can't load library: /home/hurvajs/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
5.1.2015 19:52 ZAH | skóre: 43 | blog: ZAH
Rozbalit Rozbalit vše Re: Eclipse + xulrunner + SWT a MOZILLA_FIVE_HOME
Nainstalovat XULRunner pak už nevím.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.