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

List:       koffice
Subject:    Re: RE: Re: Kontour/Kpresenter 1.1->1.2 migration (a desperate cry for help...)
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-11-24 22:49:53
[Download RAW message or body]

On Monday 25 November 2002 04:44, Tal Alexander wrote:
> Hi,
>
> In order to regain kontour capability under RH8.0 and KDE 3.0.5,  I
> unloaded Koffice 1.2 and tried compiling koffice-1.1.1 from
> koffice-1.1.1-kde3.tar.bz. I made 3 attempts to compile. All failed. Can
> anyone advise?
>
> Attempt #1:
> Basic procedure: ./configure; make; make install
>
> This failed with the following error message
>
> 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/interfaces -I../lib/koscript
> -I../lib/koscript -I../interfaces -I../kchart/kdchart -I/usr/include/kde
> -I/usr/lib/qt3-gcc3.2/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
> -D_REENTRANT -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -c kspread_interpreter.cc  -fPIC -DPIC -o
> .libs/kspread_interpreter.o
> In file included from /usr/include/c++/3.2/backward/iostream.h:31,
>                  from kspread_doc.h:43,
>                  from kspread_interpreter.cc:3:
> /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
> This file includes at least one deprecated or antiquated header. Please
> consider using one of the 32 headers found in section 17.4.1.2 of the C++
> standard. Examples include substituting the <X> header for the <X.h> header
> for C++ includes, or <sstream> instead of the deprecated header
> <strstream.h>. To disable this warning use -Wno-deprecated.
> kspread_interpreter.cc: In function `bool kspreadfunc_roundup(KSContext&)':
> kspread_interpreter.cc:2550: call of overloaded `pow(int, int&)' is
(skipping a few cmath warnings)
> make[3]: Leaving directory `/usr/local/src/koffice-1.1.1/kspread'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/koffice-1.1.1/kspread'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/koffice-1.1.1'
> make: *** [all-recursive-am] Error 2

The cmath warnings are due to gcc 3.2. Mostly forcing a parameter to double 
fixes the problem. (Otherwsie look in KOffice 1.2 how it was solved for the 
each problem.)

Otherwise said: KOffice 1.1.1 for KDE 3 is only made for gcc 2.95.x (or the 
inofficial gcc 2.96.x)

>
> Attempt #2:
> I proceeded on the hypothesis that something is wrong specifically in
> kspread. I tried to recompile after adding kspread, kchart, kivio and kugar
> (I do not use these apps) to the DO_NOT_COMPILE make variable everywhere I
> could find it. This also failed, with the error message
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../kspread
> -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/kscript
> -I../../../lib/koscript -I/usr/include/kde -I/usr/lib/qt3-gcc3.2/include
> -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
> -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c
> libcsvimport_la_meta_unload.cc  -fPIC -DPIC -o
> .libs/libcsvimport_la_meta_unload.o
> make[4]: *** No rule to make target `../../../kspread/libkspreadpart.la',
> needed by `libcsvimport.la.closure'.  Stop.
> make[4]: Leaving directory
> `/usr/local/src/koffice-1.1.1/filters/kspread/csv' make[3]: ***
> [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/koffice-1.1.1/filters/kspread'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/koffice-1.1.1/filters'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/koffice-1.1.1'
> make: *** [all] Error 2

Yes, KSpread's filter need KSpread. So DO_NOT_COMPILE="kspread" fails for the 
filters. (The same problem happens also for Karbon in KOffice 1.2 or CVS 
HEAD.)

>
>
> Attempt #3:
> Finally, I purged by hand any reference to kspread, kchart, kivio and kugar
> from all makefiles and configuration files in the distribution tree. This
> time make and make install ended OK.
> However, all of the Koffice apps abort immediately with the error message
>
> Mutex destroy failure: Device or resource busy
>

Run: (if possible without KDE running)
kbuildsycoca

Verify also that you have no .desktop file for the problematic application in 
your $KDEHOME (including its sub-directories.)

> Thanks in advance for the input,
>
> Tal
>
> PS
> Apologies for my last email to the list, which included a ~1Mb attachment.
> I did not realize that attachments appear in the message body when
> displayed on the list.

I do not understand what you are writing here. The attachment came as 
attachment. (Well, that is at least what my web mail told me. I have not 
downloaded this message into KMail.)

Have a nice day/evening/night!
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

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