You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

21

Friday, May 20th 2005, 12:56pm

Autoconf exiting with error as well

Hi there!

I have the same problem:

Autoconf exits with

Source code

1
2
3
4
configure.in.in:9: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/general.m4:2173: AC_COMPILE_IFELSE is expanded from...
configure.in.in:9: the top level
autom4te: /usr/bin/m4 failed with exit status: 1


I am running KDE 3.4 (pre3 I suppose), autoconf 2.59 on debian, and checked out kopete 0.10 revision 416044.

Any magic options for autoconf that make this whole mess work?

?( Christoph

Dworf

Beginner

Posts: 3

Location: Slovenia

  • Send private message

22

Friday, May 20th 2005, 1:36pm

Hello,

well here is a step by step instructions that worked for me for recompiling kopete-0.9.2 with the fix for the MSN bug...

I tried compiling from SVN but it did not work... thats why i tried this and it works now.....:

I have SuSE 9.2 with KDE 3.3 and SuSE 9.1 with KDE 3.3

#--- start here ----
mkdir kopetesource
cd kopetesource
wget 'http://kent.dl.sourceforge.net/sourceforge/kopete/kopete-0.9.2.tar.gz'
tar xfvz kopete-0.9.2.tar.gz
cd kopete-0.9.2/kopete/protocols/msn
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/Makefile.am?rev=415987'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/msnnotifysocket.cpp?rev=415887'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/msnnotifysocket.h?rev=415887'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/sslloginhandler.cpp?rev=415887'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/sslloginhandler.h?rev=415887'

mv -f Makefile.am?rev=415987 Makefile.am
mv -f msnnotifysocket.cpp?rev=415887 msnnotifysocket.cpp
mv -f msnnotifysocket.h?rev=415887 msnnotifysocket.h
mv -f sslloginhandler.cpp?rev=415887 sslloginhandler.cpp
mv -f sslloginhandler.h?rev=415887 sslloginhandler.h

cd ../../../
rm -f aclocal.m4
aclocal
./configure --prefix=/opt/kde3
make
killall -9 kopete
make install

# start with
kopete &

#---- stop here ----

Hope it helps someone...

23

Friday, May 20th 2005, 2:01pm

Again error - help anybody?

Hi there,

tried this checking out stuff (copy and pasted into a shell script to be faster), but i cannot compile it. I get the following error message:

Source code

1
2
make[3]: Entering directory `/home/snchduer/install/kopetesource/kopete-0.9.2/kopete/libkopete'
Makefile:568: *** missing separator.  Stop.


I am not too much into makefiles, so I cannot tell where is the missing separator (could be because of the value of one of the variables, though). The corresponding line in the makefile in that directory is:

Source code

1
@am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \


Woah - now i really dont know what to do anymore...

Dworf

Beginner

Posts: 3

Location: Slovenia

  • Send private message

24

Friday, May 20th 2005, 2:10pm

try it without:

rm -f aclocal.m4
aclocal


I had to do this only on my SuSE 9.2

if that does not help try compiling first without the MSN patch and when that works add MSN patch...

or try it with a different --prefix=/opt/kde3 (where you have your kde3 installation)

This post has been edited 1 times, last edit by "Dworf" (May 20th 2005, 2:11pm)


25

Friday, May 20th 2005, 2:56pm

I compiled Dworf's fix fine, but when I attemped to log into MSN:

Source code

1
kopete: error while loading shared libraries: /opt/kde3/lib/libkopete_msn_shared.so.0: undefined symbol: _ZN15SslLoginHandlerC1Ev

I think I'll wait to see if someone figures out what's wrong with configure.in.in in the SVN stable.

This post has been edited 1 times, last edit by "Arevos" (May 20th 2005, 2:57pm)


Dworf

Beginner

Posts: 3

Location: Slovenia

  • Send private message

26

Friday, May 20th 2005, 4:34pm

Arevos

you probably have KDE 3.2??

Try upgrading to KDE 3.3

27

Friday, May 20th 2005, 4:53pm

Dworf's solution still not working

well, hi again!

As for Dworf's proposal - at least I can run "make" now (btw I have kde 3.4, and want to install to /usr thus effectively overwriting my current kopete version), but it stops with an error, leaving me puzzled:

Source code

1
2
3
4
5
6
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
.libs/msnnotifysocket.o(.text+0x1d99): In function `MSNNotifySocket::parseCommand(QString const&, unsigned, QString const&)':
: undefined reference to `SslLoginHandler::SslLoginHandler[in-charge]()'
.libs/msnnotifysocket.o(.text+0x1f19): In function `MSNNotifySocket::parseCommand(QString const&, unsigned, QString const&)':
: undefined reference to `SslLoginHandler::login(QString, QString, QString)'
collect2: ld returned 1 exit status


Geez, guess I will also just wait for the 0.10 bugfix...

Cheers! ?(

28

Friday, May 20th 2005, 6:09pm

Solution for SVN

Hey ppl!

The solution why kopete from svn wont compile with the instructions above:

(taken from http://wiki.kdenews.org/tiki-index.php?page=Kopete+SVN ):

Quoted

mkdir kopetesvn
cd kopetesvn
svn checkout svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common
svn checkout -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork
cd kdenetwork
ln -s ../kde-common/admin
#you may need to 'cd ..' here if you get errors about "Working copy 'kopete' not locked"
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/3.4/kdenetwork/kopete
# this is for the stable release.
#if you have cd .. (AND ONLY IF), move the kopete dir into kdenetwork
rm -Rf kdenetwork/kopete
mv kopete/ kdenetwork/
#remember to cd - if you needed to cd .. above.
make -f Makefile.cvs
./configure --enable-debug=full
make
su -c "make install


The reason is that you need to download more than just kopete... :))

29

Friday, May 20th 2005, 6:17pm

Quoted

Originally posted by Dworf
Arevos

you probably have KDE 3.2??

Try upgrading to KDE 3.3

I have KDE 3.4, but if the fix was for 3.3, that could explain why it doesn't work for me.

30

Friday, May 20th 2005, 6:21pm

RE: Solution for SVN

Quoted

Originally posted by snchduer
Hey ppl!

The solution why kopete from svn wont compile with the instructions above:

(taken from http://wiki.kdenews.org/tiki-index.php?page=Kopete+SVN )

D'oh! I should have guessed it would need something like that. Let me try it again. If I succeed, I'll post up a link to a tarball of the fixed Kopete, complete with configure script.

If that's at all possible.

Edit: Looks like it's too big to be hosted separately.

Edit 2: Installed okay. Thanks snchduer! :)

This post has been edited 3 times, last edit by "Arevos" (May 20th 2005, 7:00pm)


31

Friday, May 20th 2005, 9:19pm

Hi:

I've just downloaded Kopete from svn, and I have compilation problems. I'm using SuSE 9.1 and KDE3.4. I think I have all the required devel packages installed, since the configure script didn't showed any problem.

I've followed the steps that are in the Kopete Wiki.

The make output is:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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/avdevice -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/private -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kopetefileconfirmdialog.lo -MD -MP -MF ".deps/kopetefileconfirmdialog.Tpo" -c -o kopetefileconfirmdialog.lo kopetefileconfirmdialog.cpp; \
then mv -f ".deps/kopetefileconfirmdialog.Tpo" ".deps/kopetefileconfirmdialog.Plo"; else rm -f ".deps/kopetefileconfirmdialog.Tpo"; exit 1; fi
kopetefileconfirmdialog.cpp: In constructor `
   KopeteFileConfirmDialog::KopeteFileConfirmDialog(const
   Kopete::FileTransferInfo&, const QString&, QWidget*, const char*)':
kopetefileconfirmdialog.cpp:42: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:43: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:45: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:46: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:47: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:51: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:53: error: no matching function for call to `
   KopeteFileConfirmDialog::setMainWidget(FileConfirmBase*&)'
/opt/kde3/include/kdialogbase.h:807: error: candidates are: void
   KDialogBase::setMainWidget(QWidget*)
kopetefileconfirmdialog.cpp:55: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp: In member function `void
   KopeteFileConfirmDialog::slotBrowsePressed()':
kopetefileconfirmdialog.cpp:64: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:67: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp: In member function `virtual void
   KopeteFileConfirmDialog::slotUser2()':
kopetefileconfirmdialog.cpp:74: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:84: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:86: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
kopetefileconfirmdialog.cpp:92: error: invalid use of undefined type `struct
   FileConfirmBase'
kopetefileconfirmdialog.h:25: error: forward declaration of `struct
   FileConfirmBase'
make[4]: *** [kopetefileconfirmdialog.lo] Error 1


Thanks in advance, and please ask me if you need more information.

Cheers.
-=ArCePi=-

This post has been edited 1 times, last edit by "ArCePi" (May 20th 2005, 10:31pm)


32

Friday, May 20th 2005, 10:29pm

Hello all,

situation: using Suse 9.1 and kopete problem like above
I'm quit new to linux so I need some basic help to get this done. I copied the commands from Dworf in a script and executed it, no luck :)
What should I change?

Quoted

Originally posted by Dworf
Hello,

well here is a step by step instructions that worked for me for recompiling kopete-0.9.2 with the fix for the MSN bug...

I tried compiling from SVN but it did not work... thats why i tried this and it works now.....:

I have SuSE 9.2 with KDE 3.3 and SuSE 9.1 with KDE 3.3

#--- start here ----
mkdir kopetesource
cd kopetesource
wget 'http://kent.dl.sourceforge.net/sourceforge/kopete/kopete-0.9.2.tar.gz'
tar xfvz kopete-0.9.2.tar.gz
cd kopete-0.9.2/kopete/protocols/msn
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/Makefile.am?rev=415987'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/msnnotifysocket.cpp?rev=415887'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/msnnotifysocket.h?rev=415887'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/sslloginhandler.cpp?rev=415887'
wget 'http://websvn.kde.org/*checkout*/branches/KDE/3.3/kdenetwork/kopete/protocols/msn/sslloginhandler.h?rev=415887'

mv -f Makefile.am?rev=415987 Makefile.am
mv -f msnnotifysocket.cpp?rev=415887 msnnotifysocket.cpp
mv -f msnnotifysocket.h?rev=415887 msnnotifysocket.h
mv -f sslloginhandler.cpp?rev=415887 sslloginhandler.cpp
mv -f sslloginhandler.h?rev=415887 sslloginhandler.h


Ok I get it till here I think

Quoted

Originally posted by Dworf
cd ../../../
rm -f aclocal.m4
aclocal
./configure --prefix=/opt/kde3
make
killall -9 kopete
make install

# start with
kopete &

#---- stop here ----

Hope it helps someone...

I suppose I should edit the cd ../../../, how can I find out what the correct paht would be for me?

Tx for any help

This post has been edited 1 times, last edit by "winde" (May 20th 2005, 10:30pm)


33

Friday, May 20th 2005, 11:43pm

RE: Solution for SVN

Quoted

Edit 2: Installed okay. Thanks snchduer! :)

Erp. Spoken too soon. I compiled the SVN version, but get:

Source code

1
kopete: error while loading shared libraries: /opt/kde3/lib/kde3/kopete_chatwindow.so: undefined symbol: _ZN9KHTMLView8scrollByEii


When I try to chat with someone. I guess I'll have to make do with GAIM.

34

Friday, May 20th 2005, 11:55pm

kopete problems - libraries

Hi there!

Dunno what i did, but kopete works fine (except for warnings, which i dont heed anyways...). However, I installed kopete (svn) to the exact directory where my original kopete used to be, and it might have eliminated some of these problems....

In my case, it is /usr (debian, kde 3.4, kernel 2.6.10). For your system, just ask "which kopete" and substract the bin (i.e., if your which request comes up with "/usr/bin", take "/usr") and take this as your prefix for configure.

Yours

Chrisotph

35

Saturday, May 21st 2005, 9:16am

RE: kopete problems - libraries

Dworf your instructions worked great. Thank you for taking your time to post them.

EDIT:

To Winde:

I'm unsure if meant what "cd ../../../" did. If this is what you mean, it simply takes you up three directories.

If you where in : "cd kopete-0.9.2/kopete/protocols/msn" it takes you to "cd kopete-0.9.2" where you would need to be to configure.

This post has been edited 4 times, last edit by "Rux" (May 21st 2005, 9:26am)


36

Saturday, May 21st 2005, 9:48am

RE: kopete problems - libraries

Quoted

Dunno what i did, but kopete works fine (except for warnings, which i dont heed anyways...). However, I installed kopete (svn) to the exact directory where my original kopete used to be, and it might have eliminated some of these problems....

In my case, it is /usr (debian, kde 3.4, kernel 2.6.10). For your system, just ask "which kopete" and substract the bin (i.e., if your which request comes up with "/usr/bin", take "/usr") and take this as your prefix for configure.

I did the same thing. I installed it to /opt/kde3, which is where KDE 3.4 is installed. Not sure why it's crashing. I think I'll fiddle about with it a bit. Maybe recompile it with debugging on.

37

Saturday, May 21st 2005, 1:02pm

Mandriva 10.2 rpm update for kde 3.3.2

I have made the rpms from the patch from kde bugzilla, it works now for me on my mandriva 10.2. It correct the msn connect bug http://bugs.kde.org/show_bug.cgi?id=105929.

Download these rpm from http://nusclyk.free.fr/mandriva10.2/i586/

kdenetwork-3.3.2-28mdk.i586.rpm
kdenetwork-common-3.3.2-28mdk.i586.rpm
kdenetwork-kdict-3.3.2-28mdk.i586.rpm
kdenetwork-kget-3.3.2-28mdk.i586.rpm
kdenetwork-knewsticker-3.3.2-28mdk.i586.rpm
kdenetwork-kopete-3.3.2-28mdk.i586.rpm
kdenetwork-kppp-3.3.2-28mdk.i586.rpm
kdenetwork-kppp-provider-3.3.2-28mdk.i586.rpm
kdenetwork-krfb-3.3.2-28mdk.i586.rpm
kdenetwork-ksirc-3.3.2-28mdk.i586.rpm
kdenetwork-ktalk-3.3.2-28mdk.i586.rpm
kdenetwork-kwifimanager-3.3.2-28mdk.i586.rpm
libkdenetwork2-common-3.3.2-28mdk.i586.rpm
libkdenetwork2-common-devel-3.3.2-28mdk.i586.rpm
libkdenetwork2-knewsticker-3.3.2-28mdk.i586.rpm
libkdenetwork2-kopete-3.3.2-28mdk.i586.rpm
libkdenetwork2-kopete-devel-3.3.2-28mdk.i586.rpm
libkdenetwork2-ksirc-3.3.2-28mdk.i586.rpm
libkdenetwork2-kwifimanager-3.3.2-28mdk.i586.rpm
lisa-3.3.2-28mdk.i586.rpm

Copy it into a new folder and do magic :

urpmi *libkde*.rpm kdene*.rpm lisa*.rpm

And all work.

38

Saturday, May 21st 2005, 5:20pm

Quoted

The fix will be in KDE 3.4.1 which is planned for release within the next three weeks.
That is exactly why I was dismayed when Kopete became an official part of KDE. Sometimes a quick fix is needed right away, but not Kopete is tied to the release schedule of a whole desktop environment, and unable to respond in a timely matter to such issues, leaving distros and individual users to scramble to patch things up.

Xandros is working on a patched version, and a user has posted one. Other distros will likely do the same, but some won't. I am using Debian with unofficial 3.4 packages and patched the code and fixed it myself, something not everyone will be able to do. For those who use linux as a windows replacement and are relatively new to computing, they are stuck waiting for a fix until 3.4.1. How would it be if a problem like this cropped up and KDE 4 was the next version? Could be a long wait.

Kudos to the team for fixing things up in code so fast. I just wish there was a way for them to release that code rather than expect users to wait or patch themselves. The former isn't really acceptable, the later isn't always possible. Guess it's part of the danger of using an unofficial client :) At least it's a good unofficial client.

39

Saturday, May 21st 2005, 6:00pm

Quoted

Originally posted by MamiyaOtaru

Quoted

The fix will be in KDE 3.4.1 which is planned for release within the next three weeks.
That is exactly why I was dismayed when Kopete became an official part of KDE. Sometimes a quick fix is needed right away, but not Kopete is tied to the release schedule of a whole desktop environment, and unable to respond in a timely matter to such issues, leaving distros and individual users to scramble to patch things up.


Having compiled from svn, and with it working, this is less of an issue for me, though it is a good point. With KDE3.4 rpms not yet out (officially - the unofficial ones there are have significant issues) for Mandriva, what chance is there of 3.4.1 becoming available before the next release in October?

In fact, I will have a need to reinstall soon (changing PC's), and am unlikely to use even 3.4 because of the problems, so it looks like being GAIM from then on!

I could try a different Linux, of course, but it seems a long way to go to get MSN working it would be easy if all distros kept key files in the same places, but they don't. I did try Kubuntu on another machine, but soon reverted to Mandriva when I just couldn't find the things I needed.

This post has been edited 1 times, last edit by "daldred" (May 21st 2005, 6:01pm)


40

Saturday, May 21st 2005, 8:07pm

Gentoo

Gentoo users: There is a patch here http://bugs.gentoo.org/show_bug.cgi?id=93213

Edit your ebuild to include the new patch (I edited the 3.4.0.r2.ebuild and saved as kopete-3.4.0-r3.ebuild), put the patch in the files folder (with the others), run the digest:

ebuild kopete-3.4.0-r3 digest

echo "kde-base/kopete ~x86" >> /etc/portage/package.keywords
emerge kopete



Here's the ebuild (only the last line was added):

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/kopete-3.4.0-r2.ebuild,v 1.1 2005/05/11 19:36:10 greg_g Exp $

KMNAME=kdenetwork
MAXKDEVER=$PV
KM_DEPRANGE="$PV $MAXKDEVER"
inherit kde-meta eutils

DESCRIPTION="KDE multi-protocol IM client"
KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~ppc64"
IUSE="ssl"

RDEPEND="ssl? ( app-crypt/qca-tls )"

# fix kde bug 91288 and 105442. Applied for 3.4.1.
PATCHES1="${FILESDIR}/kdenetwork-3.4.0-kopete-logout.patch"
PATCHES1="${PATCHES1} ${FILESDIR}/kdenetwork-3.4.0-kopete-tabbed-windows.patch"

# fix kde bug 99671. Applied for 3.4.1.
PATCHES1="${PATCHES1} ${FILESDIR}/kdenetwork-3.4.0-kopete-spaces.patch"
PATCHES1="${PATCHES1} ${FILESDIR}/kdenetwork-3.4.0-kopete-msnlogin.patch"

Couple of caviats:

If you want to keep your ebuild for some reason (emerge sync will trash it), you need to set this up in your portage overlay dir/kde-base/kopete

kdenetwork might be blocking kopete (for those that use kget, kppp, kwifimanager, etc.)