Bug 145752

Summary: Compile error on Solaris 8 - kdebase/workspace/lib/kworkspace.cpp uses setenv which is not available on Solaris
Product: [Applications] kappfinder Reporter: Steve Evans <stevee>
Component: generalAssignee: Matthias Hoelzer-Kluepfel <hoelzer>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Attachments: Include <kdefakes.h> so setenv is defined on Solaris

Description Steve Evans 2007-05-21 18:01:22 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

(This isn't really in kappfinder. Unfortunately there is no application called workspace on bugs.kde.org, so I picked the thing that was built just before workspace.)

I get this compile error on Solaris:
[ 43%] Building CXX object workspace/lib/CMakeFiles/kworkspace.dir/kworkspace.o
/cad4/stevee/kde-svn/kdebase/workspace/lib/kworkspace.cpp: In function `void KWorkSpace::propagateSessionManager()':
/cad4/stevee/kde-svn/kdebase/workspace/lib/kworkspace.cpp:151: error: `::setenv' has not been declared

This is fixed by including <config.h> and <kdefakes.h>
Comment 1 Steve Evans 2007-05-21 18:03:52 UTC
Created attachment 20657 [details]
Include <kdefakes.h> so setenv is defined on Solaris
Comment 2 Pino Toscano 2007-08-01 00:49:19 UTC

*** This bug has been marked as a duplicate of 147080 ***