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

List:       kde-devel
Subject:    compile error of kdelibs-3.1
From:       ben f <blargg () budget ! net>
Date:       2003-03-07 0:17:41
[Download RAW message or body]

Hi,

OK, so i have qt-3.1.1 installed.
I'm using gcc 2.95.3  wich came with the slackware 8.0 distribution.
(although my computer is so manually upgraded it's not slackware 8.0
anymore.)

kdelibs-3.1 fails with the following error:

bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../kioslave -I../kioslave/bzip2 -I../dcop -I../libltdl
-I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I..
-I/opt/kde3.1/qt/include -I/usr/X11R6/include -I/opt/kde3.1/include
-I/opt/gnome2/include/libxml2 -I/usr/local/include
-DSRCDIR="\"/home/blargg/download/kdelibs-3.1/kdoctools\""  -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
-c -o kio_help.lo `test -f 'kio_help.cpp' || echo './'`kio_help.cpp
In file included from /opt/kde3.1/qt/include/qtextstream.h:43,
                 from /opt/kde3.1/qt/include/qtl.h:43,
                 from /opt/kde3.1/qt/include/qvaluelist.h:42,
                 from kio_help.cpp:24:
/opt/kde3.1/qt/include/qstring.h:46: directory `/usr/local/include/string'
specified in #include
make[2]: *** [kio_help.lo] Error 1
make[2]: Leaving directory `/home/blargg/download/kdelibs-3.1/kdoctools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blargg/download/kdelibs-3.1'
make: *** [all] Error 2

From my limited c++ knowledge I know you can declare includes without the
 ".h" on the end...which is what line 46 has!!!   why is this causing an
 error. Is this my compiler messing up, or the way my configure script
 ran...??

Poking around my qt compile optinos, I just found a "-no-stl" flag i can set 
in configure.  As a stab in the dark, I'm going to try that next.....

I really have no clue as to why this is happening.

Thanks,

ben
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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