[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    koffice 1.2 ./configure problems
From:       "CiAsA S'Nuey Boark" <ciasaboark () telocity ! com>
Date:       2002-09-20 7:09:26
[Download RAW message or body]

Hi, I'm not on the list, so if you reply, please hit reply all.

Has anyone gotten koffice 1.2 to compile successfully on debian woddy?
My setup is as follows:
        Self compile autoconf 2.53
        Self compiled qt 3.0.4
        Self compile kde 3.1 beta1

The configure script bombs at finding qt (but it actually does find it), the 
relevant parts of config.log are:
-------------------------------
configure:21554: rm -rf SunWS_cache; g++ -o conftest -Wall -pedantic -W 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O3 -march=I686 
-I/opt/qt-x11-free-3.0.4//include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  
-D_REENTRANT  -L/opt/qt-x11-free-3.0.4/lib/ -L/usr/X11R6/lib  
-L/opt/qt-x11-free-3.0.4/lib/  conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  
-lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
cc1plus: bad value (I686) for -march= switch
In file included from 
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h:50,
                 from 
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_tree.h:56,
                 from 
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/map:31,
                 from /opt/qt-x11-free-3.0.4/include/qmap.h:50,
                 from /opt/qt-x11-free-3.0.4/include/qmime.h:43,
                 from /opt/qt-x11-free-3.0.4/include/qevent.h:45,
                 from /opt/qt-x11-free-3.0.4/include/qobject.h:45,
                 from /opt/qt-x11-free-3.0.4/include/qwidget.h:43,
                 from /opt/qt-x11-free-3.0.4/include/qdesktopwidget.h:42,
                 from /opt/qt-x11-free-3.0.4/include/qapplication.h:42,
                 from conftest.cc:3:
confdefs.h:10: previous declaration of `void exit(int)' with C++ linkage
/usr/include/stdlib.h:577: conflicts with new declaration with C linkage
/usr/include/stdlib.h:577: warning: declaration of `exit(int)' throws 
different exceptions
confdefs.h:10: warning: previous declaration here
configure:21557: $? = 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 >= 303)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:21597: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please 
check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
-------------------------------

Qt is compiled and installed fine (ive installed both kde3.0.2 as well as 3.1 
beta1 from it.  It looks like its finding qt just fine but still running into 
errors when it tries to compile that small program.

Does anyone have any hints or tips to get this working correctly?
Thanks in advance,
-- 
You have the body of a 19 year old.  Please return it before it gets wrinkled.

Jonathan Nelson [icq=56665957] [aim=ciasaboark]

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic