hi !
I wanted to emerge kdevelop 3.0_alpha5 but it bailed out at two points
First at
/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5/lib/widgets/sticky.xpm
with:
...snip.....
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I../.. -I/usr/kde/3.1/include -I/usr/qt/3/in
clude -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpo
inter-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEB
UG -O2 -march=pentium2 -O2 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -c -o ktabzoomframe.lo `test -f 'ktabzoomframe.cpp' || echo
'./'`ktabzoomframe.cpp
In file included from ktabzoomframe.cpp:27:
sticky.xpm:2: error: duplicate `const'
make[3]: *** [ktabzoomframe.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5/lib/widgets'
...snip.....
I corrected sticky.xpm from
/* XPM */
static const char const *sticky[] = {
/* width height num_colors chars_per_pixel */
...snip.....
to
/* XPM */
static const char *sticky[] = {
/* width height num_colors chars_per_pixel */
...snip.....
Then I performed a manual make in
/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5
It run well until:
make[3]: Entering directory
`/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5/parts/adasupport'
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o addclassdlg.h
./addclassdlg.ui
/usr/qt/3/bin/uic -L /usr/kde/3.1/lib/kde3/plugins/designer -nounload -o
configproblemreporter.h ./configproblemreporter.ui
/usr/qt/3/bin/moc ./adasupportpart.h -o adasupportpart.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../lib/antlr -I../../lib/interfaces
-I../../lib/sourceinfo -I/usr/kde/3.1/include -I/usr/qt/3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
-march=pentium2 -O2 -pipe
-fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -fexceptions
-c -o adasupportpart.lo `test -f 'adasupportpart.cpp' || echo './'`adasupportpart.cpp
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/g++-v3/backward/strstream:51,
from adasupportpart.cpp:17:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes
at least one deprecated or antiquated header. Please consider using one of the 32
headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the
deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ada.g:30,
from adasupportpart.cpp:28:
AdaAST.hpp: In member function `void
AdaAST::addChild(antlr::ASTRefCount<AdaAST>)':
AdaAST.hpp:45: error: invalid static_cast from type `RefAdaAST' to type `
antlr::RefAST'
AdaAST.hpp: In static member function `static antlr::RefAST AdaAST::factory()':
AdaAST.hpp:61: error: invalid static_cast from type `RefAdaAST' to type `
antlr::RefAST'
make[3]: *** [adasupportpart.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5/parts/adasupport'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5/parts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha5/work/kdevelop-3.0a5'
make: *** [all] Error 2
Has somebody emerged kdevelop-3.0_alpha5 successfully?
Can somebody tell me what to do?
I use gcc 3.3-r1 and no problems till now
# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: /var/tmp/portage/gcc-3.3-r1/work/gcc-3.3/configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc --enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio --enable-clocale=generic
--enable-__cxa_atexit --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
--disable-multilib
Thread model: posix
gcc version 3.3 20030718 (Gentoo Linux 3.3-r1, propolice)
more infos required?
emerge kdevelop-2.1.5 works
Now I try 3.0_alpha4-r1.ebuild.
thanx
Joe
--
[EMAIL PROTECTED] mailing list