Problem mit Kompelierung von einem GTK-Programm [gelöst]

Vom einfachen Programm zum fertigen Debian-Paket, Fragen rund um Programmiersprachen, Scripting und Lizenzierung.
Antworten
Hacky
Beiträge: 123
Registriert: 13.01.2005 16:05:55
Wohnort: München/Berlin
Kontaktdaten:

Problem mit Kompelierung von einem GTK-Programm [gelöst]

Beitrag von Hacky » 15.03.2005 14:35:14

Hallöle!

Ich habe hier ein GTK-Programm, welches ich kompilieren möchte, aber wenn ich

Code: Alles auswählen

./configure
ausführe, bringt er mir folgende Meldungen mit einer abschließenden Fehlermeldung.

Code: Alles auswählen

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.0... 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: Cannot find GTK: Is gtk-config in path?
Kann damit jemand etwas anfangen??? Die GTK Pakete habe ich eigentlich schon installiert. Vielleicht fehlt mir ja noch ein bestimmtes Paket.
Kann mir jemand bitte helfen???

Danke schonmal im Voraus.
Zuletzt geändert von Hacky am 15.03.2005 14:50:04, insgesamt 1-mal geändert.
MfG,
Hacky

Benutzeravatar
chimaera
Beiträge: 3804
Registriert: 01.08.2002 01:31:18
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von chimaera » 15.03.2005 14:42:03

in deinem fall fehlt libgtk1.2-dev. lässt sich herausfinden indem man z.b. über [1] nach dem paket welches gtk-config enthält sucht.

[1] http://packages.debian.org.
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant

Hacky
Beiträge: 123
Registriert: 13.01.2005 16:05:55
Wohnort: München/Berlin
Kontaktdaten:

Beitrag von Hacky » 15.03.2005 14:49:43

Stimmt, danke. Hat jetzt alles wunderbar funktioniert.
MfG,
Hacky

Antworten