Portál AbcLinuxu, 10. května 2025 16:53
./configuretaky něco dělá, ale zastaví se to na
make. Ten mi vždycky odpoví
make: *** No targets specified and no makefile found. Stop.A nevím, co s tím mám dělat. Například ted mám v konzoli:
[david@localhost qjackctl-0.3.6]$ ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking for Qt library version >= 4.1... no; Qt 4.1 or greater is required [david@localhost qjackctl-0.3.6]$ make make: *** No targets specified and no makefile found. Stop. [david@localhost qjackctl-0.3.6]$
Řešení dotazu:
To proto, že ./configure se nedokončil jak měl. Viz
checking for Qt library version >= 4.1... no; Qt 4.1 or greater is required
jak se to z toho hlášení dá poznat?checking for Qt library version >= 4.1... no; Qt 4.1 or greater is required Preklad: hledam knihovnu Qt je verze 4.1 nebo vyssi ... ne ("nebyla nalezena"); je zapotrebi knihovna 4.1 nebo vyssi
hledam knihovnu Qt je verze 4.1 nebo vyssiLepsi preklad: Kontroluji, jestli knihovna Qt je verze 4.1 nebo vyssi
configure: error: in `/home/david/Download/audacity/audacity-src-1.3.12-beta': configure: error: no acceptable C compiler found in $PATPřitom jsem se díval, kompilátory gcc-cpp a gcc-c++ nainstalované mám. Co tomu chybí?
gcc
a g++
.
config.log
(hledejte chybovou hlášku kterou uvádíte). Je potřeba do toho trošku vidět, ale někdy to pomůže zjistit, o co se configure ve skutečnosti snažilo a proč to nevyšlo.
checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c checking for pkg-config... yes checking for a sed that does not truncate output... /bin/sed checking whether the linker accepts the -rdynamic flag... yes checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking CFLAGS for strict prototypes... -Wstrict-prototypes checking wall_flags for maximum warnings... -Wall checking whether the C++ compiler accepts the -Wall flag... yes checking whether the C++ preprocessor accepts the -Wall flag... yes checking for simple visibility declarations... yes checking for wx-config... no configure: error: "Could not find wx-config: is wxWidgets installed? is wx-config in your path?"
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.