Have tried to compile several apps, and while running configure, it 
crashes on Qt.

Fully freshened to latest Cooker, and latest qt libs of course:
libqt2-2.3.1-29mdk.i586.rpm
libqt2-devel-2.3.1-29mdk.i586.rpm

The error it gives is:

...snip...

checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not 
found. Please check your installation!
For more details about this problem, look at the end of config.log.


End of config.log gives:

...snip...

int main() {
jpeg_CreateDecompress(0L, 0, 0);
; return 0; }
configure:5406: checking for libjpeg
configure:5444: gcc -o conftest -O2   -I/usr/X11R6/include   
-D_REENTRANT  conftest.c -L/usr/X11R6/lib  -ljpeg -lm 1>&5
configure: 5484: /usr/include/jpeglib.h
taking that
configure:5618: checking for Qt
configure: 5682: /usr/lib/qt2/include/qstyle.h
taking that
tried NO
configure:5792: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions 
-fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include  
-D_REENTRANT  -L/usr/lib/qt2/lib -L/usr/X11R6/lib   conftest.C  -lqt 
-lpng -lz -lm -ljpeg  -lXext -lX11 -lSM -lICE  -lresolv 1>&5
/tmp/ccLCkcS8.o: In function `main':
/tmp/ccLCkcS8.o(.text+0x41): undefined reference to `QString::shared_null'
/tmp/ccLCkcS8.o(.text+0x74): undefined reference to 
`QIconView::QIconView(QWidget*, char const*, unsigned)'
/tmp/ccLCkcS8.o(.text+0x84): undefined reference to 
`QIconView::setWordWrapIconText(bool)'
/tmp/ccLCkcS8.o(.text+0x89): undefined reference to `QString::shared_null'
/tmp/ccLCkcS8.o(.text+0xa9): undefined reference to 
`QString::setLatin1(char const*, int)'
/tmp/ccLCkcS8.o(.text+0xbe): undefined reference to `QString::shared_null'
/tmp/ccLCkcS8.o(.text+0xc9): undefined reference to 
`QStringData::deleteSelf()'
/tmp/ccLCkcS8.o(.text+0xdb): undefined reference to 
`QIconView::~QIconView()'
/tmp/ccLCkcS8.o(.text+0xf2): undefined reference to `QString::shared_null'
/tmp/ccLCkcS8.o(.text+0x101): undefined reference to 
`QString::makeSharedNull()'
/tmp/ccLCkcS8.o(.text+0x108): undefined reference to 
`QString::makeSharedNull()'
collect2: ld returned 1 exit status
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif

int main() {
    QStringList *t = new QStringList();
    QIconView iv(0);
    iv.setWordWrapIconText(false);
    QString s;
    s.setLatin1("Elvis is alive", 14);
    int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
    return 0;
}








Reply via email to