Re: Post-install problems (1.2.1 source)

Lee Hoffner <[email protected]>
Newsgroups gmane.linux.umbrello.user
Message-ID <[email protected]>
Does anybody have a reply?

I have, since posting this, changed the condition result to
	kde_qt_minversion=">= Qt 3.1 (20021021)"

but still get (log output below):

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 Friday 14 May 2004 08:21 am, Lee Hoffner wrote:
> Hi!
>
> I have looked at your suggestion idea and have questions:
>
> The code as it is in the files revealed by grep seems like it *should* work
> on my system (with Qt 3.1.3) as written. To wit:
> _______________________________________
>   if test "$kde_qtver" = "3"; then
>     if test $kde_qtsubver -gt 0; then
> 	 if test $kde_qtsubver -gt 1; then
> 	    kde_qt_minversion=">= Qt 3.2"
> 	 else
>             kde_qt_minversion=">= Qt 3.1 (20021021)"
>          fi
>     else
>       kde_qt_minversion=">= Qt 3.0"
>     fi
>   fi
> _______________________________________
> Wouldn't the above evaluate to
> 	kde_tq_minversion=">= Qt 3.1 (20021021)"
>
> or does it see the subversion value as 1.3 and therefore evaluates
> $kde_qtsubver -gt 1 as TRUE?
>
> Also, this script is in two places: the file acinclude.m4 in the top level
> directory and in acinclude.m4.in in the admin directory. If I need to edit,
> should I edit both files?
>
> Finally, am I looking at the right section that needs editing?
>
> Thanks!
>
> On Thursday 13 May 2004 12:09 pm, you wrote:
> > Lee Hoffner <[email protected]> [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.
> >
> > Sebastian
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> Uml-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/uml-user



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.