hi, ich hab da ein Problem beim kompilieren von Programmen, z.B. drip und gtoaster. ./configure bricht mit der Fehlermeldung checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no *** Could not run GTK test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK was incorrectly installed *** or that you have moved GTK since it was installed. In the latter case, you *** may want to edit the gtk-config script: /usr/bin/gtk-config ab. gtk-config --version liefert aber 1.2.10, Die Pakete GTK und GTK-Devel sind installiert. hat jemand ne Idee woran das noch liegen könnte?, bei Bedarf kann ich auch mal die config.log mailen - daraus werde ich auch blos nicht schlau tschau fisch
Hallo Andre U wrote:
checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no *** Could not run GTK test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK was incorrectly installed *** or that you have moved GTK since it was installed. In the latter case, you *** may want to edit the gtk-config script: /usr/bin/gtk-config
Wirf doch einfach mal einen Blick ins configure Skript und stell fest, auf welche Art und Weise die Versionsnummer ermittelt wird. Thomas
Am Son, 2001-11-11 um 22.43 schrieb Thomas Heinz:
Hallo Andre
U wrote:
checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no *** Could not run GTK test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK was incorrectly installed *** or that you have moved GTK since it was installed. In the latter case, you *** may want to edit the gtk-config script: /usr/bin/gtk-config
Wirf doch einfach mal einen Blick ins configure Skript und stell fest, auf welche Art und Weise die Versionsnummer ermittelt wird.
scheinbar so: int main() { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } EOF if { (eval echo configure:2112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK or finding the wrong" echo "*** version of GTK. If it is not finding GTK, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" echo "***" echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" echo "*** came with the system with the command" echo "***" echo "*** rpm --erase --nodeps gtk gtk-devel" else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GTK was incorrectly installed" echo "*** or that you have moved GTK since it was installed. In the latter case, you" echo "*** may want to edit the gtk-config script: $GTK_CONFIG" fi rm -f conftest* CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi GTK_CFLAGS="" GTK_LIBS="" { echo "configure: error: Cannot find Gtk+" 1>&2; exit 1; } fi rm -f conf.gtktest daraus kann ich allerdings nicht viel erkennen....
On 11 Nov 2001 22:40:35 +0100
Andre Fischer
hi, ich hab da ein Problem beim kompilieren von Programmen, z.B. drip und gtoaster. ./configure bricht mit der Fehlermeldung
checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no
hat jemand ne Idee woran das noch liegen könnte?, bei Bedarf kann
ich
auch mal die config.log mailen - daraus werde ich auch blos nicht schlau
tschau fisch
Hallo. ich hatte dieselbe Fehlermeldung beim configure con sylpheed. Lösung war so ziemlich alles zu installieren was nach gtk aussah, als da wären : gtk-1.2.8-90 gtk-devel-1.2.8-90 gtk-engines-0.10-5 gtk-themes-20001105-6 gtkdoc-0.4-3 gtkglarea-1.2.2-6 gtkhtml-0.8-3 gtkhtml-devel-0.8-3 gtkref-nover-73 Danach gings. Nicht schön, aber geht. Vielleicht hilfts. Dieter
On 12-Nov-2001 Dieter Riepenhausen wrote:
On 11 Nov 2001 22:40:35 +0100 Andre Fischer
wrote: ./configure bricht mit der Fehlermeldung
checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no
ich hatte dieselbe Fehlermeldung beim configure con sylpheed. Lösung war so ziemlich alles zu installieren was nach gtk aussah, als da wären :
Da /usr/bin/gtk-config ja vorhanden ist, duerfte eine Neuinstallation
wohl wenig bringen.
Bei mir lag das Problem darin, dass in /etc/profile oder
/etc/profile.local eine Pfadangabe zu gtk eingetragen war. Ich habe ihn
einfach geloescht, und seitdem lassen sich gtk erfordernde Programme
wieder kompilieren.
Konkreter kann ich es nicht mehr sagen, weil es doch zu lange her ist,
dass ich dieses Problem geloest habe.
Gruss,
Heinz.
PS: Besser als den Eintrag ggfs. zu loeschen ist, ihn mit einem # zu
kommentieren.
--
E-Mail: Heinz W. Pahlke
On Mon, 12 Nov 2001 09:22:00 +0100 (CET)
"Heinz W. Pahlke"
On 12-Nov-2001 Dieter Riepenhausen wrote:
On 11 Nov 2001 22:40:35 +0100 Andre Fischer
wrote: ./configure bricht mit der Fehlermeldung
checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... no
ich hatte dieselbe Fehlermeldung beim configure con sylpheed. Lösung war so ziemlich alles zu installieren was nach gtk
aussah,
als da wären :
Da /usr/bin/gtk-config ja vorhanden ist, duerfte eine Neuinstallation wohl wenig bringen.
Ich hab nicht von einer Neuinstallation geschrieben, sondern davon, was ich insgesamt an rpm Paketen (gtk-like) installiert hatte.
Bei mir lag das Problem darin, dass in /etc/profile oder /etc/profile.local eine Pfadangabe zu gtk eingetragen war. Ich habe ihn einfach geloescht, und seitdem lassen sich gtk erfordernde Programme wieder kompilieren.
Wage ich zu bezweifeln. Weder vorher noch hinterher irgendein Eintrag.
Gruss,
Heinz.
Gruß Dieter
Am Mon, 2001-11-12 um 09.22 schrieb Heinz W. Pahlke:
Da /usr/bin/gtk-config ja vorhanden ist, duerfte eine Neuinstallation wohl wenig bringen.
Bei mir lag das Problem darin, dass in /etc/profile oder /etc/profile.local eine Pfadangabe zu gtk eingetragen war. Ich habe ihn einfach geloescht, und seitdem lassen sich gtk erfordernde Programme wieder kompilieren.
da sind bei mir keine Pfadangaben zu gtk* drin - trotzdem danke tschau fisch
participants (4)
-
Andre Fischer
-
Dieter Riepenhausen
-
Heinz W. Pahlke
-
Thomas Heinz