aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: GtK - Display Probleme  (Read 3602 times)

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
GtK - Display Probleme
« on: March 22, 2004, 10:04:24 PM »

Hi,

ich weiß das Thema kommt wahrscheinlich öfters, allerdings hat mir keiner der Tips zu diesem Thema aus der Forumssuche weitergeholfen. Auf jeden Fall schonmal Danke für jede Hilfe.

Auf meinem System läuft Debian Sarge mit Gnome 2.4 problemlos.
aMule habe ich aus Sid installiert und bekomme jetzt beim Start:
"GtK-Warning:** Cannot find Display:"
Allerdings unabhängig davon ob ich es als User oder Root versuche und auch ohne weitere Fehlermeldungen. Xhost quittiert den Dienst ebenfalls mit der gleichen Fehlermeldung.
Auch die neueste Version aus eurem Repository bringt keine Änderung.
Ich möchte auch nicht meine GtK-Versionen mit Nicht-Debian-Paketen überschreiben, daß würde den Sinn des Paketmanagements irgendwie hinfällig machen.

Gruß
Carter
Logged

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: GtK - Display Probleme
« Reply #1 on: March 23, 2004, 01:30:31 PM »

Ok, ich bin einen Schritt weiter, befürchte aber daß die folgende Meldung bedeutet, daß etwas mit GtK nicht stimmt, bzw. die Debian-Version von aMule Probleme mit der Debian-Version von GtK hat, richtig?

Initialising aMule
Config:
x1: 0 y1: 0 x2: 0 y2: 0
split read, found : 0
srv_split read, found : 0
Server listening on port 4712.
 
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--
 
[0] amule(_ZN9CamuleApp16OnFatalExceptionEv+0x41) [0x81e47c1]
[1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x2d) [0x403ca96d]
[2] /lib/libpthread.so.0 [0x4098a815]
[3] /lib/libc.so.6 [0x409f94a8]
[4] amule(_ZN9CamuleDlg13CreateSystrayERK8wxString+0x78) [0x81e6b38]
[5] amule(_ZN9CamuleApp6OnInitEv+0x8ff) [0x81e109f]
[6] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x228) [0x402401a8]
[7] amule(main+0x1b) [0x81e030b]
[8] /lib/libc.so.6(__libc_start_main+0xc6) [0x409e5dc6]
[9] amule(_ZN18wxBaseArrayPtrVoidD2Ev+0x31) [0x8091d21]
Aborted
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: GtK - Display Probleme
« Reply #2 on: March 23, 2004, 01:32:28 PM »

saug dir get-info.sh und poste mal hier das ergebniss

gruss

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: GtK - Display Probleme
« Reply #3 on: March 23, 2004, 01:40:31 PM »

Das sieht nicht so gut aus:

I.   Development Environment
 
     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease)
 
     B. wxWindows Info
./get-info.sh: line 1: wx-config: command not found
        Version:
./get-info.sh: line 1: wx-config: command not found
         
     C. GTK Info
./get-info.sh: line 1: gtk-config: command not found
        GTK 1:
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
        GTK 2:
 
II.  System Environment
 
     A. CPU Info
        Type:  GenuineIntel
        Model: Celeron (Coppermine)
        Speed: 768.420
        BMips: 1533.54
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
 
     B. Memory Info
        Total:   257240 kB
        Unused:  69492 kB
 
     C. Kernel Info
        Version: 2.4.23.031212.a
 
     D. Library Info
        wxWindows library:
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: GtK - Display Probleme
« Reply #4 on: March 23, 2004, 01:45:02 PM »

hast du es als root ausgeführt ..?

weil es scheint du hast weder gtk1 noch wxgtk ..

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: GtK - Display Probleme
« Reply #5 on: March 23, 2004, 01:50:41 PM »

