Portál AbcLinuxu, 8. května 2025 06:52

Dotaz: error: configure

18.3.2008 10:06 Jenda
error: configure
Přečteno: 515×
Odpovědět | Admin
Ahoj, mam potiz s instalaci ze zdrojaku...

po ./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
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

18.3.2008 10:13 czfrankie | skóre: 8 | blog: frankie
Rozbalit Rozbalit vše Re: error: configure
Odpovědět | | Sbalit | Link | Blokovat | Admin
zkus se podivat do ./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
Tak zahraj, ať víme jakej seš
18.3.2008 10:43 Jenda
Rozbalit Rozbalit vše Re: error: configure
error radky v 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!
18.3.2008 10:54 czfrankie | skóre: 8 | blog: frankie
Rozbalit Rozbalit vše Re: error: configure
je treba zadat cestu k include souborum qglobal.h, qapplication.h, ...atd. Bud pres configure nebo pres CPPFLAGS
Tak zahraj, ať víme jakej seš
18.3.2008 11:20 1john2 | skóre: 35 | blog: jo12hn | zlín, brno
Rozbalit Rozbalit vše Re: error: configure
mozna bych prvni overil, jestli ty knihovny v systemu jsou....a pro kompilaci vcetne -dev verzi

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.