View Full Version : error while compiling kopete

30th November 2003, 07:09 PM
Here is what I get when I try to compile kopete from source (http://kopete.kde.org/)
Now they suggest a workaround for redhat, by changing the compile... so far, here is what my compile line looks like:

[code:1]./configure --with-qt-dir=/usr/lib/qt-3.1/ --prefix=/usr --with-extra-includes=/usr/kerberos/include[/code:1]

I had to set the qt directory so that it would recognise where it is
I set --prefix=/usr/ because that's how KDE is installed
and --with-extra-includes is the workaround for RedHat

the only problem is that I do not have a /usr/kerberos/include/

what should I do?

below is a copy of the compile error.

/usr/lib/qt-3.1//bin/moc ./kopeteaccount.h -o kopeteaccount.moc
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DKDE_NO_COMPAT -DQT_NO_COMPAT -DQT_NO_CAST_ASCII -DQT_NO_ASCII_CAST -I../../kopete/libkopete -I../../kopete/libkopete/ui -I../../kopete/libkopete/ui -I../../kopete/libkopete/private -I../../kopete/libkopete/ui -I/usr/include/kde -I/usr/lib/qt-3.1//include -I/usr/X11R6/include -I/usr/kerberos/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 -O2 -fno-exceptions -fno-check-new -MT kopeteaccount.lo -MD -MP -MF ".deps/kopeteaccount.Tpo"
-c -o kopeteaccount.lo `test -f 'kopeteaccount.cpp' || echo './'`kopeteaccount.cpp;
then mv -f ".deps/kopeteaccount.Tpo" ".deps/kopeteaccount.Plo";
else rm -f ".deps/kopeteaccount.Tpo"; exit 1;
In file included from /usr/include/c++/3.3.2/locale:47,
from /usr/include/c++/3.3.2/bits/ostream.tcc:37,
from /usr/include/c++/3.3.2/ostream:535,
from /usr/include/c++/3.3.2/iterator:70,
from /usr/lib/qt-3.1/include/qvaluelist.h:48,
from /usr/lib/qt-3.1/include/qmap.h:46,
from /usr/lib/qt-3.1/include/qmime.h:43,
from /usr/lib/qt-3.1/include/qevent.h:45,
from /usr/lib/qt-3.1/include/qobject.h:45,
from /usr/lib/qt-3.1/include/qwidget.h:43,
from /usr/lib/qt-3.1/include/qframe.h:42,
from /usr/lib/qt-3.1/include/qlineedit.h:47,
from kopeteaccount.cpp:18:
/usr/include/c++/3.3.2/bits/locale_facets.tcc: In instantiation of `std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >':
/usr/include/c++/3.3.2/bits/locale_facets.tcc:2540: instantiated from here
/usr/include/c++/3.3.2/bits/locale_facets.tcc:1038: internal compiler error: in
tsubst_decl, at cp/pt.c:6047
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[4]: *** [kopeteaccount.lo] Error 1
make[4]: Leaving directory `/home/cheater/Desktop/kopete-0.7.4/kopete/libkopete'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cheater/Desktop/kopete-0.7.4/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cheater/Desktop/kopete-0.7.4/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cheater/Desktop/kopete-0.7.4'
make: *** [all] Error 2