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. Ca= n > 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/kd= e > -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: #warnin= g > 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 header for the he= ader > for C++ includes, or instead of the deprecated header > . 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 doub= le=20 fixes the problem. (Otherwsie look in KOffice 1.2 how it was solved for t= he=20 each problem.) Otherwise said: KOffice 1.1.1 for KDE 3 is only made for gcc 2.95.x (or t= he=20 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 k= ugar > (I do not use these apps) to the DO_NOT_COMPILE make variable everywher= e 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/st= ore > -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/includ= e > -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptio= ns > -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/ksprea= d' > 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=3D"kspread" fails f= or the=20 filters. (The same problem happens also for Karbon in KOffice 1.2 or CVS=20 HEAD.) > > > Attempt #3: > Finally, I purged by hand any reference to kspread, kchart, kivio and k= ugar > from all makefiles and configuration files in the distribution tree. Th= is > time make and make install ended OK. > However, all of the Koffice apps abort immediately with the error messa= ge > > 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 applicatio= n in=20 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 attachme= nt. > 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=20 attachment. (Well, that is at least what my web mail told me. I have not=20 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