Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: tomas777 31 Prosince 2009, 14:52:41
-
Mám rozbalený amrnb-7.0.0.2.tar.bz2,
tomas@tomas:~/Plocha/amrnb-7.0.0.2$
V adresáři jsem zadal
tomas@tomas:~/Plocha/amrnb-7.0.0.2$ ./configure a šel výpis, vše ok.
Vytvořil se soubor libtool a config.log
Pak jsem zadat make a vše bad následuje výpis
tomas@tomas:~/Plocha/amrnb-7.0.0.2$ make zkusil jsem i sudo make
make: *** No targets specified and no makefile found. Stop.
Prosím o radu už ani knížky nezabraly.
-
make: *** No targets specified and no makefile found. Stop.
Nie je vytvorený subor makefile.
Koniec výpisu ./configure by mal vyzerať asi takto configure: creating ./config.status
config.status: creating Makefile
config.status: creating amrnb.spec
config.status: creating prepare_sources.sh
config.status: executing depfiles commands
a subor som ztiahol a odskúšal odtiaľto http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2 (http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2)
-
jo soubor jsem stáhl ze stejného zdroje
ale výpis je ???
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for unzip... /usr/bin/unzip
checking for patch... no
configure: error: You need patch utility to prepare sources.
tomas@tomas:~/Plocha/amrnb-7.0.0.2$
Někde je chyba, ale ???
-
Už víme, kde ta chyba je -- chybí vám patch, takže nekoukat a nainstalovat balíček "patch" a jestli ho nemáte, tak rovnou i "build-essential".
-
Vojto co ty dva balíky obstarávají?
Jinak díky za radu moc. ;)
-
bulid-essential je tzv. metabalík (http://wiki.ubuntu.cz/Metabalík (http://wiki.ubuntu.cz/Metabalík)) -- zajistí instalaci všeho potřebného pro kompilaci
patch je takový šikovný nástroj, který obstarává aplikaci patchů :) (Pro inteligentnější definici doporučuu wikipedii -- http://en.wikipedia.org/wiki/Patch_%28Unix%29)
-
Díky všem už to jede, díky.