Bug 76311 - kpresenter does not compile
Summary: kpresenter does not compile
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrastage
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 22:34 UTC by Andreas Boland
Modified: 2004-02-28 11:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Boland 2004-02-27 22:34:20 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 3.3 (Debian Sid Version) 
OS:          Linux

The configure script continues with no error or warning, but when I try to compile koffice 1.3 
with "make" the compiler stop at kpresenter with the following error:

make[3]: Entering directory `/home/andreas/koffice-1.3/kpresenter'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/kofficeui -I../lib/kofficeui -I../lib/kofficecore -I../lib/kofficecore -I../lib/store -I../lib/store -I../lib/kwmf -I../lib/kwmf -I../lib/kotext -I../lib/kotext -I../lib/kospell -I/usr/local/kde/include/arts -I/usr/local/kde/include -I/usr/local/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -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 kpresenter_sound_player.lo -MD -MP -MF ".deps/kpresenter_sound_player.Tpo" \
  -c -o kpresenter_sound_player.lo `test -f 'kpresenter_sound_player.cc' || echo './'`kpresenter_sound_player.cc; \
then mv -f ".deps/kpresenter_sound_player.Tpo" ".deps/kpresenter_sound_player.Plo"; \
else rm -f ".deps/kpresenter_sound_player.Tpo"; exit 1; \
fi
kpresenter_sound_player.cc:30:30: kartsdispatcher.h: No such file or directory
kpresenter_sound_player.cc:31:33: kplayobjectfactory.h: No such file or directory
kpresenter_sound_player.cc:46: error: 'KArtsDispatcher' is used as a type, but
   is not defined as a type.
kpresenter_sound_player.cc:48: error: 'KPlayObjectFactory' is used as a type,
   but is not defined as a type.
kpresenter_sound_player.cc:49: error: 'KPlayObject' is used as a type, but is
   not defined as a type.
kpresenter_sound_player.cc: In constructor `
   KPresenterSoundPlayer::KPresenterSoundPlayer(const QString&, QObject*, const
   char*)':
kpresenter_sound_player.cc:58: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_factory'
kpresenter_sound_player.cc:58: error: parse error before `(' token
kpresenter_sound_player.cc:59: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc: In destructor `virtual
   KPresenterSoundPlayer::~KPresenterSoundPlayer()':
kpresenter_sound_player.cc:64: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc:65: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_factory'
kpresenter_sound_player.cc: In member function `void
   KPresenterSoundPlayer::stop()':
kpresenter_sound_player.cc:77: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc:78: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc: In member function `void
   KPresenterSoundPlayer::play()':
kpresenter_sound_player.cc:86: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc:88: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc:88: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_factory'
kpresenter_sound_player.cc:89: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc:90: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
kpresenter_sound_player.cc:93: error: 'class KPresenterSoundPlayerPrivate' has
   no member named 'm_player'
make[3]: *** [kpresenter_sound_player.lo] Error 1
make[3]: Leaving directory `/home/andreas/koffice-1.3/kpresenter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andreas/koffice-1.3/kpresenter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andreas/koffice-1.3'
make: *** [all] Error 2


My system:

Debian Sid
QT-3.3.0
kde-3.2
gcc-3.3
Comment 1 Nicolas Goutte 2004-02-27 23:00:21 UTC
You seem to missing arts (or its devel package if you have not compiled arts yourself.)

Have a nice day!
Comment 2 Andreas Boland 2004-02-27 23:04:12 UTC
Hi,
I've compiled arts-1.2.0 before (before i had installed arts, the configure script hangs with an error that i+ve not installed arts). should i compile kdelibs new to include arts?
or do I need an special option for compiling arts? 
Comment 3 Nicolas Goutte 2004-02-27 23:27:20 UTC
On Friday 27 February 2004 23:04, Andreas Boland wrote:
(...)
> Hi,
> I've compiled arts-1.2.0 before (before i had installed arts, the configure
> script hangs with an error that i+ve not installed arts). should i compile
> kdelibs new to include arts? or do I need an special option for compiling
> arts?

I suppose that you have to compile kdelibs with arts. Otherwise the KDE 
support for arts will not be compiled, as it is in kdelibs. (The arts module 
try to be neutral so that it can be used in GNOME (or elsewhere) too.)

Have a nice day!

Comment 4 Andreas Boland 2004-02-27 23:38:58 UTC
I've now compiled kdelibs again but koffice gives the same error :( . should I maybe delete the debian packages (of arts) before compiling?, because the file kpresenter_sound_player.cc can't include two header files.

kpresenter_sound_player.cc:30:30: kartsdispatcher.h: No such file or directory 
kpresenter_sound_player.cc:31:33: kplayobjectfactory.h: No such file or directory

thanks a lot

Bone
Comment 5 Nicolas Goutte 2004-02-27 23:50:50 UTC
On Friday 27 February 2004 23:38, Andreas Boland wrote:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=76311
>
>
>
>
> ------- Additional Comments From Bone13 gmx de  2004-02-27 23:38 -------
> I've now compiled kdelibs again but koffice gives the same error :( .
> should I maybe delete the debian packages (of arts) before compiling?,
> because the file kpresenter_sound_player.cc can't include two header files.

Have you installed the developement package of arts? Does kdelibs has 
recognised arts or was it compiled without arts support?

>
> kpresenter_sound_player.cc:30:30: kartsdispatcher.h: No such file or
> directory kpresenter_sound_player.cc:31:33: kplayobjectfactory.h: No such
> file or directory

Both are include files of arts.

>
> thanks a lot
>
> Bone

Have a nice day!

Comment 6 Andreas Boland 2004-02-28 00:10:37 UTC
i'm currently compiling kdelibs again. the kdelibs package does not check for arts, so I think kdelibs is compiled without arts. but i'm not sure so i'm compiling kdelibs with an installed arts. the arts development package was not installed, but thats doestn matter now. :)

thank you for supporting me at this time :>
Comment 7 Andreas Boland 2004-02-28 11:13:19 UTC
Ok i've now solved the problem with compiling kdelibs new with arts support.

Thank you!
I liked KDE but now i like the kde bug system too :)