Klar  8)
dpkg -l | grep gtk:
ii  gdk-imlib1     1.9.14-14      imaging library for use with gtk (using libp
ii  gtk2-engines-c 2.4.1-2        GTK+2.0 Crux theme engine
ii  gtk2-engines-l 2.4.1-2        LighthouseBlue theme for GTK+ 2.0
ii  gtk2-engines-p 2.2.0-2        Pixbuf-based theme for GTK+ 2.x
ii  gtk2-engines-r 2.2.0-2        Windows-like theme for GTK+ 2.x
ii  gtk2-engines-t 2.4.1-2        ThinIce theme for GTK+ 2
ii  gtkhtml3.0     3.0.9-2.1      HTML rendering/editing library - bonobo comp
ii  libgdk-pixbuf2 0.22.0-3       The GdkPixBuf image library, gtk+ 1.2 versio
ii  libgnorbagtk0  1.4.2-17       GNOME CORBA services (Gtk bindings)
ii  libgtk1.2      1.2.10-16      The GIMP Toolkit set of widgets for X
ii  libgtk1.2-comm 1.2.10-16      Common files for the GTK+ library
ii  libgtk2.0-0    2.2.4-3        The GTK+ graphical user interface library
ii  libgtk2.0-comm 2.2.4-3        Common files for the GTK+ graphical user int
ii  libgtkhtml2-0  2.4.1-1        HTML rendering/editing library - runtime fil
ii  libgtkhtml20   1.0.4-5.1      HTML rendering/editing library - runtime fil
ii  libgtkhtml3.0- 3.0.9-2.1      HTML rendering/editing library - runtime fil
ii  libgtksourcevi 0.7.0-2        Common files for the GTK+ syntax highlightin
ii  libgtksourcevi 0.7.0-2        Shared libraries for the GTK+ syntax highlig
ii  libgtkxmhtml1  1.4.2-17       The GNOME gtkxmhtml (HTML) widget
ii  libwxgtk2.4    2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (GT
ii  python-gtk2    2.0.0-3        Python bindings for the GTK+ widget set
ii  python2.3-gtk2 2.0.0-3        Python bindings for the GTK+ widget set

Werde ich wohl nochmal installieren müssen.
Logged

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: GtK - Display Probleme
« Reply #6 on: March 23, 2004, 02:31:33 PM »

Hat auch nichts gebracht, alle laut Debian für aMule erforderlichen Pakete sind installiert. Keine Veränderung.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: GtK - Display Probleme
« Reply #7 on: March 23, 2004, 02:34:04 PM »

ls -l /usr/bin/wx*

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: GtK - Display Probleme
« Reply #8 on: March 23, 2004, 03:21:55 PM »

Ich hab erstmal die Devels nachinstalliert. Neues Ergebnis von get-info:

I.   Development Environment
 
     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease)
 
     B. wxWindows Info
        Version: 2.4.2
        -pthread -lwx_gtk-2.4
 
     C. GTK Info
        GTK 1: 1.2.10
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
        GTK 2:
 
II.  System Environment
 
     A. CPU Info
        Type:  GenuineIntel
        Model: Celeron (Coppermine)
        Speed: 768.435
        BMips: 1533.54
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
 
     B. Memory Info
        Total:   257240 kB
        Unused:  87156 kB
 
     C. Kernel Info
        Version: 2.4.23.031212.a
 
     D. Library Info
        wxWindows library:



Suche wx* in /usr/bin:

lrwxrwxrwx    1 root     root           27 Mar 23 15:16 /usr/bin/wx-config  -> /etc/alternatives/wx-config
-rwxr-xr-x    1 root     root         5142 Oct 25 14:54 /usr/bin/wxgtk-2.4-config
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: GtK - Display Probleme
« Reply #9 on: March 23, 2004, 03:48:47 PM »

du brauchst jetzt noch wxbase

gruss

Carter

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: GtK - Display Probleme
« Reply #10 on: March 23, 2004, 04:28:27 PM »

Ändert leider nichts.

Installiert sind:
ii  libwxbase2.4   2.4.2.4        wxBase library (runtime) - non-GUI support c
ii  libwxbase2.4-d 2.4.2.4        wxBase library (debug) - non-GUI support cla
ii  libwxbase2.4-d 2.4.2.4        wxBase library (development) - non-GUI suppo

Fehlermeldung und get-info.sh bleiben gleich.
Logged