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.

Teuniz

Beginner

  • "Teuniz" started this thread

Posts: 5

Location: Katwijk, The Netherlands

  • Send private message

1

Sunday, May 29th 2005, 12:06pm

Kopete compile errors (solution).

Hi,

Because of the loginproblem with msn, I had to compile Kopete from source.
My distro is SuSE 9.2 (with KDE 3.3).
First I experienced the errors in docbook described in the thread "[kopete] problems building"
by Zacuke, look at his thread for a solution or (like I did) simply remove the
names the compiler complains about from docbook.

Altough the configure-script said everything was ok, the compiler was complaining
about missing jpeg libs, I had to install them first.

I had also some other errors and my "solutions" where as follows:

outcomment line 99 in gwcontactpropswidget.cpp setShadeSortColumn
outcomment line 563 in kopetechatwindow.cpp setAutomaticResizeTabs
remove "KDE_EXPORT" in line 2 and 3 in protocols/msn/dummy.cpp

After these modifications I was able to compile Kopete 0.10.1.


I hope this info is usefull to others who experience the same errors.

Grtz, Teuniz

2

Sunday, May 29th 2005, 1:45pm

I get the same error while doing "make" with SuSE 9.3 and KDE 3.4:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
make[4]: Entering directory `/tmp/kopete-0.10.1/kopete/libkopete/ui'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkopeteui.la  -L/opt/kde3/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib    kopetecontactaction.lo addcontactpage.lo editaccountwidget.lo kopetestdaction.lo kopetefileconfirmdialog.lo userinfodialog.lo kopeteview.lo kopetepasswordwidget.lo accountselector.lo kopeteviewplugin.lo kopetepassworddialog.lo kopeteawaydialogbase.lo fileconfirmbase.lo kopetepasswordwidgetbase.lo ../private/libkopeteprivate.la -lkhtml -L/usr/lib -lxml2 -lz -lpthread -lm -L/usr/lib -lxslt -lxml2 -lz -lpthread -lm
grep: /usr/lib/libjpeg.la: No such file or directory
/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory
libtool: link: `/usr/lib/libjpeg.la' is not a valid libtool archive
make[4]: *** [libkopeteui.la] Fehler 1
make[4]: Leaving directory `/tmp/kopete-0.10.1/kopete/libkopete/ui'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/tmp/kopete-0.10.1/kopete/libkopete'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/tmp/kopete-0.10.1/kopete'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/tmp/kopete-0.10.1'
make: *** [all] Fehler 2


Whats the problem?

the neccessairy packages are installed:

Source code

1
2
3
4
libxml2-2.6.17-4
libxml-1.8.17-369.2
libxslt-1.1.12-5
qt-4.0.0beta2-3

missing package is "kde". But kde is completely installed! May this be the reason for the missing libjpeg error?
By the way: libjpeg is installed:

Source code

1
libjpeg-6.2.0-738


I hope you can help us!

Teuniz

Beginner

  • "Teuniz" started this thread

Posts: 5

Location: Katwijk, The Netherlands

  • Send private message

3

Sunday, May 29th 2005, 2:51pm

Hi Goldfisch,

You need to install the libjpeg development tools for programs wich will use
the libjpeg library, via Yast.

Grtz, Teuniz

4

Sunday, May 29th 2005, 4:37pm

Fehler bei make check

Well, I installed the package "libjpeg-devel" and it worked!
After half an hour it seemd to be compiled completely.

But now, I get the following message, when I "make check":

Source code

1
2
3
4
5
6
7
8
9
make[4]: *** [kopetepasswordtest.o] Fehler 1
make[4]: Leaving directory `/tmp/kopete-0.10.1/kopete/libkopete/tests'
make[3]: *** [check-am] Fehler 2
make[3]: Leaving directory `/tmp/kopete-0.10.1/kopete/libkopete/tests'
make[2]: *** [check-recursive] Fehler 1
make[2]: Leaving directory `/tmp/kopete-0.10.1/kopete/libkopete'
make[1]: *** [check-recursive] Fehler 1
make[1]: Leaving directory `/tmp/kopete-0.10.1/kopete'
make: *** [check-recursive] Fehler 1


can I "make install" though?

Teuniz

Beginner

  • "Teuniz" started this thread

Posts: 5

Location: Katwijk, The Netherlands

  • Send private message

5

Sunday, May 29th 2005, 9:04pm

The normal procedure to compile a program is:

./configure
make
make install (as root)

Usually these three command's should be enough.
I never did a "make check", I don't know what it is, I'm not an experienced programmer...

6

Sunday, May 29th 2005, 9:41pm

Okay.. Thanks.. seems to work without "make check" :)
Thanks!