LINUX.ORG.RU

Сообщения clicman

 

не конфигуряется valknut-qt4

Форум — Development

Есть debian etch и собранный из сорсов QT4.
Пробую отконфигурять последний valknut:

~/Desktop/valknut-0.4.7$ ./configure -prefix /opt/Programs/valknut/ QTCORE_LIBS=/opt/Programs/Qt-4.4.3/lib/ QTCORE_CFLAGS=/opt/Programs/Qt-4.4.3/include/QtCore/ QTGUI_LIBS=/opt/Programs/Qt-4.4.3/lib/ QTGUI_CFLAGS=/opt/Programs/Qt-4
.4.3/include/QtGui/ QTNETWORK_LIBS=/opt/Programs/Qt-4.4.3/lib/ QTNETWORK_CFLAGS=/opt/Programs/Qt-4.4.
3/include/QtNetwork/ QT3SUPPORT_CFLAGS=/opt/Programs/Qt-4.4.3/include/Qt3Support/ QT3SUPPORT_LIBS=/op
t/Programs/Qt-4.4.3/lib/


Конфигурация фйелится с:
configure:21041: error: no - the test QtCore program failed to link, check config.log for details

В логе:
configure:20990: checking if the QtCore flags work
configure:21020: g++ -o conftest -g -O2 /opt/Programs/Qt-4.4.3/include/QtCore/ conftest.cpp /opt/Programs/Qt-4.4.3/lib/ >&5
conftest.cpp:22:23: error: QStringList: No such file or directory
conftest.cpp: In function 'int main()':
conftest.cpp:26: error: 'QStringList' was not declared in this scope
conftest.cpp:26: error: 'list' was not declared in this scope
conftest.cpp:26: error: expected type-specifier before 'QStringList'
conftest.cpp:26: error: expected `;' before 'QStringList'
conftest.cpp:27: error: type '<type error>' argument given to 'delete', expected pointer
configure:21027: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "valknut"
| #define PACKAGE_TARNAME "valknut"
| #define PACKAGE_VERSION "0.4.7"
| #define PACKAGE_STRING "valknut 0.4.7"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?group_id=181579&atid=897767"
| #define PACKAGE "valknut"
| #define VERSION "0.4.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
|
| #include <QStringList>
|
| int main()
| {
| QStringList * list = new QStringList();
| delete list;
| return 0;
| }
|
|
configure:21041: error: no - the test QtCore program failed to link, check config.log for details



По пути до QTCore все вроде есть:
Инклуды:
QStringList
qstringlist.h

Либы:
libQtCore.la
libQtCore.prl
libQtCore.so
libQtCore.so.4
libQtCore.so.4.4
libQtCore.so.4.4.3
libQtCore.so.4.4.3.debug



Как забороть?

clicman ()

RSS подписка на новые темы