Bug 156628

Summary: Kdelibs Makefile assumes GNU rm and fails on OpenSolaris
Product: [Unmaintained] kdelibs Reporter: Moinak Ghosh <moinakg>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Do not use "-v" option in rm. Does not work on non-GNU platforms.

Description Moinak Ghosh 2008-01-25 07:39:11 UTC
Version:            (using KDE 3.5.8)
Installed from:    Compiled From Sources
Compiler:          Gcc 3.4.3 
OS:                Solaris

Kdelibs toplevel makefile assumes that GNU rm is present and uses the "-v" option that is unsupported on OpenSolaris. I do not personally see a reason to use the "-v" option. Suggested patch attached.
Comment 1 Moinak Ghosh 2008-01-25 07:41:09 UTC
Created attachment 23266 [details]
Do not use "-v" option in rm. Does not work on non-GNU platforms.
Comment 2 David Faure 2008-01-28 16:07:17 UTC
Hmm OK I'll commit this (to admin/Doxyfile.am which seems to be the source of the generated code you patched) but it's only used for the generation of the api documentation; surely you don't need to run this in order to compile kdelibs?
Comment 3 David Faure 2008-01-28 16:07:52 UTC
SVN commit 767697 by dfaure:

-v is a non-standard option
BUG: 156628


 M  +2 -2      Doxyfile.am  


WebSVN link: http://websvn.kde.org/?view=rev&revision=767697
Comment 4 Moinak Ghosh 2008-01-30 06:43:50 UTC
Yes that is not necessary to build kdelibs. However I was preparing a spec file to generate packages including an api docs package optionally.