From kde-devel Fri Mar 07 00:17:41 2003 From: ben f Date: Fri, 07 Mar 2003 00:17:41 +0000 To: kde-devel Subject: compile error of kdelibs-3.1 X-MARC-Message: https://marc.info/?l=kde-devel&m=104699798904863 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 <<