Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge kopete fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Malakin2
n00b
n00b


Joined: 29 Dec 2002
Posts: 2

PostPosted: Mon Dec 30, 2002 10:41 pm    Post subject: emerge kopete fails Reply with quote

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
View user's profile Send private message
pascall
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 101
Location: Montreal, Qc

PostPosted: Tue Dec 31, 2002 4:00 am    Post subject: Reply with quote

Same problem on a fresh new 1.4rc1 install. A bug report already exists go see https://bugs.gentoo.org/show_bug.cgi?id=12686.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jan 01, 2003 1:50 am    Post subject: Reply with quote

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
View user's profile Send private message
pascall
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 101
Location: Montreal, Qc

PostPosted: Wed Jan 01, 2003 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jan 01, 2003 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Malakin2
n00b
n00b


Joined: 29 Dec 2002
Posts: 2

PostPosted: Wed Jan 01, 2003 11:42 pm    Post subject: Reply with quote

It works now. Thanks! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum