Fórum Ubuntu CZ/SK

Ostatní => Archiv => Téma založeno: joska 02 Července 2006, 21:03:51

Název: Chyba pri configure
Přispěvatel: joska 02 Července 2006, 21:03:51
Chtel bych si zkompilovat novejsi verzi Gwhere 0.2.1. Gcc a make mam nainstalovane, presto porad neco chybi. Deb balicek nove verze jsem na internetu nenasel. ./configure skonci chybou:

root@ubuntu:~/gwhere-0.2.1# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
root@ubuntu:~/gwhere-0.2.1#

poradi nekdo co jeste doinstalovat?
Název: Chyba pri configure
Přispěvatel: GlidingFLY 03 Července 2006, 11:22:48
Základem je mít nainstalován balíček build-essential:
Kód: [Vybrat]
sudo aptitude install build-essentiala pak ještě můžeš doplnit, časem to určitě použiješ:
Kód: [Vybrat]
sudo aptitude install doc-debian debian-policy debmake devscripts fakeroot apt dpkg make g++ gcc perl autoconf sed libc6-dev
Název: Chyba pri configure
Přispěvatel: joska 03 Července 2006, 15:58:18
to GlidingFLY
moc diky build-essential a dalsi jsem doinstaloval. Po chvili vsak prikaz ./configure skonci
s chybou:

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
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?
root@ubuntu:~/gwhere-0.2.1#

nevis jeste je treba neco doinstalovat ?
Název: Chyba pri configure
Přispěvatel: GlidingFLY 03 Července 2006, 18:21:22
Jasně ti píše co ti chybí viz.:
Kód: [Vybrat]
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?
tzn., že musíš doinstalovat libgtk1.2-dev
Téměř vždy se obyčejně jedná o chybějící developerské knihovny, tedy ty s příponou -dev
Název: Chyba pri configure
Přispěvatel: joska 03 Července 2006, 20:08:34
to GlidingFLY,
Jeste jednou moc dekuji za radu. Vse probehlo ok jenom jsem jeste musel doinstalovat
zliblg-dev. Misto make jsem pouzil checkinstall podle navodu na tomto foru a vytvoril
poprve v zivote balicek :) ktery jde nainstalovat i odinstalovat.