[Uml-user] Post-install problems (1.2.1 source)

Lee Hoffner lhoffner at directedmotion.com
Sun May 30 11:24:01 UTC 2004


I did that already. And ./configure fails with:

configure:26808: checking for Qt
configure: 26876: /usr/lib/qt3//include/qstyle.h
taking that
tried NO
tried /usr/lib/qt3//lib
tried /usr/lib/qt3/
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/share/qt3/lib
tried /usr/share/qt3
tried /usr/X11R6/lib
tried /usr/lib
tried /usr/local/qt/lib
tried /usr/X11R6/lib
configure:26991: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
-O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common -I/usr/lib/qt3//include -I/usr/X11R6/include  
-D_REENTRANT  -LNONE -L/usr/X11R6/lib   conftest.cc  -lqt -lpng -lz -lm 
-ljpeg -ldl  -lXext -lX11 -lSM -lICE   1>&5
conftest.cc:8:2: #error 1
configure:26994: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030200)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:27034: error: Qt (>= Qt 3.2) (library qt) not found. Please check 
your installation!
For more details about this problem, look at the end of config.log.
=======================================

On my system, /usr/lib/qt3/lib (which the configure script tried above) 
contains:
libdesigner.a    libqassistantclient.a    libqt-mt.so.3@      libqui.so@
libdesigner.prl  libqassistantclient.prl  libqt-mt.so.3.1@    libqui.so.1@
libeditor.a      libqt-mt.prl             libqt-mt.so.3.1.2*  libqui.so.1.0@
libeditor.prl    libqt-mt.so@             libqui.prl          libqui.so.1.0.0*

So, why does it fail?


On Thursday 27 May 2004 08:35 pm, Jonathan Riddell wrote:
> On Fri, May 14, 2004 at 08:21:06AM -0400, Lee Hoffner wrote:
> > On Thursday 13 May 2004 12:09 pm, you wrote:
> > > Lee Hoffner <lhoffner at directedmotion.com> [040513 18:03]:
> > > > It turns out I was doing the same thing James was: running from the
> > > > source dir. Running ./configure, I get a failure for Qt >= 3.2. I
> > > > thought users of KDE 3.1 were supposed to be able to compile this
> > > > against Qt 3.1, yes?
> > >
> > > Yes, it should work. You have to edit some of the automake stuff. Just
> > > grep your source directory for 3.2 and replace it with 3.1. It must be
> > > in one of those autoconf files in the admin subdirectory.
>
> Following the second question on http://uml.sf.net/faq.php should let
> you compile under KDE/Qt 3.1
>
> Jonathan Riddell





More information about the umbrello mailing list