You are not logged in.

1

Wednesday, May 25th 2005, 6:39am

[kopete] problems building

First, let me start with the fact that I'm rather new to Linux, although this isn't my first time dealing with Linux.

I have a fresh install of Mandrake 10.1 Official DVD, and the packaged version of kopete is too old to login to MSN. So I have uninstalled that RPM, and now I am trying to build the newest release of kopete. It took me a while to get the configure script to finish, I had to install several developer RPMs, but now configure will run all the way though without any errors. When I try to run make, it immediately encounters fatal errors in the /doc/fr/index.docbook. If I edit the source so these errors are avoided, more errors pop up in the /doc/nl folder.

I tried downloading the 2nd newest kopete release, just for experimental purposes. Configure will run through just fine, but when I run make it just goes though a few lines, says something about nothing to make and exits.

I am unable to get either version to compile, which is very frustrating. It really makes me want to throw in the towel on Linux again, because I can't even get a simple Instant messenger to build/install... Any ideas on how to get this thing to work?

Here is a cut of the error:

/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:101: parser error : Entity 'traducteurPatricePawlak' not defined
&traducteurCedricPasteur;&traducteurPatricePawlak;
^
index.docbook:1878: parser error : Entity 'PatricePawlak' not defined
>Traduction française par &CedricPasteur; et &PatricePawlak;</para
^

The only warnings I can find in the configure output is:
configure: WARNING: linux/if_ppp.h: present but cannot be compiled
configure: WARNING: linux/if_ppp.h: check for missing prerequisite headers?
configure: WARNING: linux/if_ppp.h: see the Autoconf documentation
configure: WARNING: linux/if_ppp.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/if_ppp.h: proceeding with the preprocessor's result
configure: WARNING: linux/if_ppp.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##

And another one of these same warning blocks for net/if_ppp.h

This post has been edited 1 times, last edit by "zacuke" (May 25th 2005, 6:41am)


CSKi

Beginner

Posts: 1

Location: France

Occupation: free-lance journalist, free-lance developer

  • Send private message

2

Thursday, May 26th 2005, 3:00pm

RE: [kopete] problems building

Hello !

I myself had the same kind of compilation problem on my Linux Mandriva 2005LE.

The solution I found is to edit the file /doc/fr/index.docbook, and then replace le line #101 by :
&traducteurCedricPasteur;

and the line #1878 by:
>Traduction française par &CedricPasteur; et PatricePawlak</para

I also had a problem with the file /doc/nl/index.docbook, I had to replace line #101 by:
&Rinse.Devries;

I don't really know what docbook is, I guess I deleted some references to inexistant pages or tags. But now it compiles.

3

Friday, May 27th 2005, 11:01pm

still broken

instead of replacing line #1878 with:
>Traduction française par &CedricPasteur; et PatricePawlak</para

I had to use:
>Traduction française par &CedricPasteur; </para

instead.

That fixes those errors, but now I get this error:

kopetechatwindow.cpp: In member function `void KopeteChatWindow::createTabBar()':
kopetechatwindow.cpp:563: error: 'class KTabWidget' has no member named 'setAutomaticResizeTabs'

*shrugs* I've installed Mandriva LE2005 now, and the version of GAIM that comes with it supports MSN, but I'd rather be using Kopete, but it still won't compile.

cjp

Beginner

Posts: 3

Location: Dartmoor, UK

Occupation: Admin

  • Send private message

4

Thursday, June 23rd 2005, 11:52pm

RE: [kopete] problems building ( + hack for kde 3.3.0)

I had this problem too and after some searching I came accross this post.

After looking at the advice here I got as far as zacuke with the error:

kopetechatwindow.cpp: In member function `void KopeteChatWindow::createTabBar()':
kopetechatwindow.cpp:563: error: 'class KTabWidget' has no member named 'setAutomaticResizeTabs'

After looking in /usr/include/ktabwidget.h it appears there is indeed no member named 'setAutomaticResizeTabs' in 'class KTabWidget'.

After looking through the kde api documentation it appears this member is only available in kde 3.4 and not any version below. There was another similar member problem later on in compilation.

With this in mind the annoucment that 0.10.1 should work on kde 3.3 really should be changed, it doesn't seem to work for kde 3.3.0 but I can't speak about 3.3.2.

After a bit of thought I manged to get it to compile though!

So, if you really want to try and get kopete 0.10.0 working on kde 3.3.0 try following the steps I took below: (but I can make no gaurantees that it will work for you)

NOTE: If you decide to comment out rather than delete the lines I reference below, but sure to use proper C++ comments /* like this */ else you won't get far.


1. In file <SOURCE_DIR>/kopete/kopete/chatwindow/kopetechatwindow.cpp - comment out or delete line 563 which reads: m_tabBar->setAutomaticResizeTabs(true);

2. In file <SOURCE_DIR>/kopete/protocols/groupwise/ui/gwcontactpropswidget.cpp - comment out line 99 which reads: m_propsView->setShadeSortColumn( FALSE );

These two shouldn't affect much once kopete is running - at least I've had no problems as yet.

3. In file <SOURCE_DIR>/kopete/protocols/msn/dummy.cpp - after the first line (which should read: #include "kdemacros.h") add the following two lines:

# undef KDE_EXPORT
# define KDE_EXPORT

I'm not sure why I had to this last step, but it solved a compilation error for me. I think it may be due to a bug in kde versions less than 3.3.2

There will be a lot of warnings but hopefully things should compile fine after this, but it's a lot of hassle to go through just to use one program - I'm sure most people would give up instead than go through all this.

However I don't much like giving up, so I've had to figure this out tonight. And also because my girlfriend is waiting to chat to me on msn -how do I explain why I was late? "Sorry love, I just had to edit some source"? Hmmmm, might work........

Charlie
"Reality is merely a perception, sometimes you just have to look at things in a different way."