Kdevelop 2.0 cant compile

Willy Gardiol gardiol at libero.it
Mon Sep 10 20:08:00 BST 2001


Ok,
how can i install TWO compilers? i want to have a second copy of gcc, 2.95.3 
for example (i have it already downloaded) but i want just to use it when i 
need (kdevelop for example).


On Sunday 09 September 2001 11:31, you wrote:
> On Samstag, 8. September 2001 22:53, you wrote:
>
> It seems you're using Gcc 3.0. But recommended for KDE is gcc 2.95.2 or gcc
> 2.96 (RH default). Sorry that you struggle with this but gcc 3.0 isn't
> officially supported as a compiler for KDE compilation. In this special
> case you're really having trouble on the compilation system, not with
> kdevelop...
>
> > /usr/include/g++-v3/backward/iostream.h:36: using directive `istream'
>
>                      ^^^^
>
> Ralf
>
> > I have downloaded and compiled and installe flex (2.54a) but no luck,
> > still:
> >
> > make[2]: Entering directory `/sources/nuovi/kdevelop-2.0/kdevelop'
> > Making all in classparser
> > make[3]: Entering directory
> > `/sources/nuovi/kdevelop-2.0/kdevelop/classparser' c++ -DHAVE_CONFIG_H
> > -I. -I. -I../.. -I/usr/local/kde/include
> > -I/usr/local/qt/inc
> > lude -I/usr/X11R6/include     -O2 -fno-exceptions -fno-check-new  -c
> > tokenizer.c
> > c
> > In file included from /usr/local/include/FlexLexer.h:47,
> >                  from tokenizer.cc:238:
> > /usr/include/g++-v3/backward/iostream.h:36: using directive `istream'
> >    introduced ambiguous type `istream'
> > tokenizer.cc: In member function `virtual int yyFlexLexer::yylex()':
> > tokenizer.cc:1318: cannot convert `std::istream*' to `istream*' in
> > assignment tokenizer.cc: In member function `void
> > yyFlexLexer::yy_load_buffer_state()': tokenizer.cc:1849: cannot convert
> > `istream*' to `std::istream*' in assignment tokenizer.cc: In member
> > function `void
> >    yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
> > tokenizer.cc:1900: cannot convert `std::istream*' to `istream*' in
> > assignment make[3]: *** [tokenizer.o] Error 1
> > make[3]: Leaving directory
> > `/sources/nuovi/kdevelop-2.0/kdevelop/classparser' make[2]: ***
> > [all-recursive] Error 1
> > make[2]: Leaving directory `/sources/nuovi/kdevelop-2.0/kdevelop'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/sources/nuovi/kdevelop-2.0'
> > make: *** [all-recursive-am] Error 2
> >
> > On Saturday 08 September 2001 01:20, Ralf Nolden wrote:
> > > On Freitag, 7. September 2001 21:11, you wrote:
> > >
> > > Hi,
> > >
> > > you need to install flex.
> > >
> > > Ralf
> > >
> > > > Hi!
> > > > i am building my own linux box and i am quite finished.
> > > > Still i cannot have kdevelop running!
> > > > I have:
> > > > kernel 2.4.7
> > > > xfree 4.1.0
> > > > kdelibs 2.2
> > > > .. other kde parts 2.2 ...  (kdegames kdenetwork... and other pieces)
> > > > gcc 3.0.1 (i have compiled about 1.5gb programs without problems,
> > > > should it be unstable? i dont think so)
> > > > and more junk.
> > > >
> > > > When i try to compile kdevelop 2.0 (the sources given with kde 2.2
> > > > sources) i get:
> > > >
> > > > <SNIP>
> > > > make[4]: Leaving directory
> > > > `/sources/nuovi/kde2.2/kdevelop-2.0/doc/en' make[3]: Leaving
> > > > directory `/sources/nuovi/kde2.2/kdevelop-2.0/doc/en' make[3]:
> > > > Entering directory `/sources/nuovi/kde2.2/kdevelop-2.0/doc' make[3]:
> > > > Nothing to be done for `all-am'.
> > > > make[3]: Leaving directory `/sources/nuovi/kde2.2/kdevelop-2.0/doc'
> > > > make[2]: Leaving directory `/sources/nuovi/kde2.2/kdevelop-2.0/doc'
> > > > Making all in kdevelop
> > > > make[2]: Entering directory
> > > > `/sources/nuovi/kde2.2/kdevelop-2.0/kdevelop' Making all in
> > > > classparser make[3]: Entering directory
> > > > `/sources/nuovi/kde2.2/kdevelop-2.0/kdevelop/classparser'
> > > > c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde/include
> > > > -I/usr/local/qt/include -I/usr/X11R6/include     -O2 -fno-exceptions
> > > > -fno-check-new  -c tokenizer.cc
> > > > In file included from /usr/include/FlexLexer.h:47,
> > > >                  from tokenizer.cc:238:
> > > > /usr/include/g++-v3/backward/iostream.h:36: using directive `istream'
> > > >    introduced ambiguous type `istream'
> > > > tokenizer.cc: In member function `virtual int yyFlexLexer::yylex()':
> > > > tokenizer.cc:1318: cannot convert `std::istream*' to `istream*' in
> > > > assignment tokenizer.cc: In member function `void
> > > > yyFlexLexer::yy_load_buffer_state()': tokenizer.cc:1849: cannot
> > > > convert `istream*' to `std::istream*' in assignment tokenizer.cc: In
> > > > member function `void
> > > >    yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
> > > > tokenizer.cc:1900: cannot convert `std::istream*' to `istream*' in
> > > > assignment make[3]: *** [tokenizer.o] Error 1
> > > > make[3]: Leaving directory
> > > > `/sources/nuovi/kde2.2/kdevelop-2.0/kdevelop/classparser'
> > > > make[2]: *** [all-recursive] Error 1
> > > > make[2]: Leaving directory
> > > > `/sources/nuovi/kde2.2/kdevelop-2.0/kdevelop' make[1]: ***
> > > > [all-recursive] Error 1
> > > > make[1]: Leaving directory `/sources/nuovi/kde2.2/kdevelop-2.0'
> > > > make: *** [all-recursive-am] Error 2
> > > >
> > > > please note ./configure runs with no problems, i have qt-2.2.4...
> > > > have any ideas?
> > > > thanks
> >
> > -
> > to unsubscribe from this list send an email to
> > kdevelop-request at kdevelop.org with the following body: unsubscribe
> > »your-email-address«

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list