Portál AbcLinuxu, 8. května 2025 06:52
./configure
se mi to zastavi na radku:
configure: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
:(
zaboha nemuzu prijit jaka to knihovna mi vlastne a dumam i nad tim, jak se vlastne knihovny pridavaji, ale to se pripadne naleznu na internetu...
dik za pomoc...
ahoj
./configure --help|less
, jestli tam nejak nemuzes pridat qt adresar. Pokud ne, zkus to pridat pres LDFLAGS="-L/cesta ke knihovnam" CPPFLAGS="-I/cesta k include"
. Vyplati se podivat se do souboru config.log - tam by melo byt proc se to nenaslo, pripadne radka v configure, na ktere to ztroskotalo
config.log
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory conftest.c:10:28: error: ac_nonexistent.h: No such file or directory conftest.cpp:10:28: error: ac_nonexistent.h: No such file or directory conftest.cpp:10:28: error: ac_nonexistent.h: No such file or directory conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory | /* Override any GCC internal prototype to avoid an error. | /* Override any GCC internal prototype to avoid an error. | /* Override any GCC internal prototype to avoid an error. configure:22726: g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -pedantic-errors conftest.cpp >&5 conftest.cpp:34: error: 'strlcat' was not declared in this scope configure:22937: g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -pedantic-errors conftest.cpp >&5 conftest.cpp:33: error: 'strlcpy' was not declared in this scope | /* Override any GCC internal prototype to avoid an error. | /* Override any GCC internal prototype to avoid an error. | /* Override any GCC internal prototype to avoid an error. conftest.c:62:27: error: Carbon/Carbon.h: No such file or directory conftest.c:29:27: error: Carbon/Carbon.h: No such file or directory conftest.c:62:33: error: CoreAudio/CoreAudio.h: No such file or directory conftest.c:29:33: error: CoreAudio/CoreAudio.h: No such file or directory configure:25016: g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -pedantic-errors conftest.cpp >&5 | /* Override any GCC internal prototype to avoid an error. | /* Override any GCC internal prototype to avoid an error. conftest.c:71:25: error: crt_externs.h: No such file or directory conftest.c:38:25: error: crt_externs.h: No such file or directory | /* Override any GCC internal prototype to avoid an error. conftest.cpp:2:21: error: qglobal.h: No such file or directory conftest.cpp:3:26: error: qapplication.h: No such file or directory conftest.cpp:4:21: error: qcursor.h: No such file or directory conftest.cpp:5:27: error: qstylefactory.h: No such file or directory conftest.cpp:6:34: error: private/qucomextra_p.h: No such file or directory conftest.cpp:8:2: error: #error 1 conftest.cpp:12: error: 'QStyleFactory' was not declared in this scope conftest.cpp:12: error: expected `;' before '::' token conftest.cpp:13: error: 'QCursor' was not declared in this scope conftest.cpp:13: error: expected `;' before 'c' #error 1 configure:30264: error: Qt (>= Qt 3.2 and < 4.0) (headers and libraries) not found. Please check your installation!
configure
nebo pres CPPFLAGS
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.