aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxGTK lässt sich nicht compilieren  (Read 3582 times)

DBZfan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
wxGTK lässt sich nicht compilieren
« on: May 21, 2005, 05:20:26 PM »

Hallo,
folgende Fehlermeldung kommt mir entgegen, wenn ich wxGTK 2.6 unter Linux Mandrake 10.0 compilieren möchte:
Quote
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent

Ich bin entsprechend der Anleitung im Wiki vorgegangen.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK lässt sich nicht compilieren
« Reply #1 on: May 22, 2005, 08:12:09 AM »

hi

dir fehtl gtk+-devel oder gtk+1.2-devel

is ein devel packet kann auch sein das es unter mdk etwas anders heist, musst mal gucken

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

DBZfan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: wxGTK lässt sich nicht compilieren
« Reply #2 on: May 22, 2005, 02:53:55 PM »

Hallo,
wenn du mir jetzt noch sagst wo ich das Devel Paket herbekomme ?( Bei den zur Verfügung stehenden Paketen ist nichts passendes dabei.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK lässt sich nicht compilieren
« Reply #3 on: May 22, 2005, 03:02:07 PM »

das gibt es hunderprozentig...
da hats doch bei mdk auch so ein rpm installier tool, da musst mal durchschauen, such da drin am besten nach
gtk oder gtk+ und schau was du so für devel packete findest...

libgtk+1.2-devel -- so sollt es heissen :))

http://rpmseek.com/rpm-pl/libgtk%5C1.2-devel.html?hl=com&cs=gtk:PN:0:12:0:120
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

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: wxGTK lässt sich nicht compilieren
« Reply #4 on: May 22, 2005, 06:00:21 PM »

wenn du es gegen gtk2 linken willst, dann brauchst du natürlich gtk2 devel ..

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK lässt sich nicht compilieren
« Reply #5 on: May 22, 2005, 06:34:36 PM »

dat hat er oben aber net gemacht...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

DBZfan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: wxGTK lässt sich nicht compilieren
« Reply #6 on: May 22, 2005, 07:19:06 PM »

Ja, ich hab gegen GTK 1 gelinkt. Das Problem ist auch Gelöst. Ich hatte das Paket irgendwie übersehen. aMule läuft jetzt.

Anderes Problem:
ich würde gerne den Webserver, sprich aMuleWeb, nutzen. Leider funktioniert er nicht (Verbindung zu http://localhost:4711 schlägt fehl).

Folgende Einstellungen habe ich vorgenommen:
Webserver-Parameter
X Starte aMuleWeb automatisch
X Gzip kompression an
[ ] Beschränkter Benutzer ist aktiviert

Kennwort für Vollzugriff ist gesetzt

Externe Verbindungen Parameter
X Externe Verbindungen annehmen
X TCP-Ports anstelle von localen Unix-Sockets verwenden
Passwort ist gesetzt

Und dann natürlich Neustart von aMule.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxGTK lässt sich nicht compilieren
« Reply #7 on: May 22, 2005, 07:22:06 PM »

läuft amuleweb? check mal mit

ps ax....

zum andern, sollte man die sache erstemal von "hand" zum laufen bekommen, sprich amuleweb aus der console seperat starten, und schauen ob es tut, wenn es dann funktioniert, kann man in amule-prefs die autostart option immernoch setzen

stefanero

PS. das das mit der autostart net geht, kann daran liegen, das amuleweb nicht im pfad ist...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

DBZfan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: wxGTK lässt sich nicht compilieren
« Reply #8 on: May 22, 2005, 08:46:53 PM »

amuleweb per Console Starten ging auch nicht, da amuleweb gar nicht installiert war, wie mir aufgefallen war. Das erneute Compilieren mit --enable-amuleweb hat das Problem dann gelöst.
Logged