[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: kpresenter compile problems
From:       Laurent Montel <montel () kde ! org>
Date:       2004-05-18 11:38:59
Message-ID: 200405181338.59553.montel () kde ! org
[Download RAW message or body]

On Tuesday 18 May 2004 12:35, Thorsten Zachmann wrote:
> On Tuesday 18 May 2004 12:01, Laurent Montel wrote:
> > On Tuesday 18 May 2004 11:28, Thorsten Zachmann wrote:
> > > Hello Laurent,
> > >
> > > kpresenter no longer compiles if kpsell2 is not installed,
> > >
> > > can you please fix this.
> > >
> > > Thorsten
> >
> > Could you explain me problem please.
> > I have kspell2 installed.
> > Could you send me error please.
> > Regards.
>
> kpresenter_view did not compile. I could fix this problem with the
> following patch ( don't know if it is ok :-) ) :

Good patch for me.
Commit please.
Regards.


> Index: kpresenter_view.h
> ===================================================================
> RCS file: /home/kde/koffice/kpresenter/kpresenter_view.h,v
> retrieving revision 1.332
> diff -u -3 -p -r1.332 kpresenter_view.h
> --- kpresenter_view.h 18 May 2004 08:52:18 -0000  1.332
> +++ kpresenter_view.h 18 May 2004 10:33:57 -0000
> @@ -165,7 +165,9 @@ public:
>      /**
>       * Returns the KPresenter global KSpell2 Broker object.
>       */
> +#ifdef HAVE_LIBKSPELL2
>      KSpell2::Broker *broker() const;
> +#endif
>
> Index: kpresenter_view.cc
> ===================================================================
> RCS file: /home/kde/koffice/kpresenter/kpresenter_view.cc,v
> retrieving revision 1.1026
> diff -u -3 -p -r1.1026 kpresenter_view.cc
> --- kpresenter_view.cc  18 May 2004 08:52:18 -0000  1.1026
> +++ kpresenter_view.cc  18 May 2004 10:33:57 -0000
>
> +#ifdef HAVE_LIBKSPELL2
>  Broker *KPresenterView::broker() const
>  {
>      return m_broker;
>  }
> +#endif
>
> But than I get the following errors during the compile of
> kpresenter_dlg_config.cc
>
> make[1]: Entering directory `/home/tz/develop/KDE3/CVS/koffice/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/opt/kde3/include/arts
> -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -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 -fno-builtin -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
> kpresenter_dlg_config.lo -MD -MP -MF ".deps/kpresenter_dlg_config.Tpo" \
>   -c -o kpresenter_dlg_config.lo `test -f 'kpresenter_dlg_config.cc' ||
> echo './'`kpresenter_dlg_config.cc; \
> then mv -f ".deps/kpresenter_dlg_config.Tpo"
> ".deps/kpresenter_dlg_config.Plo"; \
> else rm -f ".deps/kpresenter_dlg_config.Tpo"; exit 1; \
> fi
> kpresenter_dlg_config.cc: In constructor `
>    configureInterfacePage::configureInterfacePage(KPresenterView*,
> QWidget*, char*)':
> kpresenter_dlg_config.cc:233: warning: `__comp_ctor' is deprecated
> (declared at
>    /opt/kde3/include/knuminput.h:453)
> kpresenter_dlg_config.cc: In constructor `
>    configureSpellPage::configureSpellPage(KPresenterView*, QWidget*,
> char*)': kpresenter_dlg_config.cc:370: error: parse error before `(' token
> kpresenter_dlg_config.cc:371: error: `setBackgroundCheckingButtonShown'
>    undeclared (first use this function)
> kpresenter_dlg_config.cc:371: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> kpresenter_dlg_config.cc: In member function `void
> configureSpellPage::apply() ':
> kpresenter_dlg_config.cc:378: error: `save' undeclared (first use this
>    function)
> kpresenter_dlg_config.cc:382: error: `broker' undeclared (first use this
>    function)
> make[1]: *** [kpresenter_dlg_config.lo] Error 1
> make[1]: Leaving directory `/home/tz/develop/KDE3/CVS/koffice/kpresenter'
> make: *** [all-recursive] Error 1
>
> Hope this helps
>
> Thorsten
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic