https://bugzilla.novell.com/show_bug.cgi?id=487480
Summary: KOffice Applications not loaded after koffice1.6.3
package install and unable to compile due to error.
Gentoo Patch included in "Details"
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: PowerPC-64
OS/Version: openSUSE 11.1
Status: NEW
Severity: Major
Priority: P5 - None
Component: KDE4 Applications
AssignedTo: kde-maintainers@suse.de
ReportedBy: amrphoto1@gmail.com
QAContact: qa@suse.de
Found By: ---
Created an attachment (id=281022)
--> (https://bugzilla.novell.com/attachment.cgi?id=281022)
Existing Gentoo Patch
User-Agent: Mozilla/5.0 (X11; U; Linux ppc64; en-US; rv:1.9.0.7)
Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7
KOffice Applications not available after install of koffice 1.6.3 package in
YaST2.
Attempted to compile from source: received this error during make:
then mv -f ".deps/kis_perspective_math.Tpo" ".deps/kis_perspective_math.Plo";
else rm -f ".deps/kis_perspective_math.Tpo"; exit 1; fi
kis_perspective_math.cpp:27:22: error: iostream.h: No such file or directory
kis_perspective_math.cpp:60: warning: friend declaration 'math::vector<ElType>
math::operator*(ElType, math::vector<ElType>&)' declares a non-template
function
kis_perspective_math.cpp:60: note: (if this is not what you intended, make sure
the function template has already been declared and add <> after the function
name here)
kis_perspective_math.cpp:61: warning: friend declaration 'math::vector<ElType>
math::operator*(math::vector<ElType>&, ElType)' declares a non-template
function
kis_perspective_math.cpp:62: error: ISO C++ forbids declaration of 'ostream'
with no type
kis_perspective_math.cpp:62: error: 'ostream' is neither function nor member
function; cannot be declared friend
kis_perspective_math.cpp:62: error: expected ';' before '&' token
kis_perspective_math.cpp: In member function 'void
math::vector<ElType>::rprint() const':
kis_perspective_math.cpp:132: error: 'cout' was not declared in this scope
kis_perspective_math.cpp: At global scope:
kis_perspective_math.cpp:167: error: expected constructor, destructor, or type
conversion before '&' token
kis_perspective_math.cpp:188: warning: friend declaration 'math::matrix<ElType>
math::operator*(const ElType&, const math::matrix<ElType>&)' declares a
non-template function
kis_perspective_math.cpp:189: warning: friend declaration 'math::matrix<ElType>
math::operator*(const math::matrix<ElType>&, const ElType&)' declares a
non-template function
kis_perspective_math.cpp:195: error: ISO C++ forbids declaration of 'ostream'
with no type
kis_perspective_math.cpp:195: error: 'ostream' is neither function nor member
function; cannot be declared friend
kis_perspective_math.cpp:195: error: expected ';' before '&' token
kis_perspective_math.cpp:196: warning: friend declaration 'void
math::ludcmp(math::matrix<ElType>&, math::vector<int>&,double&)' declares a
non-template function
kis_perspective_math.cpp:197: warning: friend declaration 'void
math::lubksb(math::matrix<ElType>&, math::vector<int>&,math::vector<ElType>&)'
declares a non-template function
kis_perspective_math.cpp:360: error: expected constructor, destructor, or type
conversion before '&' token
kis_perspective_math.cpp: In function 'void math::ludcmp(math::matrix<ElType>&,
math::vector<int>&, double&)':
kis_perspective_math.cpp:384: error: 'cerr' was not declared in this scope
make[4]: *** [kis_perspective_math.lo] Error 1
make[4]: Leaving directory
`/home/aaron/Documents/koffice/koffice-1.6.3/krita/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/aaron/Documents/koffice/koffice-1.6.3/krita/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aaron/Documents/koffice/koffice-1.6.3/krita'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/Documents/koffice/koffice-1.6.3'
make: *** [all] Error 2
Gentoo patch available for similar error--here is the source:
diff -urNa koffice-1.6.3.orig/filters/kpresenter/powerpoint/libppt/pole.cpp
koffice-1.6.3/filters/kpresenter/powerpoint/libppt/pole.cpp
--- koffice-1.6.3.orig/filters/kpresenter/powerpoint/libppt/pole.cpp
2007-05-31 01:38:58.000000000 +0400
+++ koffice-1.6.3/filters/kpresenter/powerpoint/libppt/pole.cpp 2008-11-21
00:57:54.000000000 +0300
@@ -26,6 +26,8 @@
THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include