Problems compiling latest kdelibs CVS snaps

Massimo Morin mmorin at schedsys.com
Thu Oct 21 14:10:21 BST 1999


Hi,
	sorry for going again on this topic but, do we really need the snapshot
of qt2.1??

I mean, I would like to use the HEAD branch, but isn't the qt snapshot
too new for kdevelop.
Walter provided a kde2 snapshot, but to me it didn't compile either
(corba problem....)

make[4]: Entering directory
`/home/mmorin/kde/kde2/kde2libs-19991001/corba/cuteidl/sti'
/bin/sh ../../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I../../.. -I../../../kdecore -I../../../kdeui
-I/home/mmorin/kde/kde2/qt/include -I/usr/X11R6/include
-I/opt/kde/include  -I/usr/local/include    -O2 -c cutesti.cc
In file included from CUTE.h:271,
                 from cutesti.cc:2:
cutesti.h:8: syntax error before `*'
cutesti.h:9: syntax error before `*'
cutesti.h:10: syntax error before `*'
cutesti.h:11: syntax error before `*'
cutesti.h:12: syntax error before `*'
cutesti.h:13: syntax error before `*'
cutesti.h:15: syntax error before `*'
cutesti.h:16: syntax error before `*'
cutesti.h:18: syntax error before `*'
cutesti.h:19: syntax error before `*'
cutesti.h:20: syntax error before `*'
cutesti.h:21: syntax error before `*'
cutesti.h:22: syntax error before `*'
cutesti.h:23: syntax error before `*'
cutesti.h:24: syntax error before `*'
cutesti.h:25: syntax error before `*'
cutesti.h:26: syntax error before `*'
cutesti.cc:1070: `class CORBA::StaticTypeInfo * CORBA::_stc_QString' is
not a static member of `struct CORBA'
cutesti.cc:1071: `class CORBA::StaticTypeInfo * CORBA::_stc_QCString' is
not a static member of `struct CORBA'
cutesti.cc:1072: `class CORBA::StaticTypeInfo * CORBA::_stc_QChar' is
not a static member of `struct CORBA'
cutesti.cc:1073: `class CORBA::StaticTypeInfo *
CORBA::_stcseq_CUTE_boolean' is not a static member of `struct CORBA'
cutesti.cc:1074: `class CORBA::StaticTypeInfo *
CORBA::_stcseq_CUTE_short' is not a static member of `struct CORBA'
cutesti.cc:1075: `class CORBA::StaticTypeInfo *
CORBA::_stcseq_CUTE_long' is not a static member of `struct CORBA'
cutesti.cc:1077: `class CORBA::StaticTypeInfo *
CORBA::_stcseq_CUTE_ushort' is not a static member of `struct CORBA'
.....[cutted here.....]...........



I tried the 10/15 snapshot and other problems:

make[3]: Entering directory `/home/mmorin/kde/kde2/kdelibs/kio'
/bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I../kfile -I../kdecore -I../kdeui
-I/home/mmorin/kde/kde2/qt/include -I/usr/X11R6/include
-I/opt/kde/include      -O2 -c kuserpaths.cc
In file included from kuserpaths.cc:22:
userpaths.h:6: warning: #warning "You should update your code to include
kuserpaths.h instead of userpaths.h"
/bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I../kfile -I../kdecore -I../kdeui
-I/home/mmorin/kde/kde2/qt/include -I/usr/X11R6/include
-I/opt/kde/include      -O2 -c kio_connection.cc
In file included from kio_connection.cc:24:
kio_connection.h:38: ANSI C++ forbids declaration `Connection' with no
type
make[3]: *** [kio_connection.lo] Error 1
make[3]: Leaving directory `/home/mmorin/kde/kde2/kdelibs/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mmorin/kde/kde2/kdelibs/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mmorin/kde/kde2/kdelibs'
make: *** [all-recursive-am] Error 2


Is this the right path?? Aren't wee too much on the cutting edge????

Any idea/comments???

Cheers
	Max

Dawit Alemayehu wrote:
> 
> On Wed, 20 Oct 1999, you wrote:
> > Hi everybody.
> >
> > This is not really a problem for this list, but as it seems many of you are
> > working with snapshots of KDE2. That is where my problems are: When I try
> > compiling KDE2 I get some problems not finding a file, better said, finding it,
> > but using the wrong arguments:
> >
> > Concret: It happens during the compilation of qaction.cpp in
> > <kdelibs>/kdecore/qk. In file qaction.cpp he complains about using the macro
> > Q_BUILDER with only 2 args. Also he can not find a qiconview.h, but this
> > problem I've solved partly (I knew where the files lives). Sources are from
> > 21st of October midnight middle european time.
> >
> > I am using RH6.1, QT 2.0.2, all compilers and tools came with RH6.1, except
> > graphical libraries (QT (both 1.44 and 2.0.2), Mesa, Glide) were updated
> > manually. QT libs are in different libraries, environment variables for
> > compiling are set correctly. I tried to compile under KDE in konsole (with
> > su-set for root), KDE should get installed to a different directory as KDE1.1.2
> > for parallel use, QTDIR has been set to compiling in the konsole to the correct
> > path /usr/local/lib/qt-2.0.2/lib) I took 'til now, no look at the sourcefiles,
> > 'cause it should work. I just don't know why it is not working on my machine.
> >
> > If someone can help, please feel free to do so.
> 
> You need the Qt-2.1.0 cvs-version to compile KDE 2.  You can get the snapshot
> from ftp://ftp.troll.no.  My suggestion is that you get the snapshot from
> Oct 09, 1999. Some folks have had a problem with the latter versions.  Here is
> the link :
> 
> ftp://ftp.troll.no/qt/snapshots/qt-2.1.0-snapshot-19991009.tar.gz

-- 
                                               _...__..-'
Massimo Morin                                .'
mmorin at schedsys.com                        .'
+1 (617) 484 2999                        .'
                                       .'
            .------._                 ;
      .-"""`-.<')    `-._           .'
     (.--. _   `._       `'---.__.-'
      `   `;'-.-'         '-    ._     Scheduling Systems Inc.
        .--'``  '._      - '   .       Three University Office Park
         `""'-.    `---'    ,          95 Sawyer Road
 ''--..__      `\                      Waltham, 02453 Massachusetts USA
         ``''---'`\      .'            +1 (781) 893-0390 x 126
                   `'. '               http://www.schedsys.com
                     `'.



More information about the KDevelop mailing list