View previous topic :: View next topic |
Author |
Message |
Malakin2 n00b
Joined: 29 Dec 2002 Posts: 2
|
Posted: Mon Dec 30, 2002 10:41 pm Post subject: emerge kopete fails |
|
|
Hi, I can't emerge kopete. I have a new Gentoo install. It looks like a missing kde header.
# emerge sync
# emerge kopete
Calculating dependencies ...done!
>>> emerge (1 of 1) net-im/kopete-0.5 to /
>>> md5 kopete-0.5-1.tar.gz
>>> Unpacking source...
>>> Unpacking kopete-0.5-1.tar.gz
patching file kopete/protocols/icq_new/icqprotocol.cpp
>>> Source unpacked.
qtmt
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
...
(blablabla)
...
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../../.. -I../../../kopete/libkopete -I/usr/kde/3/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
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O3 -pipe
-fno-exceptions -fno-check-new -c -o kopetestdaction.lo `test -f
kopetestdaction.cpp || echo './'`kopetestdaction.cpp
kopetechatwindow.cpp:45:23: ktextedit.h: No such file or directory
kopetechatwindow.cpp: In member function `virtual void
KopeteEditor::setEditingMode(KopeteChatWindow::EditingMode)':
kopetechatwindow.cpp:328: parse error before `(' token
make[4]: *** [kopetechatwindow.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete/libkopete/ui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1'
make: *** [all] Error 2
!!! ERROR: net-im/kopete-0.5 failed.
!!! Function kde_src_compile, Line -8823, Exitcode 2
!!! died running emake, kde_src_compile:make |
|
Back to top |
|
|
pascall Tux's lil' helper
Joined: 29 Aug 2002 Posts: 101 Location: Montreal, Qc
|
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jan 01, 2003 1:50 am Post subject: |
|
|
This works for me:
Code: |
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild unpack
cd /var/tmp/portage/kopete-0.5/
for x in `find . \( -exec grep -q 'KDE_VERSION.*305' {} \; \) -print`; do cat $x | sed -e 's/KDE_VERSION >= 305/KDE_VERSION > 305/g' -e 's/KDE_VERSION < 305/KDE_VERSION <= 305/g' > $x.new; mv -f $x.new $x; done
cd
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild compile
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild install
ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild qmerge
|
I use gcc 2.95.3 and kde 3.0.5a. |
|
Back to top |
|
|
pascall Tux's lil' helper
Joined: 29 Aug 2002 Posts: 101 Location: Montreal, Qc
|
Posted: Wed Jan 01, 2003 6:26 pm Post subject: |
|
|
Thanks a lot Naan Yaar,
Works for me also with gcc-3.2.1 and kde-3.0.5a. I think you ve submitted this patch to the kde-team at gentoo ? If not maybe we could append it to the bug report mentioned earlier. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jan 01, 2003 7:03 pm Post subject: |
|
|
Thanks for the reminder. It is now in the bug report.
pascall wrote: | Thanks a lot Naan Yaar,
Works for me also with gcc-3.2.1 and kde-3.0.5a. I think you ve submitted this patch to the kde-team at gentoo ? If not maybe we could append it to the bug report mentioned earlier. |
|
|
Back to top |
|
|
Malakin2 n00b
Joined: 29 Dec 2002 Posts: 2
|
Posted: Wed Jan 01, 2003 11:42 pm Post subject: |
|
|
It works now. Thanks! |
|
Back to top |
|
|
|