Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: kde-base/kopete-3.5.10-r6 failed (compile phase
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Mon Aug 01, 2011 3:36 pm    Post subject: ERROR: kde-base/kopete-3.5.10-r6 failed (compile phase Reply with quote

Code:
ty -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o videodevice.lo videodevice.cpp
mkdir: cannot create directory `.libs': File exists
In file included from videodevice.cpp:27:0:
videodevice.h:55:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[4]: *** [videodevice.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kde-base/kopete-3.5.10-r6/work/kopete-3.5.10/kopete/libkopete/avdevice'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kopete-3.5.10-r6/work/kopete-3.5.10/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kopete-3.5.10-r6/work/kopete-3.5.10/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kopete-3.5.10-r6/work/kopete-3.5.10'
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/kopete-3.5.10-r6 failed (compile phase):
 *   died running emake, kde_src_compile:make
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4963:  Called kde_src_compile
 *   environment, line 3663:  Called kde_src_compile 'all'
 *   environment, line 3678:  Called kde_src_compile 'make'
 *   environment, line 3670:  Called die
 * The specific snippet of code:
 *                   emake || die "died running emake, $FUNCNAME:make"
 *


what installs videodev.h ?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Mon Aug 01, 2011 4:01 pm    Post subject: Reply with quote

These days - nothing.
It was a linux header, but after being deprecated for a few years, v4l1 was eventually axed.
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Mon Aug 01, 2011 4:52 pm    Post subject: Reply with quote

well that is the end of kde-3.5 package.
still most other packages installs nicely of the kde-meta-3.5.10
i merged python-2.6 for super karamba
if only the libsvga merges i would be happier :)
thanks for the reply VoidMage :D
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Ragzid
n00b
n00b


Joined: 03 Apr 2012
Posts: 1
Location: CZ-Brno

PostPosted: Tue Apr 03, 2012 10:53 pm    Post subject: Reply with quote

Hi,
sorry for posting to this old thread, but I hope this will help many other users who are still using KDE 3.5.

I was trying compile Kopete from kopete-3.5.10-r6.ebuild. There is simple solution for fixing these error.
FIrst, my USE flags for kopete:
Code:
kde-base/kopete-3.5.10-r6::kde-sunset  USE="history jabber opengl oscar ssl -addbookmarks -alias -autoreplace -connectionstatus -contactnotes -crypt -debug -emoticons-manager -gadu -groupwise -highlight -irc -jingle -kdehiddenvisibility -latex -msn -netmeeting -nowlistening -sametime -slp -sms -statistics -texteffect -translator -v4l2 -webpresence -winpopup -xscreensaver -yahoo"

There are needed some updates in source code, for solving v4l issue, you need to emerge libv4l. Then apply this patch (it's more workaround than patch):
Code:
diff -u a/kopete/kopete/chatwindow/krichtexteditpart.cpp b/kopete/kopete/chatwindow/krichtexteditpart.cpp
--- a/kopete/kopete/chatwindow/krichtexteditpart.cpp    2006-10-01 19:27:05.000000000 +0200
+++ b/kopete/kopete/chatwindow/krichtexteditpart.cpp    2012-04-03 22:48:13.000000000 +0200
@@ -38,7 +38,7 @@
 KopeteRichTextEditPart::KopeteRichTextEditPart( QWidget *wparent, const char *wname, QObject*, const char*, const QStringList& )
        : KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" )
 {
-       KopeteRichTextEditPart::KopeteRichTextEditPart( wparent, wname, false );
+       KopeteRichTextEditPart( wparent, wname, false );
 }

 KopeteRichTextEditPart::KopeteRichTextEditPart( QWidget *parent, const char *name, int capabilities )
diff -u a/kopete/kopete/contactlist/kopetegroupviewitem.cpp b/kopete/kopete/contactlist/kopetegroupviewitem.cpp
--- a/kopete/kopete/contactlist/kopetegroupviewitem.cpp 2005-09-10 10:20:25.000000000 +0200
+++ b/kopete/kopete/contactlist/kopetegroupviewitem.cpp 2012-04-03 22:47:33.000000000 +0200
@@ -169,7 +169,8 @@
        // the sorting itself is rather slow. Therefore we call delayedSort, which tries
        // to group multiple sort requests into one.
        using namespace Kopete::UI::ListView;
-       if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) )
+       if ( ListView *lv = dynamic_cast<ListView *>( listView() ) )
                lv->delayedSort();
        else
                listView()->sort();
diff -u a/kopete/libkopete/avdevice/videodevice.h b/kopete/libkopete/avdevice/videodevice.h
--- a/kopete/libkopete/avdevice/videodevice.h   2012-04-03 22:50:35.000000000 +0200
+++ b/kopete/libkopete/avdevice/videodevice.h   2012-04-03 22:46:25.000000000 +0200
@@ -52,7 +52,7 @@

 #include <linux/fs.h>
 #include <linux/kernel.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #define VIDEO_MODE_PAL_Nc  3
 #define VIDEO_MODE_PAL_M   4
 #define VIDEO_MODE_PAL_N   5

Update digital signature with ebuild and run emerge kopete::kde-sunset.

Now, Kopete should be running...

I hope someone will appreciate this :)


Last edited by Ragzid on Fri Apr 06, 2012 12:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Wed Apr 04, 2012 6:44 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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