Bug 145752 - Compile error on Solaris 8 - kdebase/workspace/lib/kworkspace.cpp uses setenv which is not available on Solaris
Summary: Compile error on Solaris 8 - kdebase/workspace/lib/kworkspace.cpp uses setenv...
Status: RESOLVED DUPLICATE of bug 147080
Alias: None
Product: kappfinder
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Matthias Hoelzer-Kluepfel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 18:01 UTC by Steve Evans
Modified: 2007-08-01 00:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Include <kdefakes.h> so setenv is defined on Solaris (437 bytes, patch)
2007-05-21 18:03 UTC, Steve Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***